Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Play Screen Hero Movements | Developing an Adventure Game Catch the Carrot
Game Development with Cursor

Play Screen Hero Movements

Swipe to show menu

You'll build a lively field with lanes, a cute rabbit at the bottom, and a glowing carrot at the top. Your first goal is to reach it.

Here's what this first version of the play screen should include:

  • A bright, cheerful area split into clear horizontal lanes from bottom to top;
  • Place a rabbit at the bottom center. It moves smoothly with arrow keys and stays inside the field;
  • Add a tiny hop animation while the rabbit is moving;
  • A carrot at the top center with a gentle pulse so it reads as the target;
  • When the rabbit touches the carrot, show "You got the carrot!" briefly, then reset to try again.
Note
Prompt in Cursor

Build the game's play screen. Create a bright, cheerful field with a few clear horizontal lanes from bottom to top. Place a cute rabbit at the bottom center (use a rabbit emoji for now) and a glowing carrot at the top center (use a carrot emoji). The rabbit moves smoothly with the arrow keys and stays inside the field. Add a tiny hop animation while moving to make it feel lively. The carrot should gently pulse so it looks like a goal. When the rabbit reaches the carrot, show a quick "You got the carrot!" message and reset to try again. No enemies yet, just movement and the goal. Keep everything kid-friendly and playful.

question mark

Which of the following best describes the instructions you should follow to build the play screen, according to the prompt?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 2

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Section 3. Chapter 2
some-alt