- Corona SDK Mobile Game Development:Beginner's Guide
- Michelle M. Fernandez
- 118字
- 2021-08-06 19:59:41
Time for action – modifying our application
Before we dive into more complex examples, let's alter some minor things in your program.
- Let's alter the second line of
main.lua
to display as follows:textObject = display.newText( "Hello World!", 50, 40, native.systemFont, 36 ) textObject:setTextColor( 124,252,0 )
- Save your file and go back to the CoronaSimulator. The simulator will detect a change from your file and automatically re-launch with the new changes. If the simulator doesn't re-launch automatically upon saving your file, press Command + R (Mac)/Ctrl + R (Windows).