Accelerometer in Simulator

I think I have figured out a way to get your real iPhone to provide accelerometer control for the simulator.

It would work like this…

  1. Download remote from AppStore
  2. Download .lua file and include in your app
  3. Replace your accelerometer listener with my special listener
  4. Open my app on iPhone and boot the simulator with your app
  5. They auto pair and start communicating
  6. You can now control the simulator with the accelerometer.

Now this is a bunch of work so before I start I need to know the following

  1. Is this something people want?
  2. Would you pay a couple of $ for it?
  3. Any specific features you need?

Limitations

  1. Wifi only
  2. Internet connection needed for pairing
  3. No onscreen iPhone feedback of whats displayed in the simulator
  4. It may reduce framerate slightly ( I say may, probably not )
  5. It might not be as accurate / smooth as a real accelerometer ( depends on network speed, I will allow a speed setting )

Reason for charging is that it will be a bunch of work, it will need a server for pairing and I have other more profitable things I could be doing.

Anyway the feedback here will ultimately decide if I progress…

Matt

[import]uid: 5354 topic_id: 3329 reply_id: 303329[/import]

I think it sounds like a great idea, will you charge for just the app on the iphone?
[import]uid: 10657 topic_id: 3329 reply_id: 9966[/import]

That would be the plan, the iPhone app would need to be a download. Im thinking $2.99 so something around that price.

Its not $0.99 as the app will have a very limited appeal and I wouldn’t think it would make back what I spend on the server but hopefully it would balance out. [import]uid: 5354 topic_id: 3329 reply_id: 9967[/import]

I’d definitely buy the app if I were to do more accelerometer based games. It would reduce time in testing, and also allow me to record better gameplay videos without too much of a reduction in framerate (the way I’m doing it now reduces framerate way too much).

That’s amazing if you could get something like that working! [import]uid: 7849 topic_id: 3329 reply_id: 9983[/import]

The recording aspect is something I didnt think of! [import]uid: 5354 topic_id: 3329 reply_id: 9985[/import]

If I can get this working smoothly then it would also open up multiplayer games over wifi as it would use the same system. [import]uid: 5354 topic_id: 3329 reply_id: 9987[/import]

Easily $10 worth (oh yeah, app store, make that 9.99) if it worked OK. [import]uid: 3953 topic_id: 3329 reply_id: 10035[/import]

I’d definately purchase this app!

Ace [import]uid: 9899 topic_id: 3329 reply_id: 10279[/import]

I’d definitely buy it. [import]uid: 10292 topic_id: 3329 reply_id: 10298[/import]

Why not try to tap into the Mac’s built-in accelerometer and then we wave the macs to see how it work

Sorry, I forgot that the iMac does not have that, and I cannot wave my 27" iMac.

+1 for the idea of having an accelerometer input to the simulator.

:slight_smile:

cheers,

Jayant C Varma [import]uid: 3826 topic_id: 3329 reply_id: 10329[/import]

I can’t wait to waft my 27" iMac about haha

Ace [import]uid: 9899 topic_id: 3329 reply_id: 10357[/import]

Hit the first wall.

There doesnt seem a way I can get the local network address of the iPhone from within Corona.

Anyone know different? [import]uid: 5354 topic_id: 3329 reply_id: 10358[/import]

So it’s not just me then. I tried the same for wifi multiplay (since there’s no Bluetooth support). Hopefully someone’s figured how to get it. [import]uid: 3953 topic_id: 3329 reply_id: 10375[/import]

OK its getting there.

http://www.coronaremote.com/ [import]uid: 5354 topic_id: 3329 reply_id: 15097[/import]

Corona Remote is now released, accelerometer support in Corona Simulator!

http://www.coronaremote.com/ [import]uid: 5354 topic_id: 3329 reply_id: 17310[/import]

I have an iPhone 2G (still using this!) and I just read the itunes page of CoronaRemote where is stated: “Please note iOS 3.2 or greater is needed for Corona® Remote to function on your device.” In the Requirements is: Compatible with iPhone, iPod touch, and iPad. Requires iOS 3.1 or later. I need iPhone with 3.2 or will also work with 3.1? In my 2G I can’t update any more from 3.1.3. Thanks [import]uid: 7114 topic_id: 3329 reply_id: 17964[/import]

Hi attanze

I’m going to be updating the core to work on 3.1. At the moment on 3.1 the fonts don’t work but that should be an easy fix [import]uid: 5354 topic_id: 3329 reply_id: 17978[/import]

Thanks for your effort. I will put this in my order list. [import]uid: 7114 topic_id: 3329 reply_id: 18335[/import]

Its with Apple now waiting for approval.

If you do decide to purchase the app ones its out please provide feedback as I couldn’t test on 3.1 Cant roll back any of my phones from 4 and Apple have stopped signing any new restores for 3.1.x [import]uid: 5354 topic_id: 3329 reply_id: 18338[/import]

Hey Matthew - this app is fantastic. I can see it helping a lot.

Would you be able to add touch functionality to this as well? Then you’d basically have a remote control for the games. Since you can’t see anything it’s not ideal - but I think it would work well enough for testing (not much different to playing an xbox game - only there’s no feedback)

Once Ansca adds multi touch functionality to the preview it would become the ultimate test setup :slight_smile: [import]uid: 10484 topic_id: 3329 reply_id: 18852[/import]