Welcome to Week 1 of your Godot game dev journey!
This week, weโll learn how to create a Godot project, build your first scene, and make a player move around using the keyboard. Letโs keep it simple and fun!
- How to set up and navigate the Godot 4.4 interface
- Creating and saving your first scene
- Using nodes like CharacterBody2D, Sprite2D, and CollisionShape2D
- Writing simple movement logic with GDScript
- Fork this repository to your GitHub account.
- Creat a zip for the game folder
- Name the zip file like this:
YourName_RollNo - Go to the
Your Games/folder. Add your zip file to this folder - Push your changes and open a Pull Request.
Youโll build a simple scene where:
- A player character can move around using arrow keys or WASD.
- Create a tilemap for design a small new level using tilemap, to know more about TileMap refer to this article or this video
- create a script for player naming it
Player_rollnumber.gd - ready function executes one time at the start of the scene, process function executes every frame.
- write basic player movement code with jump implementaion(allow double jump and not more than that)
- The movement should feel smooth and responsive.
Try making it funny, stylish, or totally weird โ this is your playground!
- Add two Area2D nodes on the map (some sprite attached to it or your choice).
- When the player enters one, they should be instantly teleported to the second.
- Make it so that when you press the C key, your player changes color.
- Add a few different colors(more than two) that change every time you press C,(change should be in cyclic order)
- Save your scene often (
Ctrl + S) and test frequently. - Keep your player sprite and collision aligned properly.
- And most importantly โ experiment and have fun!
Once you're done, donโt forget to submit your Pull Request so we can see your awesome work!
Happy coding and game dev'ing! ๐