• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker Help!Wave Attacks(Like kamehameha)

C

ColdFir3

Guest
I'm quite new to gml and don't know how to make a wave attack continuously coming out from a certain location for a specific time period but don't know how to pull this off could anybody help? Thx in advance
 
Last edited by a moderator:

samspade

Member
There are lots of ways to do this. It really just depends on what you want. The simplest form of a wave attack would be the built in alarm event

Code:
///create event obj_wave
wave_alarm_default = 120;
alarm[0] = wave_alarm_default;


///alarm[0] event obj_wave

//do whatever you want

alarm[0] = wave_alarm_default;
If you want a more complicated version you could watch this:

 
Top