Here’s a simple way to add collision-enabled land in your 2D game without using a tilemap!
Implemented in Godot version 4.0.2.stable
Check out the sample project and source code here:
- Base sample is here: github.com/codernunk/godot4-f...
- Completed sample is here: github.com/codernunk/godot4-f...
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
To get more personalized help from me, join as a channel member:
/ @codernunk
My platformer, Flick! is now open source! Check out the code here:
github.com/codernunk/flick
Check out my website for written tutorials!
codernunk.com/
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Video Chapters:
- Intro: 00:00
- High Level: 00:11
- Create the Land Scene: 00:31
- Add an Outline to the Land: 02:12
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Sources:
Galaxy background footage is from Adobe Stock
Node images are just screenshots from the Godot editor
lpc.opengameart.org/sites/def...
pixabay.com/photos/meeting-bu...
freepngimg.com/thumb/youtube/...
#godot #godot4 #godotengine #gdscript #gamedev
Негізгі бет Тәжірибелік нұсқаулар және стиль How to Make 2D Platformer Levels WITHOUT Tilemaps
Пікірлер: 12