#Need DnD help!
19 messages · Page 1 of 1 (latest)
Well, when I spawn the bomb after 5 seconds it's supposed to do an animation them explode. this is not the case. Everything happens at once.
Hey again, Ry. I'm glad you've made progress! So you've got the actions down now, right? You know how to do the animation, the explosion, etc. You're just off on timing. Have you made use of the alarms like I pointed you towards previously? You're given access to 10 alarm events in a single object! What do you think would happen if you separate the actions themselves (the explosion, the animation, etc) into steps in different alarms and activate them at certain intervals? You'd get a sequence of events. Since you've learned how to do the actions themselves, now you just need to move them into the alarm events and set appropriate timings to start them off!
Next time though, please continue in the same thread you made previously. It helps people understand what you're trying to do and gives context, as well as helps avoid forum clogging. 🙂
Well, I did use alarms, but I made no progress with them. I used the 'assign variable' block and made a bombTimer variable in the create event. I then used the 'if variable' block and did some stuff with that in the step event. Clearly that hasn't worked so I will try the alarms again!
Apologies
I can't imagine alarms working much more different to how they work in GML
No worries, just letting ya know for future reference, helps get help to you quicker
https://manual.yoyogames.com/#rhsearch=alarm&rhhlterm=alarm&t=Drag_And_Drop%2FDrag_And_Drop_Reference%2FInstance%2FSet_Alarm.htm Read through this, this is the action block to set an alarm's countdown
The countdown is in game steps, not seconds
exactly
lmao thank you!