Tutorial β how to vibe code a game using Cursor based on my...

based on my experience building my game flyhi.netlify.app
here's how I did it, tips π π§΅
You can also mention if want it in react, this is what I used
For 3D games, I suggest ask to use the @threejs library since it is the best right now for web
Look at what was generated and see what aspect it needs to be improve on
player mechanics β movement controls and interactions
obstacles β behavior and spawning patterns
environment β space background, lighting, and textures
game mechanics β scoring system
If cursor is stuck or you don't understand something that is happening, ask chatgpt for help
switch models and use what is effective, I use sonnet 3.5 and 3.7 interchangeably. if sonnet is stuck I use, gpt 4o
"add a controls guide in the top left of the screen showing the speed and altitude of the aircraft. make the color dark and have green text"
If you are familiar with git, use it to track your changes
This will save you later if AI breaks something
It suggested to use 3D models which I can load into my game. I didn't know this so I did research in chatgpt itself
Just ask cursor to add them to your project
sketchfab.com
When adding models, mention location where you want to put the model
I experienced a model being placed below the surface level or above it, just prompt cursor if you can't see the model. you might need to ask cursor to lift or pull it down depending on where it placed it initially
Everyone gets stuck sometimes but don't give up. Try to use other AI to help you overcome an issue
Create a new property in Google analytics and ask Cursor to add it to your project
Just be mindful of costs if your game becomes really popular so make sure you set spending limits so you don't spend more than your budget
If you find this helpful, please repost
If you want more guides like this or simply see my progress with my game dev, follow me here in X @donvito
