Skip to main content
Coding Quests
Guild Hall QuestIntermediate
First lesson free • No account needed

Traps & Hazards

Quest 6 of 8 on the Your First Game path → a finished game

Danger is what makes a platformer worth playing. You learn one shared trap contract (every trap is an Area2D on the player's collision mask that kills, launches, or carries) and then build the game's four hazards as drag-anywhere scenes: a static spike, a patrolling bat, a carrying moving platform, and a bump-from-below ? block that drops a gem.

4

Lessons

600

XP Reward

Intermediate

Difficulty

No videos to zone out to. You write the code yourself in the browser, and Code Checks show what your code passed as you go.

One shared trap contract (die / launch / carry)
A patrolling bat that kills on contact
A moving platform that carries the player
A Mario-style ? block that drops a gem
30-45 min 4 lessons Godot 4.x

Final result: your reusable traps, dropped into a real level

Start the first 1 lesson free. Membership unlocks the other 3, plus every other quest and campaign.

Start with a 7-day free trial, then $25/month. Cancel anytime.

Your Progress

0%Complete

0 of 4 lessons completed

Quest Details
Est. time
30-45 min
Lessons
4
XP reward
600 XP
Difficulty
Intermediate
Access
1 free, then Guild Hall

Skills You'll Walk Away With

The Trap Contract

Tween Patrols

Carrying Platforms

Bump-From-Below Blocks

Quest Lessons

4 lessons · 1 free

Is This Quest For You?

Perfect for you if:

  • You finished the player and want to fill your levels with danger
  • You want reusable trap scenes you can drag anywhere
  • You like understanding one pattern, then reusing it
  • You want hazards that interact with the player cleanly

Not for you if:

  • You haven't built the player yet (start with Move & Jump)
  • You want a finished game with no building
  • You're looking for 3D or top-down hazards
  • You want enemy AI rather than traps (that's its own quest)

Common Questions

Your Next Build Starts Here

Ready to start this quest?

Danger is what makes a platformer worth playing. You learn one shared trap contract (every trap is an Area2D on the player's collision mask that kills, launches, or carries) and then build the game's four hazards as drag-anywhere scenes: a static spike, a patrolling bat, a carrying moving platform, and a bump-from-below ? block that drops a gem.

Build real Godot systems, one lesson at a time