So i am trying to move a button and i cant for the life of me get it to simulate animation properly. i can make it smooth but its slow, if i increase the number of pixels it moves by it's choppy. is there any kind of blend or something to make this smoother?
Why don't you try increase the Wait time beyond 0.026ish, because from what i remember that was the minimum(or close to) wait time when people were trying to make projectile systems a while ago.
and it won't make a difference if your going to make 2 triggers to move it since all timers go off on the same interval.
Hmm especially the last post, I remember reading that you can set game speed beyond Very Fast using custom script but you'll have to search the forums for that.
Reduce the wait time to 0.00
The minumum wait time of the Wait action is a 64th of a second, but that's only reached at a wait time of 0.00.
Even a time of 0.0001 will make it wait a 32nd of a second. So 0.00 time is twice as fast. That might make it less choppy.
Apart from that I don't think there's anything you could do.
I did something similar with portraits a while ago and I got best results with Waits of 0.00.
Just for information: Timers can only reach a minimum of a 32nd of a second. So Waits are faster.
Well you can do the thing with the game speed, but you'll also have to change everything else to revolve around it so it seems normal which is far too much work I'd think.
You could also try linking it to a unit with an auto cast ability that goes off every 0.01 seconds, It'd be awesome if it worked as even a unit casting something that does nothing 100 times a second shouldn't use too much bandwidth compared to the periodic event/wait.
I think i got it as smooth as its gonna get i have it move a total of five times over 1 second so it looks "ok" but not super smooth. i would be able to write this function better if i could get this wot work:
So i am trying to move a button and i cant for the life of me get it to simulate animation properly. i can make it smooth but its slow, if i increase the number of pixels it moves by it's choppy. is there any kind of blend or something to make this smoother?
Why don't you try increase the Wait time beyond 0.026ish, because from what i remember that was the minimum(or close to) wait time when people were trying to make projectile systems a while ago.
@zKyuuketsuki: Go
changed it to .03 but it moves way slow and is smooth at 1 pixel and at 20 it is still really choppy.
Well I found the link referring to timers and what not, It's a good read but I don't think it fixes your problem, just makes the problem visible.
http://www.thehelper.net/forums/showthread.php?p=1235744#post1234490
and it won't make a difference if your going to make 2 triggers to move it since all timers go off on the same interval.
Hmm especially the last post, I remember reading that you can set game speed beyond Very Fast using custom script but you'll have to search the forums for that.
Reduce the wait time to 0.00
The minumum wait time of the Wait action is a 64th of a second, but that's only reached at a wait time of 0.00.
Even a time of 0.0001 will make it wait a 32nd of a second. So 0.00 time is twice as fast. That might make it less choppy.
Apart from that I don't think there's anything you could do.
I did something similar with portraits a while ago and I got best results with Waits of 0.00.
Just for information: Timers can only reach a minimum of a 32nd of a second. So Waits are faster.
@s3rius: Go
Yeah it looks like the animation is going to be a little jumpy
Well you can do the thing with the game speed, but you'll also have to change everything else to revolve around it so it seems normal which is far too much work I'd think.
You could also try linking it to a unit with an auto cast ability that goes off every 0.01 seconds, It'd be awesome if it worked as even a unit casting something that does nothing 100 times a second shouldn't use too much bandwidth compared to the periodic event/wait.
Then removing/stopping the auto cast of course.
@zKyuuketsuki: Go
I think i got it as smooth as its gonna get i have it move a total of five times over 1 second so it looks "ok" but not super smooth. i would be able to write this function better if i could get this wot work:
http://forums.sc2mapster.com/mapping-utilities/editor-bugs-and-feedback/3597-preset-type-arithmetic-operations-and-storing-in-variable/
i also changed the function a bit:
Would you be able to show the trigger that's calling that function?
Necro-lord ;p
104 days old? Which page was this thread even on?
@Twinmold20: Go
Lol no idea, just found it through search :P
I don't think the creator of this thread will answer to be honest. He hasn't been online for for more than two months now.
@Twinmold20: Go
Good call lol