Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Init
- life = 10;
- size = 1;
- gibspeed = -2;
- burstspeed = gibspeed;
- acceleration = 0;
- turnspeed = 0;
- topspeed = 0;
- minspeed = 0;
- //Set variables to be manipulated by alarms and timelines (From Elemaiden, adapted into arrays)
- //You can do it up to 8 times.
- movealarm[0] = 0;//These variables are assigned to alarms.
- movealarm[1] = 0;
- movealarm[2] = 0;
- movealarm[3] = 0;
- movealarm[4] = 0;
- movealarm[5] = 0;
- movealarm[6] = 0;
- movealarm[7] = 0;
- switchspeed[0] = 0; //Change speed once
- switchspeed[1] = 0; //Change speed a second time
- switchspeed[2] = 0; //Change speed a third time
- switchspeed[3] = 0; //Change speed a fourth time (FOR WHAT?)
- switchspeed[4] = 0;
- switchspeed[5] = 0;
- switchspeed[6] = 0;
- switchspeed[7] = 0;
- dirchange[0] = 0; //Change direction once
- dirchange[1] = 0; //Change direction a second time
- dirchange[2] = 0; //Change direction a third time
- dirchange[3] = 0; //Bleh, must I explain?
- dirchange[4] = 0;
- dirchange[5] = 0;
- dirchange[6] = 0;
- dirchange[7] = 0;
- newdir[0] = 0; //Straight up direction setting
- newdir[1] = 0;
- newdir[2] = 0;
- newdir[3] = 0;
- newdir[4] = 0;
- newdir[5] = 0;
- newdir[6] = 0;
- newdir[7] = 0;
- newaccel[0] = 0; //Change acceleration
- newaccel[1] = 0;
- newaccel[2] = 0;
- newaccel[3] = 0;
- newaccel[4] = 0;
- newaccel[5] = 0;
- newaccel[6] = 0;
- newaccel[7] = 0;
- newturnspeed[0] = 0; //Change turning speed
- newturnspeed[1] = 0;
- newturnspeed[2] = 0;
- newturnspeed[3] = 0;
- newturnspeed[4] = 0;
- newturnspeed[5] = 0;
- newturnspeed[6] = 0;
- newturnspeed[7] = 0;
- playerdir = point_direction(x,y,obj_player.x,obj_player.y); //Just in case someone wants any of the newaccel variables to be the player's direction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement