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 ·
28 Sep

For this preview for Lost Echo's. Testing out adding in additional animations while the dog is searching.

#indiegame #indiedev #gamedev

Reply on Twitter 2104677537066394103 Retweet on Twitter 2104677537066394103 1 Like on Twitter 2104677537066394103 10 X 2104677537066394103
zecona

zecona

Verified account @zecona ·
25 Sep

This week for Lost Echo's. Testing out adding a bluff to the Dog's behavior depending on the distance to the player.

#indiegame #indiedev #gamedev

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

zecona

Verified account @zecona ·
23 Sep

For this update for Lost Echo's, the dog will charge and lunge to attack. You can use a wrench to defend yourself.

#indiegame #indiedev #gamedev

Reply on Twitter 2102865588389613690 Retweet on Twitter 2102865588389613690 1 Like on Twitter 2102865588389613690 3 X 2102865588389613690
zecona

zecona

Verified account @zecona ·
21 Sep

For this update for Lost Echo's the Dog will catch up to the player if the path is blocked.

#indiegame #indiedev #gamedev

Reply on Twitter 2102140818727293368 Retweet on Twitter 2102140818727293368 1 Like on Twitter 2102140818727293368 3 X 2102140818727293368

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