Snake
Classic Direction Game
Guide a growing snake to eat food. Learn about direction variables, arrays to store segments, and spawning objects. A step up from Pong!
Guide a growing snake to eat food. Learn about direction variables, arrays to store segments, and spawning objects. A step up from Pong!
Each step adds one feature. Write the code, watch it come alive in the canvas, then make it your own.
Keep the GDevelop cheatsheet handy
Events, conditions and actions in one place - use it beside this workshop.
Add condition: Player is in collision with CoinAdd a Sprite object and name it "Coin"Add action: Delete the Coin objectPlace Coin instances on the sceneAdd action: Change the variable Score, add 1Build it in the browser first
Try this project step by step right here: write the code, watch it run, then download it and keep building in your engine.