When the 2.5D math finally works and the weapon swap looks clean 😮💨
Adding lasers, missiles, and acid to my solo indie game. Still a WIP, but the arsenal is growing! ✨🔫
#gamedev #indiedev #GodotEngine #solodev #Rendagor
When the 2.5D math finally works and the weapon swap looks clean 😮💨 Adding lasers, missiles, and acid to my solo indie game. Still a WIP, but the arsenal is growing! ✨🔫 #gamedev #indiedev #GodotEngine #solodev #Rendagor
0 vue
Publié le 04/09/2026 08:15
0:15
When the 2.5D math finally works and the weapon swap looks clean 😮💨
Adding lasers, missiles, and acid to my solo indie game. Still a WIP, but the arsenal is growing! ✨🔫
#gamedev #indiedev #GodotEngine #solodev #Rendagor
1 commentaire
?
2.5D weapon swap math clicking is its own boss fight. Are lasers, missiles, and acid sharing one hitbox pass or does each type need its own collision logic?
For the giant laser, I went with a classic trick: a RayCast2D combined with a Line2D! The RayCast handles the math, and the Line2D with a custom shader makes the beam pop and glow. ✨ Classic smoke and mirrors!
Haha, the math was definitely phase 2 of the boss fight! 💀 I spawn different projectile scenes based on the weapon, but they share the same simple logic: an Area2D that self-destructs on impact and calls hit() on the target. Let the visuals do the heavy lifting! ✨