10-03-2009, 05:01 PM
(10-03-2009, 03:39 PM)Ramond Wrote: but it still happened D:
I agree that it should be removed.
And here is the code to do it:
GML-Code:
var xx,yy,control; control = true while(control){ xx = random(room_width) yy = random(room_height) switch(floor(random(4))){ case 0: if point_distance(xx,yy,(0).x,(0).y)>120{ instance_create(x,y,1) control = false } break case 1: if point_distance(xx,yy,(0).x,(0).y)>120{ instance_create(x,y,1) control = false } break case 2: if point_distance(xx,yy,(0).x,(0).y)>120{ instance_create(x,y,4) control = false } break case 3: if point_distance(xx,yy,(0).x,(0).y)>120{ instance_create(x,y,5) control = false } break } } alarm[0] = 300 |
Place it in game flow's alarm 0 event and delete alarm 1.
Now every single metroid should keep stay away when created.
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.