Your SlideShare is downloading. ×
0
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Corona_introduction
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Corona_introduction

225

Published on

簡單的Corona基礎介紹,Corona是跨平台的智慧型裝置軟體開發工具,內建強大的2D遊戲物理引擎,API也支援基本控件、網路、硬體等等APP開發必備的內容,由於開發快速,有興趣的人務必嘗試嘗試!

簡單的Corona基礎介紹,Corona是跨平台的智慧型裝置軟體開發工具,內建強大的2D遊戲物理引擎,API也支援基本控件、網路、硬體等等APP開發必備的內容,由於開發快速,有興趣的人務必嘗試嘗試!

Published in: Technology, Art & Photos
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
225
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
14
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  1. CORONA 方又生 Evan, Yu-Sheng Fang evanfang102@gmail.com
  2. What is Corona SDK?
  3. Develop apps 10x faster
  4. Publish to all major platforms SORRY :P
  5. Build on industry standards
  6. Monetize, grow, and prosper
  7. Objective-c Java
  8.  Scripting Language 指令碼語言  執行快速,檔案小  簡單、易學、易用  只需簡易編輯器
  9. About Lua and for or break do else function if in repeat return then + == - * ~= ( ; ) : elseif local true / <= { , end nil until false not while % ^ # >= < >= } [ ] . .. ...
  10. Links http://www.lua.org/ http://docs.coronalabs.com/guide/st art/introLua/index.html
  11. Hall of Fame
  12. Throne Wars
  13. Mandora
  14. 不思議微生物タマタマ研究所
  15. Handy Tools 7-in-1
  16. Scott’s Submarine
  17. Animals’ Boat for Toddlers
  18. Install
  19. Download Corona
  20. Register
  21. Mac OS X or Microsoft Windows
  22. Get Started
  23. Corona Simulator
  24. Corona Simulator Output
  25. Get Started
  26. Sample Apps
  27. APIs
  28. Forum
  29. Demos
  30. Images & Text
  31. local sky = display.newImage(“sky.png”)
  32. local sky = display.newImage(“sky.png”) local logo = display.newImage(“corona.png”, 25, 65) logo:setFillColor( 245, 132, 0)
  33. local sky = display.newImage(“sky.png”) local logo = display.newImage(“corona.png”, 25, 65) logo:setFillColor( 245, 132, 0) logo:removeSelf() logo = nil
  34. local sky = display.newImage(“sky.png”) local logo = display.newImage(“corona.png”, 25, 65) logo:setFillColor( 245, 132, 0) logo:removeSelf() logo = nil local text = display.newText( “Corona is Easy!”, 40, 35, “Helvetica”, 22 ) text:setTextColor( 255 )
  35. Touch & Sound
  36. local onTouch = function( event ) if event.phase = “began” then local img = display.newImage (“logo.png”, event.x, event.y) end end
  37. local onTouch = function( event ) if event.phase = “began” then local img = display.newImage (“logo.png”, event.x, event.y) end end Runtime:addEventListener( “touch”, onTouch)
  38. local onTouch = function( event ) if event.phase = “began” then local img = display.newImage (“logo.png”, event.x, event.y) end end Runtime:addEventListener( “touch”, onTouch)
  39. local tapSound = audio.loadSound( “beep.mp3” ) local onTouch = function( event ) if event.phase = “began” then local img = display.newImage (“logo.png”, event.x, event.y) audio.play( tapSound ) end end Runtime:addEventListener( “touch”, onTouch)
  40. physics
  41. local sky = display.newImage( “sky.png” ) local grass = display.newImage( “grass.png” ) grass.y = 439 local crate = display.newImage( “crateA.png” ) crate.x, crate.y = 200, 100 crate.rotation = 50
  42. local physics = require “physics” physics.start() local sky = display.newImage( “sky.png” ) local grass = display.newImage( “grass.png” ) grass.y = 439 physics.addBody( grass, “static”, { friction=0.3} ) local crate = display.newImage( “crateA.png” ) crate.x, crate.y = 200, 100 crate.rotation = 50 physics.addBody( crate, { bounce = 0.3 } )

×