Mais conteúdo relacionado Semelhante a Tom Krcha: Building Games with Adobe Technologies (20) Mais de DevGAMM Conference (20) Tom Krcha: Building Games with Adobe Technologies1. § Adobe Gaming SDK
Casual Connect Europe 2013
To m Krc ha / Ad o b e
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
2. § Hello.
§ Tom Krcha, Evangelist at Adobe
§ twitter.com/tomkrcha | facebook.com/tomkrcha
GamingNotes.com
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
3. We lc o m e t o t he
la rge s t
a ud ie nc e in
ga m ing.
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
4. §Over 1.3 Billion
people
§ Can play your game. No install. No friction.
Now.
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
5. Flash Player brings an audience
20x greater than Xbox 360.
Plus 500M iOS + Android devices with AIR.
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
6. }
With no install.
On 1.3B+ machines
And 500M devices
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
7. §96% of the top Facebook
games are delivered with
Flash.
=
§ Plus the top browser games across the rest of the web.
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
8. Flash Player
§ The biggest gaming audience gets bigger. And better.
§ In 48 hours, we can update
600 million people to the latest Flash Player.
§ 6 times more people than Xbox 360s sold in the last 7
years.
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
9. §Stage3D
§= Flash on the GPU
1000x faster 2D & 3D rendering.
Cinematic, fluid 60 fps graphics.
Across desktop browsers, iOS, Android.
Full GPU acceleration on 85% of all
connected PCs.
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
10. Go Mac App Store with AIR Captive Runtime (AIR 3.3+)
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
11. Adobe Game Developer Tools
Gaming SDK FlasCC Adobe Scout
Create Extend your reach Profile
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
12. It is hard today to
get started.
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
13. Friction
FlashDevelop + Starling + Air 3.2 + Stage3D + Android = Love!
1. Download and install the Android SDK (http://developer.nvidia.com/tegra-android-development-pack)
2. Install AIR 3.2 Release Candidate on windows (http://labs.adobe.com/technologies/flashplatformruntimes/air3-2/)
3. Install AIR 3.2 Release Candidate on android device (http://labs.adobe.com/technologies/flashplatformruntimes/air3-2/)
4. Download AIR 3.2 SDK (http://labs.adobe.com/technologies/flashplatformruntimes/air3-2/)
5. Overwrite AIR 3.2 SDK over the flex folder of FlashDevelop (C:FlashDevelopToolsflexsdk)
6. Download, install and start FlashDevelop (http://www.flashdevelop.org/)
7. Create a new Air Mobile As3 App
8. Change aplication.xml
A. <application xmlns="http://ns.adobe.com/air/application/3.2">
a. <fullScreen>true</fullScreen>
b. <visible>true</visible>
c. <renderMode>direct</renderMode>
d. <aspectRatio>landscape</aspectRatio>
e. <autoOrients>false</autoOrients>
9. Project → Properties
a. Output (tab)
i. Platform → Air Mobile
ii. Version → 3.2
iii. Dimensions → 1280x800 (This affects only the swf version for desktop)
iv. Framerate → 60
b. Sdk (tab)
1. Choose the path where you copied the AIR 3.2 SDK
c. Compiler Options
1. Additional Compiler Options → -swf-version=13 (-swf-version=15 works too)
10. Change Run.bat
a. Target → choose your target type
b. Desktop → choose your target resolution
11. Create a certificate for Android using /bat/CreateCertificate.bat and wait a minute
12. Download and copy last Starling library (http://gamua.com/starling/) to your project folder
13. Write your 3D game / app
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
14. Friction
14. In your Android device be sure to check on your USB debugging and allow Unknown sources
a. Menu → Settings → Applications → Unknown sources
b. Menu → Settings → Applications → Development → USB debugging
15. Connect your Android to your computer and let the computer install the necessary drivers
16. Publish (ctrl + enter)
17. If you get a “Fatal error: The application lost the device context!” just put Starling.handleLostContext = true; before you
create an instance of Starling.
18. Enjoy it!
Sweet!
It just
compiles an
empty
SWF!
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
15. Frictionless, easy to get
started
We should go from 18 steps to 3:
1. Download Flash Builder
2. Open a sample provided
3. Compile and test
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
16. Framewor Extension
AIR SDK Docs ATF
ks s
Free
AIR SDK 3.5 Game Center Link to ATF
Product Store resources command-
Social ATF line tools
StageAd Documentation
BetaTesting ANE
Documentation
Code samples
Starling
Away3D
Feathers
}
MacOS (.dmg) Windows (.exe)
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
17. © 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
18. © 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
19. © 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
20. © 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
21. Starling
Starling is an open-
source, 2D framework
that makes it easy to
create GPU-
accelerated games
and applications.
var hero:Sprite = new Sprite();
hero.x = 200;
hero.y = 200; starling-
hero.addEventListener(Event.ENTER_FRAME, loop);
addChild(hero); framework.org
FREE E-BOOK!
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
22. Feathers
Create 2D UI on the
GPU with Feathers. A
lightweight open-source
2D UI component
extension for Starling.
feathersui.com
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
23. Away3D
Lightweight open-
source 3D framework.
Huge community
contributing.
away3d.com
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
24. The stack
Feathers All of these frameworks are
supported by Adobe.
(2D)
By supporting these, we also
want to make sure they integrate
Integration between each other beautifully.
Away3D (3D) Starling (2D)
Open-source, free and vibrant
community
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
25. FlasCC
Bring your native C/C++ games
to the browser to reach a billion
people.
AS3 Bytecode
C/C++
LLVM bitcode (.abc)
(llvm-gcc)
on AVM2
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
26. FlasCC
Native code runs securely and
cross-platform in the ActionScript
3 Virtual Machine.
AS3 Bytecode
C/C++ LLVM
(.abc)
(llvm-gcc) bitcode
on AVM2
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
27. © 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
28. © 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
29. © 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
30. © 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
31. Seamless profiling
Configure with
Test Profile
Companion App
(App Store/Google
Play)
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
32. © 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
33. Great, how do I get
this?
Gaming SDK FlasCC Adobe Scout
http://bit.ly/GamingSDK
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
39. http://dragonbones.github.com
DragonBones
The Open Source 2D skeleton animation solution for Flash
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
40. Demo
+
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
41. Develop a game with us!
http://AdobeGameJamHam.eventbrite.com
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
42. § Thanks.
§ Tom Krcha, Evangelist at Adobe
§ twitter.com/tomkrcha | facebook.com/tomkrcha
GamingNotes.com
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.
43. © 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Do not redistribute.