Day 3: Dodging Swords and Juggling Item Logic!


Day 3 is complete, and I'm really proud of this one! I created "Moonlight Dodge," a survival/avoider game with a cool nighttime theme.
The Goal: My main goal today was to move beyond single-interaction games. I wanted to create a game where different objects have different effects on the player, forcing them to make quick decisions.
What I Learned: The biggest challenge and learning experience was handling the collision logic. I created different tags for each item ("Sword", "Coin", "HealthPotion", etc.). In my player's collision script, I used a series of if/else if statements to check the tag of the object the player touched and then apply the correct effect—damaging health, increasing health, or changing the score. This was a great exercise in managing more complex game logic. I also spent some time on the user experience, creating a start screen that explains all the items so the player knows what to do right away.
This felt like a big step up in terms of game design. Let me know what you think!

Files

day3.zip Play in browser
37 days ago

Leave a comment

Log in with itch.io to leave a comment.