M
makehurst
Guest
Hi all,
So I'm looking to spawn a group of object off screen that will slowly move onto screen. Once they get a point it will pick another group of objects and spawn them of screen and so on. Sort of like a endless runner.
I want to have control of where the object spawn setting up the groups.
The way I'm setting up the groups seems very sloppy at the minute and wanted to find out if there was a better way of doing it. At all I have is a big list that just says:
instance_create(0-1024, 736,obj_block)
instance_create(32-1024, 736,obj_block)
instance_create(32-1024, 704,obj_block)
instance_create(64-1024, 704,obj_block)
instance_create(64-1024, 672,obj_block)
and so on for about 150 lines. I really don't like this. Any one got any ideas?
So I'm looking to spawn a group of object off screen that will slowly move onto screen. Once they get a point it will pick another group of objects and spawn them of screen and so on. Sort of like a endless runner.
I want to have control of where the object spawn setting up the groups.
The way I'm setting up the groups seems very sloppy at the minute and wanted to find out if there was a better way of doing it. At all I have is a big list that just says:
instance_create(0-1024, 736,obj_block)
instance_create(32-1024, 736,obj_block)
instance_create(32-1024, 704,obj_block)
instance_create(64-1024, 704,obj_block)
instance_create(64-1024, 672,obj_block)
and so on for about 150 lines. I really don't like this. Any one got any ideas?
Attachments
-
10.2 KB Views: 9