WHITE SCREEN

My games on google play store when all my friends start it they get a white screen

Download it and install it on your device, hook it up to your computer, and use ADB to examine the console output to see what is happening.

https://docs.coronalabs.com/guide/distribution/androidBuild/index.html

https://docs.coronalabs.com/guide/distribution/androidBuild/index.html#debugging

The good news is, once you figure it out, you can re-build and upload a new version.  It will be up in an hour or two at the most.

in fact, what is your app link?

Sky Dodger? https://play.google.com/store/apps/details?id=com.gmail.retroarcadezzz.Sky_Dodger&hl=en 

Here is the problem, probably the wrong file case:

I/Corona ( 8214): Warning: Failed to find image 'images/title.png'

This should have popped right out when you tested on your device before building for the store?

Did you test on a device?  If not, I strongly suggest it first.

Small nitpick too.  Your images show “Copy Right”  which means something completely different.  It should be one word: “Copyright”

Yes that’s the link it can’t find the title image? It works perfectly fine on the simulator I thought they review it as well? @roaminggamer

Google only reviews your app if they decide to feature it. If it’s fin in the simulator but not on device you likely have a case sensitivity problem with the file name.

@keelanbrison,

While the simulator is wonderful and I use it very heavily, it can’t catch issues with case sensitivity.  As well, you can’t test things like ads, game center, etc.

You must test on an actual device.  Leaving that step out opens you to the possibility of failure after releasing your app.

I have a module which you can use on future projects that will help you catch file-case  issues in the simulator:

http://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2015/01/caseDetectError.zip

 

The link above includes the module and shows how to use it.

 

  1. Simply include ‘caseErrorDetect.lua’ in your root folder (same location as main.lua)

 

  1. Add this code to the very top of main.lua before all other code:

    – 1. Include this file in your project (very early or as first line in main.lua) local ced = require “caseErrorDetect” – 2. Optionally promote warning prints to errors ced.promoteToError()

  2. Run your app in the simulator.

 

Now, as you run your app, it will pop up a dialog if it encounters a case error and tell you the file and line number.

 

It does not check your whole project automatically.  It only discovers issues as you run the app and execute the problem code.

@roaminggamer says “gameisover” file doesnt exit

Why do you post such short sentences when asking for help?  

It is a bit frustrating to try to help people who don’t explain what is going on.  You need to put more effort into asking for help.  

Be understood, and don’t spend less time asking for help than the person who helps spends time answering.

Clearly and concisely state …

  1. What you did.

  2. What you saw.

  3. What you expected to see.

@roaminggamer says “gameisover” file doesnt exit

Doesn’t mean anything.

Are you saying you:

  1. Installed the module.

  2. Modified main.lua as I said.

  3. Ran your game in the simulator.

  4. Got a pop-up that said:  “gameisover” file doesnt exit

If so, this is pretty clear.  In your code you are either trying to load a lua file or a resource file with the prefix 'gameisover" and you’re not using the right case.  The spelling and file cases must match EXACTLY.

I’m also quite sure the pop-up lists line numbers in most cases.

Well first of all I installed the thing you said to install at the link you gave me secondly I added it to the same place main.lua is at then I modified main.lua then went ahead and ran my game and thats when the error popped up.

This good? :slight_smile:

A little better, but compare your response to the length, clarity, formatting effort, re-editing (I edit after posting to fix issues), etc. that went into all of my responses.  

You can and should do more to make it easy for others to answer your questions.

My rule of thumb is, " Spend more time asking the question than others will spend reading, understanding, and answering it."

Now… enough of that.

I think, you already have the answer you need to solve this problem.  Simply:

  1. Look for the file with the prefix “gameisover”

  2. Look through your code and verify you spell it the exact same way.

  3. Also verify that you include or do not include an extension when appropriate.

Ex:

When using PNG or JPG file, the path and extensions look like this:

-- The format: "path/path2/file.ext" -- An example: "images/smiley.png"

Ex2: 

When referring to a Lua file the paths look like this:

-- The format: "path.path2.file" -- An example: "scripts.myModule" -- An example: "scenes.myScene"

I see I commented out the code for your command and it shows another error saying module error ‘GameIsOver’ not found and then in brackets (gameisover.lu) is not found the extension “lu” its searching for how do i change it so it searches for the actual file extension which is “lua” @roaminggamer

You don’t include .lua in the filename when opening files via require(), etc.

require "somescript.lua" --WRONG require "somescript" --RIGHT

Download it and install it on your device, hook it up to your computer, and use ADB to examine the console output to see what is happening.

https://docs.coronalabs.com/guide/distribution/androidBuild/index.html

https://docs.coronalabs.com/guide/distribution/androidBuild/index.html#debugging

The good news is, once you figure it out, you can re-build and upload a new version.  It will be up in an hour or two at the most.

in fact, what is your app link?

Sky Dodger? https://play.google.com/store/apps/details?id=com.gmail.retroarcadezzz.Sky_Dodger&hl=en 

Here is the problem, probably the wrong file case:

I/Corona ( 8214): Warning: Failed to find image 'images/title.png'

This should have popped right out when you tested on your device before building for the store?

Did you test on a device?  If not, I strongly suggest it first.

Small nitpick too.  Your images show “Copy Right”  which means something completely different.  It should be one word: “Copyright”

Yes that’s the link it can’t find the title image? It works perfectly fine on the simulator I thought they review it as well? @roaminggamer