max speed atribute

tabelortabelor Member Posts: 114
edited January 2012 in Working with GS (Mac)
hello all. I would like to know what is the use of the attribute max speed, because i would like an acceleration for my actor, wich is accelerating but when he reach a certain speed it remains constant even if the acceleration is still working (for example right keyboard is true-accelerate 100, but when speed is 300 stop accelerating even if right keyboard is still pressed...)
I would like to do something like this. I have: if key right is pressed- set max speed to 100- accelerate 100 - but doesn't work and if it is posible, i would like to do it without a constraint, anybody know how?

Comments

Sign In or Register to comment.