How do you get the horizontal and vertical speeds of a sprite?
Develop games in your browser. Powerful, performant & highly capable.
example. maybe needs clean up, maybe not)
also if you need absolute value of speed (i mean moving right speed 300, moving left speed also 300 (not -300 as in example)), just put all in abs()
This is weird... Construct says I can't open that .cap file because I don't have the latest version of Construct, but I have already been using 0.99.95
Sorry - using construct 0.99.96 - last "unstable" build
-> Sprite: Set 'old_x' to Sprite.Value('x')
-> Sprite: Set 'x' to Sprite.X
-> Text: Set text to (Sprite.X-Sprite.Value('old_x'))/Timedelta
'old_x' and 'x' - prvate variables. Text - just text to display current Speed.