Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Trying to work with common events

lom

Member

Here is what I am trying to accomplish:

Player has four out of battle abilities he can use to solve puzzles and change the behavior of enemies (there are no random battles in this game, enemies are walking events who upon touching begin battle, and upon completion erase event)

Telekinesis: activates a common event that throws a switch instructing all interactive "objects" in room to behave like they are being affected by telekinesis.

Slow Time: Slow the movement of events and the background music by 50%
Freeze Time: All events change to "fixed position" BGM stopics
Accelerate Time: Event movement increases 50% and BGM speeds up


The way i have it set up is this:

the skills trigger a common event, which triggers another paralell process common even that runs once a switch is activated, waits 30 seconds and then turns the switch off. this same switch, while on, changes the behavior of the enemy/events:

each walking enemy/event has four pages, each triggered by a switch:

slow time/freeze time/speed time/no switch activated

under no switch activated they walk at normal speed towards the player and begin battle upon touch

under the others, they behave accordingly. the problem im running into is that upon activating the skill, the enemies do not seem to alter their behavior, nor does it play the animation or sound effect i requested for the skill. i even tried making it so the enemy changed color once i turned the switch on so id know if it worked, and the enemy didnt change color either. what am i doing wrong?
 
if you have the pages in this order:

slow time/freeze time/speed time/no switch activated

change them to

no switch activated/slow time/freeze time/speed time

pages get processed from the right (highest page # first)
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top