{"id":1755,"date":"2010-11-19T00:48:16","date_gmt":"2010-11-18T13:48:16","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=1755"},"modified":"2010-11-19T00:50:46","modified_gmt":"2010-11-18T13:50:46","slug":"multitouch","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2010\/11\/19\/multitouch\/","title":{"rendered":"Multitouch"},"content":{"rendered":"

\"\"<\/a>Today I set up Multitouch gestures for iPhone\/iPad.<\/p>\n

Again, this photo is using exactly the same graphics as the past few days, just now you can use multitouch gestures to zoom and rotate the interface. \u00a0(Most of my time went into the zooming. \u00a0Surprisingly difficult to get the maths right for that, in this case.)<\/p>\n

It feels.. surprisingly natural. \u00a0I didn’t think it’d feel this good to move an object around on the screen this way. \u00a0There’s probably a bestselling game just in that interaction, if you could figure out a way to wrap a game around it (and if somebody else hasn’t already done it. \u00a0I’m sure someone has). \u00a0I’m not sure exactly what game you could wrap around this interaction, but it does feel really, really nice.<\/p>\n

Right now, VectorStorm supports only two simultaneous touch events. \u00a0But now that I have two working, it’d be really easy to add up to about ten. \u00a0But in this case, I only need two for the pinch\/zoom interface. \u00a0So I’ll probably make do with what’s in there now.<\/p>\n

Tomorrow, I may take a stab at sound support. \u00a0Or more likely, I’ll spend time on the game code itself, again.<\/p>\n","protected":false},"excerpt":{"rendered":"

Today I set up Multitouch gestures for iPhone\/iPad. Again, this photo is using exactly the same graphics as the past few days, just now you can use multitouch gestures to zoom and rotate the interface. \u00a0(Most of my time went into the zooming. \u00a0Surprisingly difficult to get the maths right for that, in this case.)…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[4,7,3],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-sj","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1755"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=1755"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1755\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=1755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=1755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=1755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}