Hay Everyone!!
My name is Kurt Bringsjord, and I am new to the whole Corona thing, and I am working on a whole papi Jump/doodle jump type of app. I have a serious pre beta version working ok on the emulator, but if I change the view to iPhone 4 it makes it not work correctly. I think it has something to do with the fact that I am using this
–Setting Background Image and making it Scroll up
local paper = display.newImage(“paper.png”)
paper:setReferencePoint(display.CenterLeftReferencePoint)
paper.x = 0
paper.y = 0
local paper2 = display.newImage(“paper.png”)
paper2:setReferencePoint(display.CenterLeftReferencePoint)
paper2.x = 0
paper2.y = 480
local tPrevious = system.getTimer()
local function move(event)
local tDelta = event.time - tPrevious
tPrevious = event.time
local yOffset = ( 0.15 * tDelta )
paper.y = paper.y - yOffset
paper2.y = paper2.y - yOffset
if (paper.y + paper.contentHeight-240) < 0 then
paper:translate( 0, 480 * 2)
end
if (paper2.y + paper2.contentHeight-240) < 0 then
paper2:translate(0, 480 * 2)
end
end
Runtime:addEventListener( “enterFrame”, move )
Is there something that I have to change to make it work on iPhone 4?
Any help is greatly appreciated!!
[import]uid: 86879 topic_id: 14410 reply_id: 314410[/import]
