Search found 3 matches

Re: How do I spawn random objects from a set of objects

HJ1, I did it with both. Setting the animation worked, but the frame did not. If you set the frame and stop the animation, it will change every time a new object spawns, but setting the animation worked like a charm.
by Alanturing87
Tue Apr 15, 2014 1:17 am
 
Forum: How do I....?
Topic: How do I spawn random objects from a set of objects
Replies: 5
Views: 1051

How do I spawn random objects from a set of objects

I am making a falling game and I wanted to make it so as obstacles spawned, they could be one of 6-7 random obstacles. Is the only way to do this from a massive is statement, or can I do it programatically? The if statements are getting out of control since there are 15 permutations of the configura...
by Alanturing87
Mon Apr 14, 2014 11:51 pm
 
Forum: How do I....?
Topic: How do I spawn random objects from a set of objects
Replies: 5
Views: 1051

How do I pathfind every tick

I am trying to create monsters that will hunt down the player. I added an event every tick that should find a path to the player, but it doesn't work. However, if I move the event to on mouse click, it works fine, but only on mouse click. Am I missing something?
by Alanturing87
Fri Mar 28, 2014 5:22 am
 
Forum: How do I....?
Topic: How do I pathfind every tick
Replies: 1
Views: 114

Return to advanced search