Corona® Ultimote v1.4 - New Version!

To follow up:

I was able to get everything working (both iOS and Android) once I was at home, and had more control over my network (and router).

At work, I will be seeing if they can troubleshoot the issue, apparently Ultimote uses ports 8080 and 62123 (I’m assuming for UDP ).

Thanks for the response, very happy with this product. [import]uid: 49447 topic_id: 17667 reply_id: 87735[/import]

Hello Producerism,

Yes we use UDP but specifically UDP broadcasts as well for network discovery. Not sure why it would be blocked but it could be. In any case there is a way to manually connect to the device but you will have to know its IP address. Instead of

ultimote:connect()  

simply pass the IP address of the device as the argument

ultimote:connect("192.168.1.100")  

Now it should connect without the UDP broadcast feature.
Let us know if you have any more issues.

Thanks,
M.Y. Developers [import]uid: 55057 topic_id: 17667 reply_id: 88166[/import]

Hi,
I just bought the ultimote from Android market since that’s where I mostly spend my time developing my games but I also do some iOs dev too.
Is the free iOs version when you get android version still available?

Thanks [import]uid: 76697 topic_id: 17667 reply_id: 89035[/import]

Hi Yanuar,

Thanks for your interest! Yes it is available. Please send us your email address to mydevelopergames@gmail.com.

Thank you,
M.Y. Developers [import]uid: 55057 topic_id: 17667 reply_id: 89126[/import]

Thanks,
This is a great product, really!
I have couple of questions though :

  1. Sometimes it doesn’t seem to connect (but when it does it’s awesome). When restart my build in corona simulator do I need to tell ultimote to reconnect a.k.a restart?
    I tried to restart but sometimes it just stuck after i press the connect button.
    (It was on Android)
  2. Is there a way for me to send something (most likely display object) that mimics my UI/gamescene layout so i’ll know how to move my fingers when i test?

Thank you [import]uid: 76697 topic_id: 17667 reply_id: 89184[/import]

Hello Yanuar,

Thank you for your support!

  1. We sent you the promo code for the iOS version, please try it as your problems may go away with that version. Some android devices (namely HTC) have known issues with their networking drivers that may cause some hiccups.

  2. Yes! This is one of the most useful features of Ultimote. To send any display object to the device just use some code like this:

local myObject = display.newImage("ball.png");  
myObject.ultimoteObject = true;  

Try to keep the number of objects you send to a minimum though as it takes up some bandwidth you could be using for transmitting events. One strategy we suggest is to use the mouse when you can (ie navigating through menus) and only use ultimote when you need to (ie for multitouch and accelerometer events.) Transmit only dynamic objects to the device, not menu buttons and such.

Hope this helps,
M.Y. Developers [import]uid: 55057 topic_id: 17667 reply_id: 89214[/import]

Thanks M.Y!
Couple of questions more if you don’t mind :

  1. Is there a way to hide those two back and options button, they always accidentally touched when i’m testing our game.
  2. I can’t seem to get ultimoteObject = true to send the display image properly. Nothing show up on my device…
  3. Our app use landscape orientation but on ultimote when i change to landscape (rotate my device to landscape) it still track the touch coordinate as potrait

Thank you so much [import]uid: 76697 topic_id: 17667 reply_id: 89409[/import]

Hello Yanuar,

Sorry to hear you are having some issues. Please send us your project files as a .zip and we will look at them to see if everything is working smoothly. At this time there is no way to hide the options menu but we will add that feature in the next update. Have you tried the connection demo (the air hockey one)? That one sends images to the device.

Thanks,
M.Y. Developers [import]uid: 55057 topic_id: 17667 reply_id: 89502[/import]

Actually issue #2 is somehow fixed after i hard reset my device, issue #3 is okay, i just need to make sure when i press connect on my device it’s already on landscape mode, so that’s not an issue.

So thank you very much, this software is really helpful, no more compile and copy to test!! [import]uid: 76697 topic_id: 17667 reply_id: 89595[/import]

Hello Yanuar,

Glad to see you got everything working! You can turn on rotation lock to keep everything in landscape mode. Are you able to stream images as well? Currently there are problems getting images to the device but those will be fixed soon. Just out of curiosity which features of Ultimote do you use the most?

-Stream objects to device
-Record/Playback Macros
-Event recorder
-Ingame options menu (we are considering removing this as you can set options via code.)
-Use Google Earth Paths

Thanks and let us know if you have any problems/suggestions.
M.Y. Developers [import]uid: 55057 topic_id: 17667 reply_id: 89996[/import]

update: I figured I would download the library files from your site again and that fixed it, in seems there was some update it there, glad it works.


I got the app when it was previous version, did a quick test and it worked.

Now I arrived at the stage in my current project where I actually want to use the app but now it does not work at all. This is the first time I am using it after the app update. So maybe that broke something, I do not have the old app version to compare.

I did even specify the IP of the device but “waiting for device…” is still all I get.

I use Corona on Mac (Lion) and an iPhone 4s, both are on same wifi network, I did restart mac and device and rooter but that did not help.

What can I try to get that to work now? [import]uid: 109677 topic_id: 17667 reply_id: 90156[/import]

