Hey there,
I’m using the latest daily build and have the issue, I will try your code changes and see if that fixes it.
Thanks for the quick response! [import]uid: 125387 topic_id: 30840 reply_id: 142883[/import]
Hey there,
I’m using the latest daily build and have the issue, I will try your code changes and see if that fixes it.
Thanks for the quick response! [import]uid: 125387 topic_id: 30840 reply_id: 142883[/import]
I’m trying it now on the latest build and it seems to be ok - what error are you getting in the console when you try to run it? [import]uid: 93133 topic_id: 30840 reply_id: 142888[/import]
Hey there, tried on latest build with no luck. I also tried making your code changes but still no luck
This is the console output:
2013-02-16 08:40:46.150 Corona Simulator[365:707] Version: 2.0.0
2013-02-16 08:40:46.150 Corona Simulator[365:707] Build: 2013.1031
2013-02-16 08:40:46.154 Corona Simulator[365:707] The file sandbox for this project is located at the following folder:
(/Users/jsdl/Library/Application Support/Corona Simulator/Template copy-27044E733146FF47C26A75E2BC82C9C5)
2013-02-16 08:40:46.532 Corona Simulator[365:707] WARNING: Disabling the idle timer reduces battery life on the device. Also, there is no timer on the simulator
2013-02-16 08:40:46.533 Corona Simulator[365:707] Unsupported key: MixMode in audio library
2013-02-16 08:40:46.533 Corona Simulator[365:707] Unsupported key: AmbientMixMode in audio library
2013-02-16 08:40:46.534 Corona Simulator[365:707] Runtime error
error loading module 'GGData' from file '/Users/jsdl/Desktop/In Progress/iPhone/Logo Quiz 1.0 iPhone/Template copy/GGData.lua':
...Desktop/In Progress/iPhone/Logo Quiz 1.0 iPhone/Template copy/GGData.lua:4: unexpected symbol near 'stack traceback:
[C]: ?
[C]: ?
[C]: in function 'require'
?: in function 'require'
...s/iPhone/Logo Quiz 1.0 iPhone/Template copy/main.lua:11: in main chunk
2013-02-16 08:40:46.535 Corona Simulator[365:707] Runtime error:
2013-02-16 08:40:46.535 Corona Simulator[365:707] error loading module 'GGData' from file '/Users/jsdl/Desktop/In Progress/iPhone/Logo Quiz 1.0 iPhone/Template copy/GGData.lua':
...Desktop/In Progress/iPhone/Logo Quiz 1.0 iPhone/Template copy/GGData.lua:4: unexpected symbol near 'stack traceback:
[C]: ?
[C]: ?
[C]: in function 'require'
?: in function 'require'
...s/iPhone/Logo Quiz 1.0 iPhone/Template copy/main.lua:11: in main chunk
I do have the GGData.lua in the template folder, but something must be wrong with it. I’m going to try downloading it again and will report back. [import]uid: 125387 topic_id: 30840 reply_id: 143012[/import]
Aha - it’s fixed now! I apparently had a bad GGData.lua file. The correct one that worked for me is at https://github.com/GlitchGames/GGData/blob/master/corona/GGData.lua
Thanks again [import]uid: 125387 topic_id: 30840 reply_id: 143013[/import]
@nick_sherman I bought the template but when I run it in Corona, nothing happens after it shows the Otter Studios splash screen… after that it’s just black. I do have the GGData library in the folder. Please advise! [import]uid: 125387 topic_id: 30840 reply_id: 142821[/import]
I just bought the template and i have the same problem as @jsdl
it doesnt show anything after the Otter studios logo screen
please help
thanks [import]uid: 159148 topic_id: 30840 reply_id: 142833[/import]
Can you tell me which errors you are getting and what version of Corona you’re running? [import]uid: 93133 topic_id: 30840 reply_id: 142836[/import]
@nick_sherman
When i run the main.lua file on the simulator, the Otter studios logo screen appears and the screen turns blank (black screen) after that…
I am running the code on corona sdk (Build 2012.894)
Corona Version 2012.894 (2012.8.27) [import]uid: 159148 topic_id: 30840 reply_id: 142837[/import]
Hi,
The error is because since build 894, Corona introduced two new APIs - display.pixelHeight and display.pixelWidth in order to deal with the iPhone 5.
Is there a reason you need to use this old build, as 970 is the last public release?
If you really don’t want to update, replace the code at lines 63-64 in main.lua with:
[lua]
if display.pixelHeight ~= nil then
if ( “iPhone” == system.getInfo( “model” ) ) and ( display.pixelHeight > 960 ) then _G.model = “I5”; end
if (display.pixelHeight == 1024 or display.pixelHeight == 2048) then _G.model = “IP”; end
end
[/lua]
and line 303 with:
[lua]
local isTall = false
if display.pixelHeight ~= nil then
isTall = ( “iPhone” == system.getInfo( “model” ) ) and ( display.pixelHeight > 960 )
end
[/lua]
[import]uid: 93133 topic_id: 30840 reply_id: 142842[/import]
Hey there,
I’m using the latest daily build and have the issue, I will try your code changes and see if that fixes it.
Thanks for the quick response! [import]uid: 125387 topic_id: 30840 reply_id: 142883[/import]
I’m trying it now on the latest build and it seems to be ok - what error are you getting in the console when you try to run it? [import]uid: 93133 topic_id: 30840 reply_id: 142888[/import]
Hey there, tried on latest build with no luck. I also tried making your code changes but still no luck
This is the console output:
2013-02-16 08:40:46.150 Corona Simulator[365:707] Version: 2.0.0
2013-02-16 08:40:46.150 Corona Simulator[365:707] Build: 2013.1031
2013-02-16 08:40:46.154 Corona Simulator[365:707] The file sandbox for this project is located at the following folder:
(/Users/jsdl/Library/Application Support/Corona Simulator/Template copy-27044E733146FF47C26A75E2BC82C9C5)
2013-02-16 08:40:46.532 Corona Simulator[365:707] WARNING: Disabling the idle timer reduces battery life on the device. Also, there is no timer on the simulator
2013-02-16 08:40:46.533 Corona Simulator[365:707] Unsupported key: MixMode in audio library
2013-02-16 08:40:46.533 Corona Simulator[365:707] Unsupported key: AmbientMixMode in audio library
2013-02-16 08:40:46.534 Corona Simulator[365:707] Runtime error
error loading module 'GGData' from file '/Users/jsdl/Desktop/In Progress/iPhone/Logo Quiz 1.0 iPhone/Template copy/GGData.lua':
...Desktop/In Progress/iPhone/Logo Quiz 1.0 iPhone/Template copy/GGData.lua:4: unexpected symbol near 'stack traceback:
[C]: ?
[C]: ?
[C]: in function 'require'
?: in function 'require'
...s/iPhone/Logo Quiz 1.0 iPhone/Template copy/main.lua:11: in main chunk
2013-02-16 08:40:46.535 Corona Simulator[365:707] Runtime error:
2013-02-16 08:40:46.535 Corona Simulator[365:707] error loading module 'GGData' from file '/Users/jsdl/Desktop/In Progress/iPhone/Logo Quiz 1.0 iPhone/Template copy/GGData.lua':
...Desktop/In Progress/iPhone/Logo Quiz 1.0 iPhone/Template copy/GGData.lua:4: unexpected symbol near 'stack traceback:
[C]: ?
[C]: ?
[C]: in function 'require'
?: in function 'require'
...s/iPhone/Logo Quiz 1.0 iPhone/Template copy/main.lua:11: in main chunk
I do have the GGData.lua in the template folder, but something must be wrong with it. I’m going to try downloading it again and will report back. [import]uid: 125387 topic_id: 30840 reply_id: 143012[/import]
Aha - it’s fixed now! I apparently had a bad GGData.lua file. The correct one that worked for me is at https://github.com/GlitchGames/GGData/blob/master/corona/GGData.lua
Thanks again [import]uid: 125387 topic_id: 30840 reply_id: 143013[/import]
@nick_sherman I bought the template but when I run it in Corona, nothing happens after it shows the Otter Studios splash screen… after that it’s just black. I do have the GGData library in the folder. Please advise! [import]uid: 125387 topic_id: 30840 reply_id: 142821[/import]
I just bought the template and i have the same problem as @jsdl
it doesnt show anything after the Otter studios logo screen
please help
thanks [import]uid: 159148 topic_id: 30840 reply_id: 142833[/import]
Can you tell me which errors you are getting and what version of Corona you’re running? [import]uid: 93133 topic_id: 30840 reply_id: 142836[/import]
@nick_sherman
When i run the main.lua file on the simulator, the Otter studios logo screen appears and the screen turns blank (black screen) after that…
I am running the code on corona sdk (Build 2012.894)
Corona Version 2012.894 (2012.8.27) [import]uid: 159148 topic_id: 30840 reply_id: 142837[/import]
Hi,
The error is because since build 894, Corona introduced two new APIs - display.pixelHeight and display.pixelWidth in order to deal with the iPhone 5.
Is there a reason you need to use this old build, as 970 is the last public release?
If you really don’t want to update, replace the code at lines 63-64 in main.lua with:
[lua]
if display.pixelHeight ~= nil then
if ( “iPhone” == system.getInfo( “model” ) ) and ( display.pixelHeight > 960 ) then _G.model = “I5”; end
if (display.pixelHeight == 1024 or display.pixelHeight == 2048) then _G.model = “IP”; end
end
[/lua]
and line 303 with:
[lua]
local isTall = false
if display.pixelHeight ~= nil then
isTall = ( “iPhone” == system.getInfo( “model” ) ) and ( display.pixelHeight > 960 )
end
[/lua]
[import]uid: 93133 topic_id: 30840 reply_id: 142842[/import]
Hey there,
I’m using the latest daily build and have the issue, I will try your code changes and see if that fixes it.
Thanks for the quick response! [import]uid: 125387 topic_id: 30840 reply_id: 142883[/import]
I’m trying it now on the latest build and it seems to be ok - what error are you getting in the console when you try to run it? [import]uid: 93133 topic_id: 30840 reply_id: 142888[/import]