Your Feed

ibenyourbro completed a lesson.

 thumbnail
Lesson 24: Making a heart collectable

Make a 2D Action Adventure Game with Godot 4

ibenyourbro completed a lesson.

 thumbnail
Lesson 23: Creating a base collectable scene

Make a 2D Action Adventure Game with Godot 4

ibenyourbro completed a lesson.

 thumbnail
Lesson 22: Connecting the HUD to the player

Make a 2D Action Adventure Game with Godot 4

ibenyourbro completed a lesson.

 thumbnail
Lesson 21: Basic UI (hearts)

Make a 2D Action Adventure Game with Godot 4

bipurna completed a lesson.

 thumbnail
Lesson 7: Creating an enemy

Create Your First Godot 4 Game

Spawn state thumbnail

I liked the idea of world building / game design to make sure the player is not hurt doing spawn, but I also like the idea of making sure the player could not be hurt on spawn anyway.

I was able to achieve that with one line of code added.

In you player_spawn.gd

I added this line: host.invulnerability_time_remaining = spawn_time_remaining to the…

ibenyourbro completed a lesson.

 thumbnail
Lesson 20: Spawn state

Make a 2D Action Adventure Game with Godot 4

pullexercise_is_nightmare completed a lesson.

 thumbnail
Lesson 2: Moving our player

Make a 2D Action Adventure Game with Godot 4

ibenyourbro completed a lesson.

 thumbnail
Lesson 19: Lookahead camera

Make a 2D Action Adventure Game with Godot 4

pota_studios completed a lesson.

 thumbnail
Lesson 18: Adding collision avoidance

Make a 2D Tower Defense Game with Godot 4

pota_studios completed a lesson.

 thumbnail
Lesson 17: Updating the spawner

Make a 2D Tower Defense Game with Godot 4

ibenyourbro completed a lesson.

 thumbnail
Lesson 18: Coyote time, acceleration, and variable jump height

Make a 2D Action Adventure Game with Godot 4

JTW789 completed a lesson.

 thumbnail
Lesson 9: Adding player states

Make a 2D Action Adventure Game with Godot 4

ibenyourbro completed a lesson.

 thumbnail
Lesson 17: Player knockback animation & state

Make a 2D Action Adventure Game with Godot 4

Player knockback animation & state thumbnail

If you ever got tired of copy and pasting your state script over to each state node. You can create your own templates that you can select from when making a new script.

Here is the link to the docs (4.3): https://docs.godotengine.org/en/stable/tutorials/scripting/creating_script_templates.html

What i did was a project defined template, with this …

JTW789 completed a lesson.

 thumbnail
Lesson 8: Creating a state machine

Make a 2D Action Adventure Game with Godot 4

ibenyourbro completed a lesson.

 thumbnail
Lesson 16: Player knockback code

Make a 2D Action Adventure Game with Godot 4

JTW789 completed a lesson.

 thumbnail
Lesson 7: Run & jump sound effects

Make a 2D Action Adventure Game with Godot 4

ibenyourbro completed a lesson.

 thumbnail
Lesson 15: Player invulnerability

Make a 2D Action Adventure Game with Godot 4

akatoll completed a lesson.

 thumbnail
Lesson 11: Exporting your game and wrapping up

Create Your First Godot 4 Game

akatoll completed a lesson.

 thumbnail
Lesson 10: Adding the final touches

Create Your First Godot 4 Game

akatoll completed a lesson.

 thumbnail
Lesson 9: Creating the player projectile

Create Your First Godot 4 Game

akatoll completed a lesson.

 thumbnail
Lesson 8: Handling player death

Create Your First Godot 4 Game

pota_studios completed a lesson.

 thumbnail
Lesson 16: Using autotiling with terrains

Make a 2D Tower Defense Game with Godot 4

akatoll completed a lesson.

 thumbnail
Lesson 7: Creating an enemy

Create Your First Godot 4 Game