Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Saves and improved level_select #21

Merged
merged 3 commits into from
Oct 11, 2024
Merged

Added Saves and improved level_select #21

merged 3 commits into from
Oct 11, 2024

Conversation

M4rcu2
Copy link
Collaborator

@M4rcu2 M4rcu2 commented Oct 11, 2024

In this pull, I've:

  • Added a save function, now progress on levels saves between sessions. Can be reset with "r" key
  • Levels have a ranking now, 1 - 3 stars depending on if: level completed, no damage taken and finished within a certain time
  • Players can't go between levels and worlds if they are locked
  • Icons change appreance if unlocked, completed and mastered

Now the game saves progress, the player can move to levels if the previous once are not completed. Returning to the level select screen keeps the position of the player icon.
Okay, this is a big one:

* Added more icons
- Red if not played
- Green if completed
- Gold if gotten allstars
* Can reset game progress
* Saves now work
* Levels can now have their own completion times for a star
@M4rcu2 M4rcu2 self-assigned this Oct 11, 2024
@M4rcu2
Copy link
Collaborator Author

M4rcu2 commented Oct 11, 2024

The conflict is: The game.tscn has had its name changed to level_1.tscn, hence the error.

@rasmussvala rasmussvala self-requested a review October 11, 2024 11:39
Copy link
Owner

@rasmussvala rasmussvala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just fix merge conflict. ;)

@M4rcu2 M4rcu2 merged commit a431845 into dev Oct 11, 2024
@rasmussvala rasmussvala deleted the World-and-level-select branch October 16, 2024 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants