Does using “public setting” give up my proprietary rights?
Rob,
I un-installed Corona and deleted all references to Corona from the registry, then re-installed Corona and my Password problem went away. ( I didn’t meddle with the install)
My apk compiled without a problem, but it still doesn’t work. At least I am back to where I was a couple of days ago. :)
I have also completely revamped my project to work with your ultimate config.lua.
Sid
Glad you got that issue solved.
Rob
I am having difficulty transitioning from Corona Simulator to Android Build.
The following code positions the image correctly in Corona Simulator, but in Android Build on my Samsung Galaxy S3, the image is positioned in the upper left corner.
I have tried the Android build after “commenting out” all of the code beyond the .x .y positioning and it doesn’t change the upper left positioning on the Samsung.
local TF30 = display.newImage( “TF30.png” )
TF30.x = 725
TF30.y = 675
HELP!
I’m going to take a blind stab and bet that your image isn’t named TF30.png. Perhaps its tf30.png or TF30.PNG or some other name with a different case. It’s going to be ahrd to know exactly without looking for errors in you device console.log. If you don’t know how to read the android device’s console log, please read this tutorial:
http://coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/
We probably should also see your config.lua as well.
Rob
Sid, do you use Skype? Your story has inspired me and i would be happy to help walk you through the steps needed in order to figure out and resolve your issue.
If so, add me on Skype: Gremlin_Interactive
Why not make the simulator case sensitive also…? Lol. I had the same problem … My file names didn’t match.
It’s not something we can control. The OS’s API’s are case insenstive. We have to use what they give us. Ironically on OS-X, the underlying Unix operating system is case sensitive, but the Finder and it’s API’s on top are not. Windows simply isn’t case sensitive.
I’ve gotten 3 out of 4 images in one scene into proper X,Y positions in android Samsung SIII by doing it this way:
local teddy = display.newImage( “Bg07TeddyBearStanding.png”,329,649 )
function teddy:touch( event )
but the 4th is a “group” and try as I might I can’t make it happen with the group.
The following works in Corona simulator but doesn’t translate to android:
local group = display.newGroup ()
local spin=display.newImage(“TairplaneSpin.png”)
group:insert ( spin,true )
spin.isVisible = false
local plane = display.newImage ( “Tairplane.png”)
group:insert ( plane, true )
group.x = 150
group.y = 75
HELP PLEASE!
I have to say that it is very disconcerting to have “presumed” that getting the code to work in all platforms in Corona Simulator would translate to the various “actual” platforms.
Groups start with their center at 0, 0. If you draw and image centered at 50, 50 and then move the group to 150, 75, then the image should move to 200, 125.
Rob
Rob,
with the following code and nothing else, it still doesn’t appear on the smart phone.
local group = display.newGroup ()
local spin=display.newImage(“TairplaneSpin.png”)
group:insert ( spin,true )
spin.isVisible = false
local plane = display.newImage ( “Tairplane.png”)
group:insert ( plane, true )
group.x = 200
group.y = 125
Thank you for being so prompt
Are you sure the filename’s are:
TairplainSpin.png and Tairplane.png and not tairplain.png or tairplanespin.png or Tairplane.PNG or any other combination of case sensitive issues?
Positive, I just verified it
Is there any reason you’re passing true when inserting the groups?
Is there a reason you’re not setting the .x and .y on the objects instead of having them draw at 0, 0?
Basically, I am just following examples of the sample code.
I have no understanding of the “draw” command. Would it be a better approach?
I am just trying to position movable small images at strategic points on the background.
My son in law and two grandsons have invited me to go to a “Blue Crabs” minor league Baseball game here in MD. so I will be leaving fairly soon for the game.
When I say draw, I mean position:
local group = display.newGroup ()
local spin=display.newImage(“TairplaneSpin.png”)
spin.x = 100
spin.y = 100 – or where ever you want it.
group:insert ( spin )
spin.isVisible = false
local plane = display.newImage ( “Tairplane.png”)
plane.x = 200
plane.y = 200 – or where ever you want
group:insert ( plane )
group.x = 200
group.y = 125
Rob,
SUCCESS!!
MANY THANKS and apologies too
I finally spotted a “case” problem with the “spin” image. I have 20 20 vision but with glaucoma, my eyes sometimes play tricks. :wacko:
Your help with the “group” having a different positioning convention helped greatly.
The following code WORKS!!! I’M SO HAPPY
local group = display.newGroup ()
local spin = display.newImage(“TairplaneSpin.png”,175,160)
group:insert ( spin )
spin.isVisible = false
local plane = display.newImage ( “Tairplane.png”,175,160)
group:insert ( plane )
Rob,
Thanks for your help.
Hurrah! I have all 50 scenes working very well on my Samsung SIII
I upgraded to “Basic”, will the “Basic” upgrade permit me to build to iOS? (it’s a bit confusing)
I noticed the price break for EDU: Corona SDK Pro: $249/year
Do you think I, “the 71 year old student” could catch a break?
You could build for iOS with the starter account. What Basic gets you is access to In App Purchases.
If you can produce a valid student ID, you can get the discount. Age doesn’t matter.
That’s a bummer. I can ill afford the upgrade fee.
Now that you tell me, I found the iOS instruction page. :wacko:
Why would I need app purchases?
I should have learned by now not to “shoot first, then ask questions later”