Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Anybody know what Touch Speed is based off of?
Pixels per second?
It seems consistent, but I'm concerned about what it would be across different devices, and it seems kinda high.
Touch speed is measured in canvas pixels per second, so is not affected by scaling the display.
Develop games in your browser. Powerful, performant & highly capable.
I never know what canvas we are talking about anymore.
Don't know what you mean by that. Anyway, it says it doesn't depend on display scale. It would be easy to check for yourself - just add a sprite with Bullet or Sine triangle behavior, add a text to display Touch Speed and try to "hover" with your mouse or finger over the moving object - the touch speed should be around the same as sprite's movement speed regardless of the screen resolution or refresh rate.
We don't use html5 canvas anymore, so I'm not sure what canvas references.
I've been using the speed expression for quite a while, and while I get speeds relitive to pps, they often go in excess of 50000.
you must have fast fingers!
can you clamp it to a range that fits your requirements?
That's using a mouse, so I wonder if the sampling may be different across devices.
Yes clamp is about all you can use here.
yeah, I have noticed a difference between mouse and a finger. The mouse generally seems to give less reliable results in terms of speed and angle, and different devices respond differently too.
Seems like there might be a feature request in my future.
I always thought it was more of a hardware issue. Not sure if Construct can do anything about it, but I guess it doesn't hurt to ask.
I'm not sure if it would address this issue, but it would make more sence to use the mouse rather than touch just for one expression.
That's assuming a reasonable, and easy way exists now.