- Corona SDK Mobile Game Development:Beginner's Guide(Second Edition)
- Michelle M. Fernandez
- 135字
- 2021-07-23 19:37:13
Time for action – modifying our application
Before we dive into more complex examples, let's alter some minor things in our program by performing the following steps:
- Let's alter the second line of
main.lua
to display as follows:textObject = display.newText( "Hello World!", 160, 80, native.systemFont, 36 ) textObject:setFillColor( 0.9, 0.98 ,0 )
- Save your file and go back to the Corona simulator. The simulator will detect a change from your file and automatically relaunch with the changes. If the simulator doesn't relaunch automatically upon saving your file, press Command + R (Mac) / Ctrl + R (Windows). You will see the following output on the screen:
推薦閱讀
- Java多線程編程實戰指南:設計模式篇(第2版)
- Kali Linux Web Penetration Testing Cookbook
- 觸·心:DT時代的大數據精準營銷
- Offer來了:Java面試核心知識點精講(原理篇)
- INSTANT Sencha Touch
- STM32F0實戰:基于HAL庫開發
- Android開發案例教程與項目實戰(在線實驗+在線自測)
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- MySQL入門很輕松(微課超值版)
- 零基礎輕松學C++:青少年趣味編程(全彩版)
- HTML5 WebSocket權威指南
- 程序員的英語
- Scratch超人漫游記:創意程序設計:STEAM創新教育指南
- C++面向對象程序設計教程
- 基于Docker的Redis入門與實戰