Had to be iPhone
I got on a pc that I was near and now my status is waiting on upload YEA
@peach
Looked for your email couple days ago couldn’t find it
Didn’t really look hard
I was trying to see if you had got facebook working I was going to put in my game but give up and went with openfeint but may use in second app if you got a step by step I read iDeveloper example but think I need it broke down a little more think I may have figured it out if I wasn’t in a time crunch on the first app [import]uid: 7911 topic_id: 2645 reply_id: 11153[/import]
Update
App waiting on review [import]uid: 7911 topic_id: 2645 reply_id: 11165[/import]
No worries; my email is my name here at gmail
Sorry about the FB stuff, I’d have helped you out - when you do an update perhaps? In the end with a lot of fiddling and a bit of help from people here I got mine working just perfectly. [import]uid: 10144 topic_id: 2645 reply_id: 11175[/import]
Hello GS people:
Sorry if I missed this but I can’t figure out if there’s a way to search just one forum…
Anyone know if it’s possible to refer to an object using an expression? In GS, one could use (“imagename”…variable…".png") to refer to a numbered image. Is there way to do this in Corona? One method I was told about was to iterate through the members of a group, but I’m wondering if there’s a more direct way. Thanks for any suggestions. [import]uid: 6756 topic_id: 2645 reply_id: 11203[/import]
Check out the breakout game I think it demos what you looking for
http://developer.anscamobile.com/code/break-out-game [import]uid: 7911 topic_id: 2645 reply_id: 11204[/import]
Thanks jstrahan, it appears that once images are defined, it is possible to reference them programmatically (using expressions).
Now I’m wondering if there’s some way to define images programmatically in a loop, instead of writing out every image name. If I have, say, 20 images named image1.png, image2.png, image3.png, etc., can I define these using expressions in a loop?
Thanks. [import]uid: 6756 topic_id: 2645 reply_id: 11208[/import]
pseudocode:
[lua]myImages={}
for i=1,1000,1 do
myImages[i]=display.newImage(“image”…i…".png")
end[/lua]
Double-dot concatenates two strings (Lua supports automatic conversion from Number to String, which is here triggered for i) [import]uid: 7356 topic_id: 2645 reply_id: 11210[/import]
Thanks Magenda, that seems to work well. But with your example, is it the case that since the images are not assigned to variables, I cannot reference the images later to, for example, detect clicks on specific images?
New to Lua, I’m used to this:
local image1 = display.newImage(“image1.png”)
I assume this needs to be done so that there’s a way to reference the image in code. Can this variable assignment be done in your code above? [import]uid: 6756 topic_id: 2645 reply_id: 11211[/import]
Yes, of course…
[lua]myObjects={}
for i=1,1000,1 do
myObjects[“object”…i]=display.newImage(“image”…i…".png")
end
–later, you can call an object this way:
myObjects.object39.alpha=0.5 [import]uid: 7356 topic_id: 2645 reply_id: 11214[/import]
Thanks so much!
Playing around with this more, I believe an array index also works, yes?
myObjects[39].alpha=0.5
No, don’t implement it that way. Prefer named records for referencing (even it is a bit slower).
You may also find this quick tutorial interesting.
[import]uid: 7356 topic_id: 2645 reply_id: 11216[/import]
I already had that doc up in my browser window
Thanks for the clarification. Still learning the nuances of Lua…
Coming from the lack of programming options in GameSalad, I’m quite excited to be able to finally manage objects programmatically. [import]uid: 6756 topic_id: 2645 reply_id: 11218[/import]
You helped me help myself and others
http://developer.anscamobile.com/forum/2010/11/16/game-desing-best-practices
Thanks! [import]uid: 7356 topic_id: 2645 reply_id: 11222[/import]
Team Ansca !
We just published the roadmap
http://www.anscamobile.com/corona/roadmap/
We will continue to drill down further, and we will try to add a “like”/no like" button and poll.
In the meantime, here you can see where we are headed.
Enjoy and thanks for your patience.
Carlos <
My first corona app now on the AppStore
http://itunes.apple.com/us/app/u-t-s/id404517675?mt=8
Codes to come as soon as apple will give them to me [import]uid: 7911 topic_id: 2645 reply_id: 11838[/import]
I’m also an ex-GS user. I’m looking forward to the freedom that is Corona!
Hey, anyone seen TshirtBooth? Glad to see Orbz. Starting to look like a family reunion.
[import]uid: 11144 topic_id: 2645 reply_id: 11882[/import]
I don’t know that we’ll see TshirtBooth here any time soon; but nice to see yet another ex GS user here. What was your name over there? [import]uid: 10144 topic_id: 2645 reply_id: 11887[/import]
My name was Selected Focus. I had just started using GS a few months back. Then realized it was kind of buggy and it didn’t have some of the features i needed. So I was only a GS user for a couple months. I read a ton of the forums, but didn’t participate too much. I hope to do much more on the Corona forums. I’m very excited about the possibilities with Corona. It does pretty much everything I could ask it to do which is just awesome. And I hear in-app purchases are on its way, so once we get that, I’m here forever as long as Anscamobile doesn’t do something stupid like GS. [import]uid: 11144 topic_id: 2645 reply_id: 11892[/import]
@ jstrahan or anyone else. Not sure about OpenFeint? Can I use it just so user can share what app they are playing with others? Also confused on how to implement?
Thanks! [import]uid: 10062 topic_id: 2645 reply_id: 11908[/import]