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

Tutorial 012 #7

Merged
merged 11 commits into from Mar 15, 2018

Conversation

Projects
None yet
1 participant
@tyler6699
Owner

tyler6699 commented Mar 15, 2018

This update

  • Fixed the chunk system
  • Fixed the Screen Shake
  • Added a method to save the game state (Compressed JSON)
  • Added a method to load the game state
  • Fixed Bird movement after changing chunk system

Tutorial 12 became too big of an update to create a blog post for, what I will do in the future is revisit the chunk system and explain the changes I made, I will create a separate post to go through the saving and loading.

@tyler6699

This comment has been minimized.

Owner

tyler6699 commented on 6b8d1a7 Nov 20, 2017

This commit also adds a new level of split to the chunks, there is now an array of rows of chunks, these are arrays of chunks.Chunks hold arrays of rows of tiles.

tyler6699 added some commits Nov 20, 2017

Fixed concurency issue with entities on Windows. Changed check to see…
… if thread is alive, removed is saving and is loading variables.
The map is now made up of 3x3 chunks that consist of 32x32 tiles. Onl…
…y the middle chunk is currently drawn.

Changes to the Bird class to allow them to move through chunks. Lots of small fixes to allow for the new chunk system. The settings button currently loads entities only.
Added loading of all tiles and entities
Interpolation issue after saving, reverted to old movement of Birds.

@tyler6699 tyler6699 merged commit bb44343 into master Mar 15, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment