Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Corona® Ultimote v1.4 - New Version!
Started by M.Y.developers Nov 12 2011 11:32 AM

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

Daniel W.

[GLOBAL: userInfoPane.html]
Daniel W.
  • Contributor

  • 249 posts
  • Corona SDK

This is a great tool and it worked great with the demo app. But when I tested out the Shape Tumbler demo - http://developer.anscamobile.com/content/shape-tumbler - and removed every object but one, this is the error I received. Any ideas?

.../thatssopanda/Dropbox/mygame/code/Ultimote.lua:266: attempt to index local 'payload' (a number value)
stack traceback:
[C]: ?
.../thatssopanda/Dropbox/mygame/code/Ultimote.lua:266: in function 'sendRemoteImages'
.../thatssopanda/Dropbox/mygame/code/Ultimote.lua:606: in function <.../thatssopanda/Dropbox/mygame/code/Ultimote.lua:536>
?: in function
Runtime error
.../thatssopanda/Dropbox/mygame/code/Ultimote.lua:266: attempt to index local 'payload' (a number value)
stack traceback:
uid: 14218 topic_id: 17667 reply_id: 84329


[TOPIC: post.html]
#52

M.Y.developers

[GLOBAL: userInfoPane.html]
M.Y.developers
  • Corona Geek

  • 1,517 posts
  • Corona SDK

Hello Daniel,
Thank you for your support. Sorry to hear you are having problems but we are currently working on an update that will fix many networking issues that may be a problem. We will be using our AutoLAN interface that is much better than the current methodology. We are also greatly improving the user interface to make it more pleasing to work with. We hope to have it released sometime this weekend.

To address your issue we need more information. Are you trying to stream the images to the device? If so perhaps you should try turning on sendAllObjects mode to prevent sending the images. It will still stream the object bounding boxes. You can do it like this:
ultimote.setOption{sendAllObjects = true}

Let us know if that fixes your problem and thank you for your interest.
M.Y. Developers
uid: 55057 topic_id: 17667 reply_id: 84393


[TOPIC: post.html]
#53

Hive

[GLOBAL: userInfoPane.html]
Hive
  • Enthusiast

  • 86 posts
  • Corona SDK

I've been on hiatus with projects but will be back in the fray soon. Can't wait to check out the new goodies.
uid: 42417 topic_id: 17667 reply_id: 84545


[TOPIC: post.html]
#54

M.Y.developers

[GLOBAL: userInfoPane.html]
M.Y.developers
  • Corona Geek

  • 1,517 posts
  • Corona SDK

Hello Hive,

Thank you for your support! Yes, the update will be out soon. Please let us know if you have any suggestions or comments.

Thank you,
M.Y. Developers
uid: 55057 topic_id: 17667 reply_id: 84551


[TOPIC: post.html]
#55

Daniel W.

[GLOBAL: userInfoPane.html]
Daniel W.
  • Contributor

  • 249 posts
  • Corona SDK

Thanks for the reply M.Y.developers. I'm not trying to do anything else besides connect it. Do you have a support email that I can send my current code to?
uid: 14218 topic_id: 17667 reply_id: 84556


[TOPIC: post.html]
#56

M.Y.developers

[GLOBAL: userInfoPane.html]
M.Y.developers
  • Corona Geek

  • 1,517 posts
  • Corona SDK

Hi Daniel,

Yes, please send your code to mydevelopergames@gmail.com. We will take a look at it.

Thank you,
M.Y. Developers
uid: 55057 topic_id: 17667 reply_id: 84565


[TOPIC: post.html]
#57

M.Y.developers

[GLOBAL: userInfoPane.html]
M.Y.developers
  • Corona Geek

  • 1,517 posts
  • Corona SDK

Hello Community,

We have just submitted the 1.4 update to both Android and Apple stores. Please allow some time for Apple to get approved but if you have a pressing issue then please send us your device UDID and we will get you an ad-hoc version. Note that for this version you must download the updated library files found here:
www.mydevelopersgames.com/site/Ultimote/CoronaUltimoteDistribution.zip

Whats new in this version?
-Much improved user interface
-Improved network code based on AutoLAN
-Improved stability

Thanks,
M.Y. Developers
uid: 55057 topic_id: 17667 reply_id: 84916


[TOPIC: post.html]
#58

M.Y.developers

[GLOBAL: userInfoPane.html]
M.Y.developers
  • Corona Geek

  • 1,517 posts
  • Corona SDK

Hello Community,

Update is live! Please be sure to download the new library files for this version as the older ultimote.lua will not work. You can find it here:
http://www.mydevelopersgames.com/site/Ultimote/UltimoteDistribution.zip

Thank you and let us know if you have any questions,
M.Y. Developers
uid: 55057 topic_id: 17667 reply_id: 86514


[TOPIC: post.html]
#59

M.Y.developers

[GLOBAL: userInfoPane.html]
M.Y.developers
  • Corona Geek

  • 1,517 posts
  • Corona SDK

Hello Community,

