★ TouchArcade needs your help. Click here to support us on Patreon.

iSimulate - send multi-touch and accelerometer data from device to simulator

08-03-2009, 04:55 PM
#1
Joined: Jul 2009
Posts: 61
iSimulate - send multi-touch and accelerometer data from device to simulator

Jeff LaMarche just posted about this on his blog. There's an iPhone app + SDK out that'll let you send multi-touch and accelerometer input to the simulator. There's already a free library that let's you use the device's accelerometer, but I haven't seen anything for multi-touch.

It's $4 until the 4th. Then it starts going up in powers of two until the 16th, when it reaches its final price of $32.

http://iphonedevelopment.blogspot.co...isimulate.html

http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=298417671

Someone in the comments said he made something that will do the same, and is free, and that there's a link to it on the SIO2 forums, but I've been searching there and can't find anything.

Creator of Astral, a New & Noteworthy and Top 100 Arcade and Action game!
Astral Website | facebook.com/astral | TA thread.
08-03-2009, 07:11 PM
#2
Joined: Jul 2009
Posts: 61
I'm trying this out now, and while it basically works (note that it doesn't appear to work for a lot of UIKit stuff), the input stream can cut out for a few frames. My wifi connection is pretty solid with barely any traffic, so I'm thinking the app has a few kinks to work out. Too bad it doesn't work over USB.

Creator of Astral, a New & Noteworthy and Top 100 Arcade and Action game!
Astral Website | facebook.com/astral | TA thread.
08-03-2009, 08:17 PM
#3
Quote:
Originally Posted by emitcollect View Post

Someone in the comments said he made something that will do the same, and is free, and that there's a link to it on the SIO2 forums, but I've been searching there and can't find anything.
Actually here is a good starting point.

http://code.google.com/p/accelerometer-simulator

It would appear it is only setup for accelerometer right now but it is
trivial to add touch and video frame buffering back to the device.

Unity did this right when they did their remote app, they send a low quality video feed back to the device. This way you work on the device just as the application is really running on it, does not look fantastic but really really nice for testing.
08-03-2009, 10:42 PM
#4
Joined: Jul 2009
Location: Cupertino
Posts: 53
Quote:
Originally Posted by emitcollect View Post
Someone in the comments said he made something that will do the same, and is free, and that there's a link to it on the SIO2 forums, but I've been searching there and can't find anything.
If you're using SIO2, look at Tutorial131 and 132. It's a client/server approach to sending multitouch/accelerometer events over a socket interface. It's not a general purpose approach but works well for SIO2 based apps.

--yarri

________________________________________
playNgive LLC - social gaming on the iPhone
Company Info
AppStore: Sumo Tap (2D Multiplayer fun) Circus Blast (3D Puzzle Shooter)
Coming Soon: Pictahunt! (Turn-based Social Word Game)
08-04-2009, 03:02 AM
#5
Joined: Feb 2009
Posts: 132
Awesome app, bought it!
Works pretty nice, though it looks like it's skipping some events. But that's enough for testing and making videos.
08-04-2009, 04:01 AM
#6
Joined: Jan 2009
Location: Sydney, Australia
Posts: 111
Quote:
Originally Posted by codepunk View Post
Actually here is a good starting point.
http://code.google.com/p/accelerometer-simulator
It would appear it is only setup for accelerometer right now but it is
trivial to add touch and video frame buffering back to the device.
Yes, I added touch to this code without any trouble. You can just tack the touch events on the end of the accelerometer message.