Silicon Abyss
Documenting the application of art through technology.
Silicon Abyss
Navigation
  • Home
  • About Me
    • Twitter
    • Youtube
    • Tumblr
  • Books
    • The War Devil
  • Writing
    • Challenges
  • Animation
    • Spirit Tamer
    • Mico
  • Game Dev
    • General Development
    • Lost Echos
    • Frantic
You are here: Home › Game Dev › Lost Echo’s Preview 47 – Moths reacting to lights

Lost Echo’s Preview 47 – Moths reacting to lights

April 3, 2026 | Filed under: Game Dev, Lost Echos

Lost Echo’s Preview 47

For this weeks preview of Lost Echo’s, I focused on expanding the moth pathing from last week and expanded each of the current rooms, and improving the underlying logic that keeps track of the state of the lights, doors, and player position.

Room Pathing & Workflow Improvements

I started by setting up base paths for each room. I also took some time expanding the GitHub script I mentioned last week to both include batch exports as well as applying modifiers to help speed up the process. This let me:

  • import the paths from the last room I worked on,
  • apply the modifier to deform the curve to match the stations shape,
  • move both the room and the light paths to match the new room,
  • adjust the sizes as needed.
  • Batch export while applying all of the modifiers and global transforms.

This workflow sped things up significantly.

Power, Doors, and Player Tracking Logic

Once that was in place and tested, I spent a lot of time expanding the code to keep proper track of the players position, the state of power per room, and the state of the doors. Most of the logic has actually been there for a while, but it wasn’t properly applied to all of the rooms yet, so spent the time double checking the logic, ensuring it was getting properly updated, and even encountered a few glitches I wasn’t even aware of.

Moth Behavior Updates

After that, I started adding in new behavior checks for the moths. They now look if the lights are on, and change their logic for if they’ll fly down the hallway or swarm the lights depending on if they were powered or not. Then I added in a special script that would track the flashlights position and visibility, and added in a reference to a set of paths. Those paths would dynamically change direction within the Paths manager, and if the conditions for the power, the flashlight was on, and the player was close enough, then it would trigger the moths to swarm the flashlight. Once the lights on the station are turned back on or the flashlight is turned off, then they’ll immediately switch back to their normal behavior.

Next Week’s Goals

Next week, I’d like to focus on finalizing the pathing system, and implement the branching system, so that moths can detect open or closed doors, and fly in and out of rooms from the hallway.

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on Reddit (Opens in new window) Reddit
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr

Like this:

Like Loading…

Did you like this article? Share it with your friends!

Tweet

Written by J. B. Medlin

Follow me on Twitter

Leave a ReplyCancel reply

Newsletter

Sign up for our mailing list.

Recent Posts

  • Lost Echo’s Preview 49 – Wwise Updates & Dreamscape Audio
  • Lost Echo’s Preview 48 – Implementing Branching Paths
  • Lost Echo’s Preview 47 – Moths reacting to lights
  • Lost Echo’s Preview 46 – Hybrid Moth Pathing System
  • Lost Echo’s Preview 45 – Expanding the Console

Archives

  • April 2026 (3)
  • March 2026 (3)
  • October 2025 (1)
  • August 2025 (1)
  • October 2024 (1)
  • January 2021 (1)
  • October 2020 (2)
  • July 2015 (4)

zecona Follow

Writer, Animator, Game Dev, and Internet Nomad

zecona
zecona zecona @zecona ·
17 Apr

This week for Lost Echo's, Mostly focused on updating Wwise, testing geometry on the station, and expanding the footstep handling across dreamscapes.

#indiegame #indiedev #gamedev

Reply on Twitter 2045261019644350544 Retweet on Twitter 2045261019644350544 Like on Twitter 2045261019644350544 5 X 2045261019644350544
zecona zecona @zecona ·
11 Apr

Want the full details on the new moth pathing system and reflection graphics options? I just posted Devlog Preview 48 on covering the whole process:https://zecona.itch.io/lost-echos/devlog/1486151/lost-echos-preview-48-implementing-branching-paths
#indiegame #indiedev #gamedev

Reply on Twitter 2043011196593311900 Retweet on Twitter 2043011196593311900 Like on Twitter 2043011196593311900 X 2043011196593311900
zecona zecona @zecona ·
10 Apr

This week on Lost Echo, I wrapped up the pathing system! Moths can now enter/exit rooms and actively seek lit ones when theirs goes dark.
#indiegame #indiedev #gamedev

Reply on Twitter 2042724306971693154 Retweet on Twitter 2042724306971693154 Like on Twitter 2042724306971693154 5 X 2042724306971693154
zecona zecona @zecona ·
4 Apr

Lost Echo's - Preview 47 - Lost Echos #indiegames via @zecona

Reply on Twitter 2040260113341022674 Retweet on Twitter 2040260113341022674 Like on Twitter 2040260113341022674 3 X 2040260113341022674
Load More

Goodreads

Top Posts & Pages

  • Contact
  • Lost Echo's Preview 49 – Wwise Updates & Dreamscape Audio
  • Lost Echo’s Preview 48 - Implementing Branching Paths
  • Lost Echo's Preview 47 - Moths reacting to lights
  • Lost Echo's Preview 46 - Hybrid Moth Pathing System
  • Lost Echo's Preview 45 - Expanding the Console
  • Privacy Policy
  • Lost Echo's Preview 44 - The Sugar Dynasties
  • Lost Echo's Devlog #2: August Updates
  • Lost Echo's Devlog #1: - First Dev Log

Login

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • http://www.youtube.com/@ZeconaX
  • Facebook
  • X
  • Goodreads
  • Mail
Privacy Policy
Contact

© 2026 Silicon Abyss

Powered by Esplanade Theme and WordPress

%d