RamPackWobble
Found the bug.First see this capx.Don't bother about the code and all.
I have just included some backgrounds etc and some more maps.(and some sprites named obstacles) in my actual game
So this is the area where the bug is.
Whenever a new obstacle is added by this code,The object count increases.I think the object is spawned every tick.How do I make it right?Trigger once?If I put that,The obstacle would appear just once and never appear again,(The maps are randomly created,see the capx)So If the trigger once is added,It will trigger just once and never again.I want the sprite obstacle to be present in all the instances maps it's assigned to.