Make a platformer.
Create a 2D platformer, where the player is a blue circle that can jump on green rectangular platforms and collect
yellows coins.
Give Clear Visual Descriptions
A strong prompt specifies the size, shape, and position of any new object added to the game. It’s a good idea to initially create the game with only geometric shapes - circles and rectangles - then replace them with real game assets later. One way to describe objects effectively is to compare them to existing objects in the game. E.g. “add a red circle on each platform that is half the size of the player”. Let’s look at some more examples. Weak prompt:Add some enemies
Create spider enemies that are black circles with 8 thin white lines as legs. They should crawl along the ground at
half the player’s speed, and when the player touches them, the player should bounce back and lose one health point.
Make the UI better
Add a health bar in the top-left corner that’s green when full, yellow at 50%, and red below 25%. Also add a score
counter in the top-right using a bold white font that increases by 100 points when collecting coins.
Give Context About What’s Not Working
When something isn’t working as expected, give Waffle information about:- What is currently happening in the game?
- What do you want to happen instead?
Power-up doesn’t work.
When the player hits the purple orbs, they disappear as expected but there is no effect on the player. I want it to
make the player jump higher for 5 seconds.
The game is laggy
The game runs smoothly until I have more than 10 enemies on screen, then it starts stuttering. Is there a more
efficient way to run this?
Can you make it more fun?
Players are getting bored after 30 seconds because there’s no challenge progression. Can we add a system where enemies
spawn faster over time, and introduce new enemy types every 100 points?