The big benefit of using Cinder is the resulting multiplatform code. In most cases, your application can be compiled on Windows, Mac OS X, and iOS without significant modifications.
If you want to run your applications on iOS devices, you will need to register as an Apple Developer and purchase the iOS Developer Program.
After registering yourself as an Apple Developer or purchasing the iOS Developer Program, you can create an initial XCode project for iOS using Tinderbox.
We can use events for multiple touches and for easy access to accelerometer data. The main difference between touch and mouse events is that there can be more than one active touch points while there is only one mouse cursor. Because of that, each touch session has an ID that can be read from TouchEvent
object.
Method |
Describe |
---|---|
Beginning of a multitouch sequence | |
Drags during a multitouch sequence | |
The end of a multitouch sequence | |
Returns all active touches | |
I recommend you take a look at the sample projects included in the Cinder package: MultiTouchBasic
and iPhoneAccelerometer
.
You can find more information about the iOS Developer Program here: https://developer.apple.com/
3.144.28.80