Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Corona Remote - Accelerometer in Simulator - Released
Started by Matthew Pringle Jan 01 2011 04:47 AM

81 replies to this topic
[TOPIC CONTROLS]
Page 2 of 4 1 2 3 4
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#26

IndeedYes08

[GLOBAL: userInfoPane.html]
IndeedYes08
  • Enthusiast

  • 95 posts
  • Guests

I dont know about everyone else but it sure is what I want!!! (Multiplayer pairing that is!)
uid: 9968 topic_id: 4773 reply_id: 15447


[TOPIC: post.html]
#27

ksan

[GLOBAL: userInfoPane.html]
ksan
  • Corona Geek

  • 2,795 posts
  • Corona SDK

Me too!!!
uid: 11904 topic_id: 4773 reply_id: 15448


[TOPIC: post.html]
#28

ksan

[GLOBAL: userInfoPane.html]
ksan
  • Corona Geek

  • 2,795 posts
  • Corona SDK

Matthew, the more I think about this app the more I like the idea for all round testing. Would it be possible for you to extend the scope and not only send accelerator values from the device to the simulator but also the touch events? This way we could test almost anything in device conditions as opposed to hunting & pecking with the mouse. Just a thought. Thanks for listening.
uid: 11904 topic_id: 4773 reply_id: 15460


[TOPIC: post.html]
#29

Matthew Pringle

[GLOBAL: userInfoPane.html]
Matthew Pringle
  • Contributor

  • 660 posts
  • Corona SDK

@ksan

I dont think its possible at the moment but its something im willing to explore. Im waiting for first round approval from Apple and then I can look at adding more features. I think Ansca would need to let me programatically simulate a touch event in the simulator. Much like the jquery click function.
uid: 5354 topic_id: 4773 reply_id: 15461


[TOPIC: post.html]
#30

ksan

[GLOBAL: userInfoPane.html]
ksan
  • Corona Geek

  • 2,795 posts
  • Corona SDK

Sounds great! Thanks much for that. Look forward to hearing of your App Store debut!
uid: 11904 topic_id: 4773 reply_id: 15465


[TOPIC: post.html]
#31

rdcube

[GLOBAL: userInfoPane.html]
rdcube
  • Contributor

  • 178 posts
  • Corona SDK

@matthew,
I see what you're doing, although impressive, I think is backwards to what I had in mind; I thought that I was going to be able to view my game on the device and view the data on the simulator ;P

