Hi,
With the introduction of 2012.2, we've decided to do some changes on the Gideros API. We want to get rid of previously made design mistakes as soon as possible so that the API can grow up healthy and strong.
Here is the list of changes:
http://www.giderosmobile.com/documentation/migrating_from_2011.9_to_2012.2.htmlUnfortunately, these changes may force you to do some changes on your current codes. Thanks for your understanding.
Best,
Comments
Likes: atilim, gorkem
thanks.
Likes: atilim
www.tntengine.com
But when changing back to "fobar = gideros.class(Sprite)" everything works fine.
I also tried to change the "event.touches" to "event.touch" But when I try to access for instance " event.touch[1].x " I dont get any print message in the output window.
Typing:
for i=1,#event.touch do
print(event.touch[i].x.. "X Pos")
end
gives me nothing, whereas
for i=1,#event.touches do
print(event.touches[i].x.. "X Pos")
end
gives me the position. I guessing I'm doing something completely wrong...
And for event.touch, you should write
#-o
That was the problem, I was using Gideros studio 2012.2 but I was using the "old" 2011.9 player on my device... That also explains why it worked on the computer but not on the device
Installed the new player on my device and now it works like a charm! Ahaa, now I get it.
Thanks!!!