Jump to content
Posted 14 July 2011 - 01:39 PM
Posted 14 July 2011 - 02:43 PM
Posted 14 July 2011 - 02:45 PM
Posted 14 July 2011 - 02:48 PM
Posted 14 July 2011 - 05:07 PM
1. Why do people choose to use Adobe Flash to make games?
2. Does it provide good features for game development?
3. I know it has got a lot of nice portability, to web, desktop, and mobile in one nice simple way.
4. But what are its advantages over other methods such as native mobile development, native desktop development, etc.....
5. (Web is not a major for games here, really, because anyone can download a few megabytes of an SDL (or other) game.)
Check out my book, Game Development with Unity, aimed at beginners who want to build fun games fast.
Also check out my personal website at bryanwagstaff.com, where I occasionally write about assorted stuff.
Posted 14 July 2011 - 05:12 PM
Downsides of flash (from the point of view of someone who has used a large variety of technologies):
- ActionScript 3 is not designed for large scale projects. Annoyances about language design are magnified by project size. If you ever work on a facebook game on the scale of FarmVille or Social City, you'll very quickly realize the disadvantages of AS3's design.
- The IDE has various extremely annoying bugs (memory leaks, hangs, inability to have a project in a folder named xyz/.../xyz).
- The compiler is RIDICULOUSLY SLOW. I'm used to C# where I can build a HUUUGE project in under a second. AS3 projects I'm working with take 30-40 seconds.
- The profiler (CPU and memory) are almost completely worthless and untrustworthy.
- Horrible (and inconsistent) runtime performance (Due to how the language and runtime work).
Posted 14 July 2011 - 06:49 PM
I've worked on several Facebook games of that scope and we never really ran in to any of those problems. If you are using CS as your IDE and compiler then yes, its a horrible, horrible experience. Try using FlashDevelop instead. On my workstation it takes the project a couple of seconds to build (the client builds faster then the server). The debugger and profile for FD 4 is pretty good. Yeah, its not Visual Studio quality but for being free it is very good. The only annoyance about the language I've really came across is how functions and variables are defined. I do find myself trying to use C style declarations when I've been working outside of AS3 for awhile. Hands down we get stuff done quicker in Flash then we ever would in C++ though. Only thing I can't really defend is runtime performance. But since Facebook games are typically slow paced turn based games it doesn't really matter. Of course if you want to do some kind of intense FPS then Flash is obviously not the choice. But for what its used for its pretty hard to beat.
Posted 15 July 2011 - 02:32 AM
Posted 15 July 2011 - 05:25 PM