We would like to get everyone's feedback on the new update. If you can put a few things you like or want us to improve upon please post below. Also if you are experiencing new problems please let us know about it.

Thanks,
M.Y. Developers
uid: 55057 topic_id: 17667 reply_id: 86954


[TOPIC: post.html]
#60

producerism

[GLOBAL: userInfoPane.html]
producerism
  • Contributor

  • 249 posts
  • Corona SDK

I must be doing something wrong, I'm not even getting the "waiting for device" message. I have ultimote running on my android, and added the require and .connect() line in my main.lua for ultimote and running in the simulator.

No dice - and unfortunately since the documentation make it sound like it should just work, I'm not even sure where to start troubleshooting.

The "ConnectionDemo" isn't working for me either, and isn't giving any sort of "waiting for device" messages in console.
uid: 49447 topic_id: 17667 reply_id: 87538


[TOPIC: post.html]
#61

M.Y.developers

[GLOBAL: userInfoPane.html]
M.Y.developers
  • Corona Geek

  • 1,517 posts
  • Corona SDK

Hello producerism,

Sorry to hear you are having problems.
Android seems to be a problematic platform for us as some phones have bugs with their networking drivers (stuff with UDP broadcasts.) Do you by any chance have an iOS device? We can send you a promo code for the apple app store to see if that works first. Please send us your email as well. If not then send us your phone specs (hopefully not HTC.) We will work with you to get this fixed or refund your money.

Thanks,
M.Y. Developers
uid: 55057 topic_id: 17667 reply_id: 87574


[TOPIC: post.html]
#62

producerism

[GLOBAL: userInfoPane.html]
producerism
  • Contributor

  • 249 posts
  • Corona SDK

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.
uid: 49447 topic_id: 17667 reply_id: 87735


[TOPIC: post.html]
#63

M.Y.developers

[GLOBAL: userInfoPane.html]
M.Y.developers
  • Corona Geek

  • 1,517 posts
  • Corona SDK

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
uid: 55057 topic_id: 17667 reply_id: 88166


[TOPIC: post.html]
#64

yanuar

[GLOBAL: userInfoPane.html]
yanuar
  • Contributor

  • 256 posts
  • Corona SDK

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
uid: 76697 topic_id: 17667 reply_id: 89035


[TOPIC: post.html]
#65

M.Y.developers

[GLOBAL: userInfoPane.html]
M.Y.developers
  • Corona Geek

  • 1,517 posts
  • Corona SDK

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
uid: 55057 topic_id: 17667 reply_id: 89126


[TOPIC: post.html]
#66

yanuar

[GLOBAL: userInfoPane.html]
yanuar
  • Contributor

  • 256 posts
  • Corona SDK

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
uid: 76697 topic_id: 17667 reply_id: 89184


[TOPIC: post.html]
#67

M.Y.developers

[GLOBAL: userInfoPane.html]
M.Y.developers
  • Corona Geek

  • 1,517 posts
  • Corona SDK

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
uid: 55057 topic_id: 17667 reply_id: 89214


[TOPIC: post.html]
#68

yanuar

[GLOBAL: userInfoPane.html]
yanuar
  • Contributor

  • 256 posts
  • Corona SDK

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
uid: 76697 topic_id: 17667 reply_id: 89409


[TOPIC: post.html]
#69

M.Y.developers

[GLOBAL: userInfoPane.html]
M.Y.developers
  • Corona Geek

  • 1,517 posts
  • Corona SDK

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
uid: 55057 topic_id: 17667 reply_id: 89502


[TOPIC: post.html]
#70

yanuar

[GLOBAL: userInfoPane.html]
yanuar
  • Contributor

  • 256 posts
  • Corona SDK

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!!
uid: 76697 topic_id: 17667 reply_id: 89595


[TOPIC: post.html]
#71

M.Y.developers

[GLOBAL: userInfoPane.html]
M.Y.developers
  • Corona Geek

  • 1,517 posts
  • Corona SDK

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
uid: 55057 topic_id: 17667 reply_id: 89996


[TOPIC: post.html]
#72

dataskrekk lab

[GLOBAL: userInfoPane.html]
dataskrekk lab
  • Contributor

  • 133 posts
  • Corona SDK

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?
uid: 109677 topic_id: 17667 reply_id: 90156


[TOPIC: post.html]
#73

M.Y.developers

[GLOBAL: userInfoPane.html]
M.Y.developers
  • Corona Geek

  • 1,517 posts
  • Corona SDK

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
uid: 55057 topic_id: 17667 reply_id: 90159


[TOPIC: post.html]
#74

overbeat

[GLOBAL: userInfoPane.html]
overbeat
  • Enthusiast

  • 34 posts
  • Corona SDK

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.
uid: 117007 topic_id: 17667 reply_id: 90508


[TOPIC: post.html]
#75

M.Y.developers

[GLOBAL: userInfoPane.html]
M.Y.developers
  • Corona Geek

  • 1,517 posts
  • Corona SDK

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
uid: 55057 topic_id: 17667 reply_id: 90561



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