Good day, to all thriving Corona developers.
It is my understanding that the “scene:create” function does any heavy lifting of graphic resources or table construction or OOP object construction BEFORE attempting to display graphic content.
And the “scene:didEnter” displays these pre-handled resources.
My confusion today concerns the placement of the following:
–CREATE AN IMAGE SHEET & DISPLAY AN IMAGE FRAME
local options = { width = 142, height = 234, numFrames = 15, sheetContentWidth = 710, sheetContentHeight = 702 } local spriteSheet = graphics.newImageSheet( "images/CardImageSheet.png", options) local card1 = display.newImageRect(sceneGroup, spriteSheet, 1, 142,234) card1.x = centerX card1.y = centerY
In my mind, the spriteSheet and options should be handled in the create function, and the displaying of card1 is handled in the “did enter” function.
To be safe, I forward referenced all variables, at the head of my playGUI.lua file, but the card only displays, when all of the above code is in either the create, or all the code is in the didEnter.
Does this not, “in theory” burden the didEnter function with heavy lifting that could have been handled in the create function?
Anyone care to explain this for the billionth time? 
Thanks.
Chris