Patterns Tutorial
Posted: Sat Jul 09, 2011 2:17 am
So we have a lot of newcomers who have been asking how to make Patterns in Fraxy.
I'll give you a simple way to manage patterns and attacks.
First make your boss.
Add an event on the attack parts
Global variable = 1
Play attack action
Then add another event
Global variable ! 1
Stop attack action
Change Attack frame to 0 (You can also change it to anything else.)
Make sure you click the "Don't delete this event after execution" tab.
Now, make a rolling panel, make sure it's on Move Action 7, 8, 9, or 10.
Now assign a move frame to an event on the rolling panel.
Move Frame = *** <Anything you want
Change Global variable 1 to 1
The attack should play now. in order to stop it, make another event.
Move Frame = *** <Something higher then the first one
And in order to make it loop back, make another event
Move Frame = *** <Something higher then the second one
Change Move Frame to *** <Something lower then the first.
Change Global variable 1 to 0
Most weapons fire once at the 20th attack frame. Powerballs and Missile fire at the 10th attack frame. Slow Rays and Burners fire on the 1st attack frame. While Lasers and Sonic Waves have to be watched to find their launch time.
I hope this helps. Good luck Fraxians.
I'll give you a simple way to manage patterns and attacks.
First make your boss.
Add an event on the attack parts
Global variable = 1
Play attack action
Then add another event
Global variable ! 1
Stop attack action
Change Attack frame to 0 (You can also change it to anything else.)
Make sure you click the "Don't delete this event after execution" tab.
Now, make a rolling panel, make sure it's on Move Action 7, 8, 9, or 10.
Now assign a move frame to an event on the rolling panel.
Move Frame = *** <Anything you want
Change Global variable 1 to 1
The attack should play now. in order to stop it, make another event.
Move Frame = *** <Something higher then the first one
And in order to make it loop back, make another event
Move Frame = *** <Something higher then the second one
Change Move Frame to *** <Something lower then the first.
Change Global variable 1 to 0
Most weapons fire once at the 20th attack frame. Powerballs and Missile fire at the 10th attack frame. Slow Rays and Burners fire on the 1st attack frame. While Lasers and Sonic Waves have to be watched to find their launch time.
I hope this helps. Good luck Fraxians.