I want to use Flash to write games. I don't want to learn about how to create glossy buttons for my 2005 website, or how to use the motion tween interface-- I just want to learn ActionScript 3 and the development environment.
Suggestions?
EDIT: I already know plenty about game programming; I'm just new to flash.
EDIT: I found this site linked from the Flixel website, which has a bunch of useful examples and instructions. The Flixel wiki is also full of juicy goodness.
If you're familiar with OOP and Java, go check out the Flixel library for AS3. The tutorials on their wiki teach you everything you need to set up the Flex SDK in Eclipse and write Flash games in pure AS3, no Flash needed. Everything compiles to a .swf, of course.
If I could make a book suggestion, I started with a read through of 'essential actionscript 3'. The book covers a code-only approach to developing flash apps and provides the option of completely ignoring adobe flash IDE and using only a coding IDE (flashdevelop). Like suggested above, this does require a bit of experience with oop.
I would suggest starting with getting familiar with as3 first, as Seth mentions Essential Actionscript 3.0 is a great start. Then you would get familiar with simple graphics, physics and animation. Keith Peters has two great books that cover that (Foundation Actionscript 3.0 Animation and AdvancED Actionscript 3.0 Animation). This would be the a pretty good basis.
Then you would probably start lurking on sites like newgrounds, start looking for data structures and game optimizations. You would get familiar with more linear algebra, trigonometry, physics etc. and eventually learn more from outside the flash community.
Until then, you can find a a few more links to books and online resources in this similar question.
FlashGameUniversity might be a good place for quick start.
It also might be handy to follow people in the community and learn from they're mistakes/achievements and avoid reinventing the wheel later on. Changes are if you're aiming for the same thing as someone else (making great games for example), odd are paths will cross.
If you're not new to programming, you might want to do something 'painfull'. You might want to familiarise yourself with Flash, if only for a bit. That will help you a lot on the long run, you will understand the syntax better, because there will be also visual cues. You might collaborate with designers for assets/animations so knowing the best way to get the job done will be good. Using a decent actionscript IDE will be great, but make sure you got familiar with the Flash IDE too.
HTH, George
Well, it would be a good start to learn the basics of the development environment, AS3 basics and OOP.
A lot of examples/tutorials/lessons/articles can be found on:
- Kirupa on AS3 Flash
- Kirupa on Game/AI programming in Flash
- Adobe ActionScript Technology Center (a lot of information can be found here!)
- Adobe on Object-orientated programming with AS3
Do a few searches on "Actionscript 3 oop", "Actionscript 3 game programming" and "actionscript 3 tutorials". That should give you enough to learn AS3 the next couple of months/years :-)
精彩评论