Frustrating!!
charliehgreen
ArizonaMember Posts: 233
Ok, I know that there's a couple threads about this, I tried them out and can't get it to work.
I'm creating a power up that basically when you use it, it'll pause only the enemy actors for X amount of time.
I created an interger called "clock" and once you click on the clock power-up (actor) in game, it'll change game.Clock to 1
Then on the enemies I have a rule that says
-Attribute game.Clock = 1
-Constrain Attribute Self.Motion.LinearVelocity.X to 0
and the same for Y
Ughhh! lol how can I freeze/pause my actors for 3-5 seconds?
I'm creating a power up that basically when you use it, it'll pause only the enemy actors for X amount of time.
I created an interger called "clock" and once you click on the clock power-up (actor) in game, it'll change game.Clock to 1
Then on the enemies I have a rule that says
-Attribute game.Clock = 1
-Constrain Attribute Self.Motion.LinearVelocity.X to 0
and the same for Y
Ughhh! lol how can I freeze/pause my actors for 3-5 seconds?
Comments
Timer: After random(3,5) seconds
Change Attribute game.Clock = 0
If random doesn't work on the timer set another attribute with a random number and use that on the timer
Artist/Game Developer / Animator at your service..
Nope, still don't work. The freaking actors won't stop moving
I just want to make a time stop power-up *Cries* lol
I think when I froze my balls (>.<) in Doodle Kicks after pressing a pause button I also constrained the X and Y position. I can't check at the moment
hahah well however you managed to freeze your balls, I would love to know how you done it exactly one you have time to check. Lol man I've been on this all day
basically when
attribute.game.clock=1
change attribute game.enemymovement=false
so this should be added with all that u said in the first comment.
What do you mean by "Wrap it over to all enemy rules you want to stop"?
How do I go about do this?
Yeah It's working, I did a little of my own tweaking but @RedeyeArts definitely got the job done.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS