Cross Game Dev with Corona

1,298 views
1,212 views

Published on

Learn about Cross Platform Mobile Game Development with CoronaSDK from Corona Labs. I discuss some of the benefits I've found with Corona and why I chose this platform for our game development.

Published in: Technology, Travel
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,298
On SlideShare
0
From Embeds
0
Number of Embeds
26
Actions
Shares
0
Downloads
18
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Cross Game Dev with Corona

    1. 1. X-GameDevelopment with Corona Shawn Grimes Senior Mobile Developer Campfire Apps, LLC. #XGameDev
    2. 2. Special Thanks
    3. 3. #XGameDev About Me•Shawn Grimes •@shawng •http://shawngrimes.me •Mobile Developer - Apps/Games •Tag: #XGameDev
    4. 4. Shawn & Stephanie Grimes
    5. 5. #XGameDev
    6. 6. #XGameDevReach more targeted audience. ?
    7. 7. #XGameDev My Requirements Primary Secondary• Bring my iOS Cocos2D • Physics engine games to Nook • Database support• Easy to learn • Kindle Fire• Inexpensive, • Active Project/New free=better Features• Fast!
    8. 8. #XGameDev What I Looked At:• Cocos2d-android • http://code.google.com/p/cocos2d-android/ • Last update: May 2010• Cocos2d-android-1 • http://code.google.com/p/cocos2d-android-1/ • Last update: GitHub says 2 months ago• Unity 3D • http://unity3d.com/ • Too costly at the time, they now have some more competitive pricing • My games are only 2D, this seemed like using a jack hammer to hammer a nail
    9. 9. #XGameDevWhat I Didn’t Look At• GameSalad • http://gamesalad.com/ • Creates HTML5 • Looked promising (now has Win version)• Moai • http://getmoai.com • open-souce/attribution • paid option too
    10. 10. #XGameDev Why Corona?•Worked on Nook, Kindle Fire (and other Android devices)•Price: Free to try, $350/year for iOS and Android•Very simple to learn (currently teaching to high school students)•Compiles to native OpenGL ES, so very fast!
    11. 11. #XGameDev Why Corona? - Part 2• Box2D Physics Engine• SQLite Databases• GameCenter and OpenFeint integration• SpriteSheet support• Facebook Integration• Basic Flurry Analytics Integration• Very active development, almost daily builds• In-App Purchase support• Documented APIs
    12. 12. #XGameDev Why Corona? - Part 3•Develop once, deploy to iOS and Android•Content Scaling•Instant Refresh on Simulator•Particle System•Glyph Fonts•Supports tools such as TexturePacker, PhysicsEditor, SpriteHelper, LevelHelper, Glyph Designer
    13. 13. #XGameDev Corona Cons•A good Lua editor is hard to find •Mac •Corona Complete •BBEdit •PC •Notepad++ •Cider - http://www.mydevelopersgames.com/CIDER/
    14. 14. #XGameDev Corona Cons•Win version is limited/behind •Native iOS components can not be displayed in simulator •can find 3rd party widgets that emulate native components •Can not build/distribute for iOS •http://www.macincloud.com/
    15. 15. #XGameDev Code Sample--Create blue backgroundlocal backgroundSky=display.newRect(0,0,display.contentWidth,display.contentHeight)backgroundSky:setFillColor(98,183,214)-- Add a cloud to the scenelocal randomCloudObject=display.newImage("bg_cloud3.png")randomCloudObject.x=display.contentWidth/2randomCloudObject.y=display.contentHeight/2--Add our herolocal heroAngel=display.newImage("char_jump_1.png")heroAngel.x=heroAngel.contentWidthheroAngel.y=display.contentHeight/2
    16. 16. #XGameDev Project Demoshttp://github.com/shawngrimes/CloudJumper
    17. 17. #XGameDevCorona Labs www.CoronaLabs.com
    18. 18. #XGameDev Physics Editor Tutorial http://www.codeandweb.com/blog/2012/05/24/getting-started-with-coronasdk-
    19. 19. #XGameDev Director Class http://developer.anscamobile.com/code/ director-class-10Available as Storyboards in Corona Build 2012.840+
    20. 20. #XGameDev Candy from X-Pressive.com•Text Candy•Widget Candy•Particle Candy•http://www.x-pressive.com/
    21. 21. #XGameDev ArtworkAll artwork provided by VickiWenderlich atwww.VickiWenderlich.com•art packs for games•free to use

    ×