Looks good, but probably adding the ability to test 'touch' might get me sold...still unsure on how I could take advantage of this tool :(

I like the path you're taking and definitely will look forward to 'multiplayer pairing' code ;)

RD
uid: 7856 topic_id: 4773 reply_id: 15490


[TOPIC: post.html]
#32

bedhouin

[GLOBAL: userInfoPane.html]
bedhouin
  • Contributor

  • 258 posts
  • Guests

Just noticing the number of people wanting to simulate touch events. This may not be a viable option for you, but it's working for me:

I'm using an Acer 23" touch screen which was about $US270. There are smaller (cheaper) screens which would be perfectly good for a secondary display only containing the simulator. Just make sure the screen has touch drivers for Mac.

Unless MP's app is able to render whats visible in the simulator, not sure how a blank remote would be useful to interact with on-screen objects - unless you just want to swipe or tap the whole screen.
uid: 11393 topic_id: 4773 reply_id: 15495


[TOPIC: post.html]
#33

BarkBarkCo

[GLOBAL: userInfoPane.html]
BarkBarkCo
  • Enthusiast

  • 31 posts
  • Guests

@bedhouin, a simple workaround would be to have a matching grid overlay on each screen. That way you can position your touches based on the objects position's relative to the guides in the simulator.
uid: 10248 topic_id: 4773 reply_id: 15496


[TOPIC: post.html]
#34

ksan

[GLOBAL: userInfoPane.html]
ksan
  • Corona Geek

  • 2,795 posts
  • Corona SDK

How about using something like VNC until there is a packaged solution that does it all?
uid: 11904 topic_id: 4773 reply_id: 15501


[TOPIC: post.html]
#35

Dotnaught

[GLOBAL: userInfoPane.html]
Dotnaught
  • Contributor

  • 370 posts
  • Corona SDK

For what it's worth, you can simulate touch events in code:

pauseBtn:dispatchEvent( event )


uid: 1560 topic_id: 4773 reply_id: 15503


[TOPIC: post.html]
#36

bedhouin

[GLOBAL: userInfoPane.html]
bedhouin
  • Contributor

  • 258 posts
  • Guests

@BarkBark: That's a neat idea. Simulator and device have matching grid layouts. With colour coding, thickening, or dashing of alternate lines it would be easier to pin point the corresponding locations.
uid: 11393 topic_id: 4773 reply_id: 15508


[TOPIC: post.html]
#37

Matthew Pringle

[GLOBAL: userInfoPane.html]
Matthew Pringle
  • Contributor

  • 660 posts
  • Corona SDK

@Dotnaught thats cool, thats as expected. What I would need ( and have yet to try ) would be Runtime:dispatchEvent as I wouldn't be able to target different buttons in the users app ( as every app is different ) but if I could capture the event in runtime on the iPhone and then dispatch the event in Runtime on the simulator it would probably work.

@rdcube Unfortunately not, doing remote viewing of the screen would take up to much runtime to be achievable in lua. The remote is primarily designed to transmit accelerometer data, the problem I was trying to solve. Next is hopefully touch and then compass.
uid: 5354 topic_id: 4773 reply_id: 15509


[TOPIC: post.html]
#38

rickwhy

[GLOBAL: userInfoPane.html]
rickwhy
  • Enthusiast

  • 89 posts
  • Corona SDK

Awesome!!
uid: 10657 topic_id: 4773 reply_id: 15517


[TOPIC: post.html]
#39

thispedro

[GLOBAL: userInfoPane.html]
thispedro
  • Observer

  • 26 posts
  • Corona SDK

@Matthew Pringle i would love the Android version. Remote for Android is something i had in mind to write for myself until i discovered Your iPhone solution.

Also the multiplayer class - I WANT this!
uid: 10507 topic_id: 4773 reply_id: 15838


[TOPIC: post.html]
#40

Matthew Pringle

[GLOBAL: userInfoPane.html]
Matthew Pringle
  • Contributor

  • 660 posts
  • Corona SDK

Just gone live, Apple and Ansca approved!

http://www.coronaremote.com/
uid: 5354 topic_id: 4773 reply_id: 17308


[TOPIC: post.html]
#41

carlos m. icaza

[GLOBAL: userInfoPane.html]
carlos m. icaza
  • Corona Geek

  • 2,992 posts
  • Alumni

Congratulations Matthew ! Thank you for supporting Ansca and Corona and here is to our growing 3rd party ecosystems.

Also, the fact the app got approved on the app store shows that Corona has 'momentum' and recognition.

C,
uid: 24 topic_id: 4773 reply_id: 17316


[TOPIC: post.html]
#42

Matthew Pringle

[GLOBAL: userInfoPane.html]
Matthew Pringle
  • Contributor

  • 660 posts
  • Corona SDK

Thanks Carlos

Also don't forget this app is Universal, 1 build for iPhone 3G, 4 and iPad with retina display support!
uid: 5354 topic_id: 4773 reply_id: 17317


[TOPIC: post.html]
#43

rickwhy

[GLOBAL: userInfoPane.html]
rickwhy
  • Enthusiast

  • 89 posts
  • Corona SDK

Excellent gonna try it out real soon!

Good work!!!
uid: 10657 topic_id: 4773 reply_id: 17318


[TOPIC: post.html]
#44

J. A. Whye

[GLOBAL: userInfoPane.html]
J. A. Whye
  • Corona Geek

  • 1,689 posts
  • Corona SDK

Bought, downloaded, implemented in current project -- all in about 15 minutes.

Very cool tool for anybody doing Corona SDK development with the accelerometer.

The $10 will pay for itself quickly -- no more building to device just to test your app with the accelerometer.

Nice job, Matthew!

Jay
uid: 9440 topic_id: 4773 reply_id: 17372


[TOPIC: post.html]
#45

Matthew Pringle

[GLOBAL: userInfoPane.html]
Matthew Pringle
  • Contributor

  • 660 posts
  • Corona SDK

Thanks Jay

Let me know how you get on. There should be a dedicated support forum soonish to post feedback in.

Cheers

M
uid: 5354 topic_id: 4773 reply_id: 17377


[TOPIC: post.html]
#46

carlos m. icaza

[GLOBAL: userInfoPane.html]
carlos m. icaza
  • Corona Geek

  • 2,992 posts
  • Alumni

Done
uid: 24 topic_id: 4773 reply_id: 17380


[TOPIC: post.html]
#47

thispedro

[GLOBAL: userInfoPane.html]
thispedro
  • Observer

  • 26 posts
  • Corona SDK

Now Matthew the android version please :)
uid: 10507 topic_id: 4773 reply_id: 17455


