Devblog #6: Lightning Swords Are In And They Actually Chain (And I Finally Won Against Godot)


Hey adventurers and code goblins! đź‘‹

Day 6 of actually writing these devblogs instead of just thinking “yeah I’ll do it tomorrow”. Let’s goooo!

Today was supposed to be “knock out all four elemental effects real quick.” Reality: I spent the entire day in a deathmatch with exactly one element (lightning) and the Godot engine itself. I won. Barely.

Behold, the new royal family member that actually works:

  • Lightning swords now chain on hit
    → Jumps to nearby enemies (range + count pulled directly from the weapon resource)
    → Never hits the same enemy twice (no infinite ping-pong)
    → Looks properly electric with Line2D + jitter because that’s apparently all it takes to feel awesome

STILL NEED TO ADD A EFFECT ONTO THE ENEMIES SCENES , SO MORE ASPERITES INCOMING 


War stories from today:

  • Learned the hard way that recursive scene spawning is forbidden black magic in Godot (circular dependency → instant crash)
  • Built a proper LightningChainController that handles the entire sequence like a sane person
  • Discovered Area2D needs two full physics frames to wake up (await get_tree().physics_frame Ă—2 is now tattooed on my soul)
  • Fixed the classic “first enemy takes double damage” bug without duct tape
  • Bolts now look crackly and dangerous instead of sad laser pointers

Frost, Fire, and Poison are still waiting patiently (or impatiently) for their turn tomorrow. No more excuses.

Sprite sheet revamp still hovering at ~70% because lightning was more important than poses today.

Next on the chopping block:

  • Frost (chill + slow stacks)
  • Fire (burn DoT)
  • Poison (stacking DoT)
  • Swapping every fixed damage number in the game for proper min-max random rolls so combat finally feels alive

All four land tomorrow or the prophecy is broken.

That’s it for today! Short, sweet, and full of violence against bad code.

Tomorrow: the elemental trio joins the party or I eat my keyboard.

See you in the next one~ ✌️ (Now back to pretending I know what I’m doing)

Leave a comment

Log in with itch.io to leave a comment.