This week’s activity was to create a platformer game using the PowerPoint as a guide to create said game. I followed the steps and had ideas to expand the game by including features such as spikes, attaching the camera to the player and a lives system. Here is the script for the player movement.

Lines of code indicate each movement feature of the player character, like for instance sr.flipx for direction and groundcheck for collision as the player touches the ground.
These are all of my assets, including a folder for the character sprites, tiles and platforms, and items for the player to pick up.
I also made the background look like it takes place in the sky or something.
In the viewport, this is what the rest of the level resembles. Notice the detail in adding bushes to the ground, as they are non-solid and the player will pass through them.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *