![]() |
New games every week!
Touch Controls - Part One
Blog
12th July 2019
The hard part was getting this button to work.. ![]() -=-=- The scaling consisted of figuring out the best way to scale the virtual screen, finding the best size to scale it to, and then figuring out whether it's safe to have canvas touch controls work on a lower "control" canvas whilst still allowing touch input to work on the upper "game" canvas.. !!! Eeek! Lots of testing for all the different browsers, and then tonight I'll start to add some actual buttons to the thing. Hopefully it should work more or less as expected. Views 38, Upvotes 4
Browsercade
New games every week!
|