For my final project for Godot I made a simple chasing game with two sprites one enemy and player, there is a wall surrounding the layout of the screen where the runnable area is the green grass, there is also lava on the sides from using an area2D with a collision shape, I added smoke sprites to the lava to give it more of a gamey feel. The enemy chases the character but ignores the lava although he is sent to restart once touching lava. The player loses a life when touching lava and is sent to restart position, The enemy takes a life from the player but does not reset the character gets an interval of invincibility which can be changed in the inspector, you choose the player for the enemy to chase in the inspector. There is also a pickup coin that will respawn once and go into a new area for the most part it avoids the lava, once the coin is picked up effects will appear for getting it along with the score going up 10 for the character. My biggest struggle was getting the character to lose a life to the lava along with getting hit by the enemy I realized it was in the wrong collision layer and mask which was preventing them from interacting. I used AI to help me when I was stuck in any parts of my code. I did not organize the files as was supposed to I tried to after I already finished the project but wasn't able to get it working once the files were all organized into different folders so I decided to leave them unorganized but still usable by the grader to see the game for themselves.
-
Notifications
You must be signed in to change notification settings - Fork 0
gitstopher/Assignment_4_Godot
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published