MFGG Forums
Timeline Troubles in Game Maker Studio 2 - Printable Version

+- MFGG Forums (https://forums.mfgg.net)
+-- Forum: MFGG (https://forums.mfgg.net/forumdisplay.php?fid=4)
+--- Forum: Developer Discussion (https://forums.mfgg.net/forumdisplay.php?fid=10)
+--- Thread: Timeline Troubles in Game Maker Studio 2 (/showthread.php?tid=2765)



Timeline Troubles in Game Maker Studio 2 - Koopaul - 08-21-2021

Hello everyone! I know this is a community dedicated to Mario games but I was hoping someone give me some advice. I'm trying to teach myself how to make a games in Game Maker Studio 2. So I thought a side scrolling Shoot 'em Up would be good for a first game. Well I'm still having tons of trouble. Let me explain...

In this game I have it set up so that waves of specific types of enemies and objects appear at certain times. Nothing is random (unlike what a lot of tutorials on Youtube will have you make). So I had to figure out how to get that to work.

So here's what I set up.

I created a bunch of spawning points off screen that will activate and deactivate based on a timeline I set up.

Timeline tells the spawner to start spawning, what type of enemy formations (which I have set up as a script), as well as how many of those enemies to spawn. It also activates an alarm within the spawner that will stop the spawning after a certain point called "alarm0".

Spawning a single enemy is easy. Spawning a specific number was harder. So I set up another alarm that every 13.5 frames will spawn an enemy and then repeat itself. Now remember alarm0? Well it worked perfectly fine before. The timeline set it off and after 60 frames the enemies stop spawning. I timed it out so that only 5 spawn. But after a recent update to GMS2, this no longer works and the spawner will just keep spawning forever.

I can't seem to figure out how to fix this. Can anyone help me?

Thank you so much!


This forum uses Lukasz Tkacz MyBB addons.