Hello Une.ulvedal,

Glad you got things working. Yes the library files were modified quite drastically. Usually for every update we ask you re-download the library files as things may have changed. Please let us know if you have any other problems. There is a known issue with the images sometimes not displaying properly on the device but that will be addressed in an update soon.

Thanks,
M.Y. Developers [import]uid: 55057 topic_id: 17667 reply_id: 90159[/import]

Hello, M.Y.developers!

Just bought your app. Connection was succesful, I see system messages from app in the console. The main feature for me was the ability to get location data, cause I’m working on the location based app. But when I run my app, it doesn’t see a location from the iPhone and says “Simulator doesn’t support location events”. After that it shows system messages (server name, server IP) from the iPhone, which means the connection is ok.
Location service is turned on at the device (I have original iPhone, but it get location data in other apps) and Location is ON in app Options.

What am I doing wrong? Do you have any program to check GPS function? I’ve tried this one: http://developer.anscamobile.com/content/gps but have no success. [import]uid: 117007 topic_id: 17667 reply_id: 90508[/import]

Hello Overbeat,

Thank you for trying out ultimote! Sorry to hear that you are having problems but we will get it fixed.

Please ensure the connection was ok first by touching the screen, you should see circles appear on the simulator reflecting the touch.


I’ve tried this one: http://developer.anscamobile.com/content/gps but have no success.
So you have tried it on the simulator with ultimote or on the device? You should also compile and load it onto the device just to make sure GPS works on there as well.


But when I run my app, it doesn’t see a location from the iPhone and says “Simulator doesn’t support location events”.

The “simulator does not support location events” is not the problem. Corona will not block location events from being sent even if it detects we are on the simulator. However, one thing we noticed to be a problem was if you do not move the device around a good bit you may not get any location events. This is a power saving feature but it may get in the way of debugging. However we have some possible solutions for you that will make it much easier than using the device itself to debug location events.

  1. GPS Macro
    You do not have to be connected to the computer to use the event recorder on the device. Make sure you have location enabled, press event recorder on the device, give it a name, press the record button, and go for a drive/walk. When you come back you can load the macro on your computer and play back the macro as many times as you want. It will trick the simulator into thinking you are driving. We have a premade GPS macro that you can use for this purpose. Just go to the macro demo folder and run the GPS project to see what it can do.

  2. Google Earth Path
    Say for instance your client lives far away from you and you cannot possibly travel there simulate GPS events in that location. Instead you can hand draw a path in google earth or even use driving directions, export the coordinates, and play them back in the Corona simulator using Ultimote. Please refer to the documentation for more information on how that is done.

We suggest you take one of the two solutions posted above for debugging location events. Practically because it is hard to simulate location events if you are sitting in a chair :).

Thanks,
M.Y. Developers [import]uid: 55057 topic_id: 17667 reply_id: 90561[/import]

Hi!

Thanks for a quick reply.

  1. Connection is ok, cirlces are appeared in the simulator.
  2. I’ve tried it in the simulator with ultimote. I have no access to mac now and can’t build till the end of weekend.
  3. “However, one thing we noticed to be a problem was if you do not move the device around a good bit you may not get any location events”. Hmm, that’s sound strange. I got all the location data in the maps app for example without any movements. But I’ve tried to walk around my house and get no events.

In my app I need to get the static location to know where I am. I don’t need any paths or directions. Just static latitude and longtitude once is all I need.

I’ve got the location data in the console once at this evening, but can’t repeat it.

Also at this sample http://developer.anscamobile.com/code/enhanced-springboard-slidephoto-viewer scrolling with ultimote works wrong, but I’ve tried this sample on the device and it works like charm.

I’m disappointed, cause I paid 17$ for an app to test without making builds (I have a limit access to a Mac) and two things I want to check: location and scrolling don’t work properly. Maybe the problem is caused I’m on Windows, but I haven’t noticed any warnings about it.

Please help! [import]uid: 117007 topic_id: 17667 reply_id: 90572[/import]

Hello Overbeat,

Please send us your project (GPS) files to our email:
mydevelopergames@gmail.com
We will see if there is anything project specific that we can fix. We will also make the modifications to your GPS app to use the macros provided to show you how you can do this and make sure everything else works smoothly too. No worries, if all fails we will refund your money.

Thanks,
M.Y. Developers [import]uid: 55057 topic_id: 17667 reply_id: 90573[/import]

You can check that GPS sample (http://developer.anscamobile.com/content/gps) and that slider (http://developer.anscamobile.com/code/enhanced-springboard-slidephoto-viewer) They are both don’t work properly.

If you can make them work, I think I will have no problem with my app.

Do I have to send these links to your email? [import]uid: 117007 topic_id: 17667 reply_id: 90577[/import]

Hello Overbeat,

Thanks for the info and we will let you know what we find. By the way do you also have an android device?

Thanks,
M.Y. Developers [import]uid: 55057 topic_id: 17667 reply_id: 90582[/import]

No, I have only iPhone. [import]uid: 117007 topic_id: 17667 reply_id: 90679[/import]

No, I have only iPhone. [import]uid: 117007 topic_id: 17667 reply_id: 90680[/import]