Describe the bug
When i try run my game its show a black screen and in the simulator show the code what im want
Preview:
Logs:
08:21:28.719 WARNING: Failed to find image '/icon.png'
08:21:28.719 ERROR: Runtime error
08:21:28.719 ?:0: attempt to index a nil value
08:21:28.719 stack traceback:
08:21:28.719 ?: in main chunk
08:21:40.223 Application closed with exit code: 0
Result:
To Reproduce
Steps to reproduce the behavior:
try run this code
Describe the bug When i try run my game its show a black screen and in the simulator show the code what im want Preview:
Logs: 08:21:28.719 WARNING: Failed to find image '/icon.png' 08:21:28.719 ERROR: Runtime error 08:21:28.719 ?:0: attempt to index a nil value 08:21:28.719 stack traceback: 08:21:28.719 ?: in main chunk 08:21:40.223 Application closed with exit code: 0
Result:
To Reproduce Steps to reproduce the behavior: try run this code
local myicon = display.newImageRect( "/icon.png",57, 57 ) myicon.x = display.contentCenterX myicon.y = display.contentCenterY
Target platform and where build was made:
Additional context Add any other context about the problem here.
whole test project or build.settings Please attach project your issue can be reproduced on to speed up debugging