now rather than charging automatically the flashlight has a small crank that the player has to turn by moving the mouse, the faster the player moves the mouse the faster the crank will turn and the faster the flashlight will charge.
added ambient noise to the forest
added the sounds of the players footsteps and running
added a click when turning on and off the flashlight
I made a 2d Platformer in python using the pygame module/library (i don't really know what the word is)
the most difficult part was player movement and collision especially because i was using pygame, pygame has almost no tools built in that are standard with other game engines like Godot or unity. The main reason i chose pygame for this was because it was a little farther into my comfort zone because i love to code in python and dont have as much experience in other languages or game engines. I also really enjoyed the fact that i have to do allot of things from pygame manually it shows me how complicated things actually are and helps me learn how they work
I am really proud of the level creation and level editor system i really like the level editor and i think its one of my favirote things ive ever coded in python even if i got a little help with ai
This game is not quite intending to be a standalone game so i encourage people to look at he game and mod it how they want to use it as a base for other projects im not the best at level design so id love to see if other people want to make a level as long as the level is named in sequence as level1, level2, etc the game will load it just fine I hope whoever plays or modifies this code has fun!