[TOPIC: post.html]
#48

dweezil

[GLOBAL: userInfoPane.html]
dweezil
  • Contributor

  • 568 posts
  • Corona SDK

Whilst it's great and thanks for sharing I really believe that this should be part of Corona!

There are clearly "missing" bits from Corona, like this and the CPM and I'm really miffed that I should have to pay extra to get things that should be in the main Corona package!

It's great that the developer of this and CPM have found a way to make a buck out of the missing bits but the trouble now is Ansca won't want to implement the missing bits for fear of upsetting these developers.

I'm not saying there isn't a place for 3rd party tools but if you're not careful too many of them could scare people off Corona...

"Oh you bought Corona, great now go and buy tools W, X, Y and Z cos Ansca haven't included these essential tools".

Also too many 3rd party add-ons can only destabilize and limit the core product.

Sorry if this comes across as a rant or overly negative it's not meant to be, I'm just sad they are not part of the core.
uid: 9371 topic_id: 4773 reply_id: 17506


[TOPIC: post.html]
#49

bedhouin

[GLOBAL: userInfoPane.html]
bedhouin
  • Contributor

  • 258 posts
  • Guests

@dweezil: I see your point and it is quite difficult to discuss this without appearing to dismiss the well intentioned efforts of others.

I also agree that there are a number of third party tools appearing that should be part of Corona. The longer Ansca delays in implementing tools the more likely it is that a user will go out and just build it. And once they are out there, it would be difficult for Ansca to kill of their hard work by providing a similar built in tool.

So far we have a GUI Editor, Project Manager, Accelerometer Sim, and Particle System (plus other code bits like Director Class and Game Class).

My concern is not so much the additional cost (developers need to be rewarded for their efforts), but the level of integration and guaranteed ongoing support.

And I agree with you on putting off potential developers - if the physics engine was a third party tool - would bubble ball have been written.

On the flipside, third party tools which fill in the gaps give Ansca breathing room to focus on expanding other Corona features.

Who knows we could see lots of new things in the next drop...

@Matthew: No offense intended. I still think what you did was incredibly clever, and if I was developing an accelerometer app I'd buy it without question.
uid: 11393 topic_id: 4773 reply_id: 17510


[TOPIC: post.html]
#50

Stephen Lewis

[GLOBAL: userInfoPane.html]
Stephen Lewis
  • Contributor

  • 716 posts
  • Enterprise

$10 seems a very fair price for a tool I will use every day. Sure, I'd love it if it were already included in Corona for "free". But what current feature would be missing, or bug not fixed, if Ansca had spent some of their finite resources developing a remote?
uid: 9422 topic_id: 4773 reply_id: 17545



[topic_controls]
Page 2 of 4 1 2 3 4
 
[/topic_controls]