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 51 – Designing the Diagnostics Machine
  • Lost Echo’s Preview 50 – Designing the Experiment Room
  • 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

Archives

  • August 2026 (1)
  • July 2026 (1)
  • 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 Verified account Follow

Writer, Animator, Game Dev, and Internet Nomad

zecona
zecona

zecona

Verified account @zecona ·
14 Aug

This week for Lost Echo's, finished up getting in and out of the Diagnostic machine. Here you can see the animations for sitting in, and how the machine acts after the player returns to the main game.

#indiegame #indiedev #gamedev

Reply on Twitter 2088370080153280849 Retweet on Twitter 2088370080153280849 Like on Twitter 2088370080153280849 10 X 2088370080153280849
zecona

zecona

Verified account @zecona ·
7 Aug

This week for Lost Echo's, finished up the interaction logic for the diagnostics machine, and worked on [redacted]

#indiegame #indiedev #gamedev

Reply on Twitter 2085848466039984431 Retweet on Twitter 2085848466039984431 Like on Twitter 2085848466039984431 4 X 2085848466039984431
zecona

zecona

Verified account @zecona ·
31 Jul

This week for Lost Echo's, finished up the diagnostics machine, and experimented with the lighting. Next week I'll probably finish up the interaction logic, and hooking that up into the animations.

#indiegame #indiedev #gamedev

Reply on Twitter 2083296645018501154 Retweet on Twitter 2083296645018501154 Like on Twitter 2083296645018501154 6 X 2083296645018501154
zecona

zecona

Verified account @zecona ·
24 Jul

This week for Lost Echo's, getting things set back up after moving, and I found time to work on designing the experiment room.
#indiegame #indiedev #gamedev

Reply on Twitter 2080744833400910221 Retweet on Twitter 2080744833400910221 3 Like on Twitter 2080744833400910221 30 X 2080744833400910221

Goodreads

Top Posts & Pages

  • Lost Echo's Preview 51 - Designing the Diagnostics Machine
  • Lost Echo's Preview 50 - Designing the Experiment Room
  • 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

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