View Full Version : flash game programming

06-02-2007, 10:39 PM
was not sure where to post this, c++ or flash forum? perhaps i will try both.

for some reason i cannot find any tutorials on programming flash games in C++ is this just not done? does everyone program flash games in java or by some other means? what am i missing here?
Does anyone know anything about doing flash games with c ++ ?

06-04-2007, 03:42 AM
to program games in flash you'll need to learn ActionScript which is a branch of the Java language. A good starting point is through the flash help files or websites like this www.gotoandplay.it

You can make games in C++ however the only real relationship between flash and C++ games is through the programming paradigm of object orientation which they originated from and share similiar programming archutects, it would be a complex task to port one game from a C++ console to a flash web application as they have fundamental differences . I hope that helps

06-05-2007, 07:26 AM
Great, so I would be wasting my time with C ++ ? and i should switch to java for the purposes of making flash games?

thanks for the info

06-05-2007, 10:21 AM
I think most people would program flash games in ... errr flash ? ... or am I getting the wrong end of the stick here ??

you can create flash with other languages (e.g. ming for PHP) but there is often little point except for very simplistic stuff.

06-05-2007, 09:26 PM
That's what I was thinking firepages. I thought flash was a language and tool upon itself.

06-06-2007, 10:48 PM
Isn't flash actually a movie format? ;)

Anyway, you dont use any external language to write flash games. You get a copy of Adobe Flash (and not just the free player, though there may be a free 3rd party flash toolkit that I don't know about), draw things in it then code their behaviour in a language called ActionScript which is pretty close to JavaScript (last time I checked was flash4 or something).

ActionScript is just a little scripting language that is used in Adobe Flash. You cannot do anything in flash with C++, Java etc. Java applets can be an alternative to flash for writing website based games. For example, Desktop Tower Defence is Flash using Flash's internal scripting language ActionScript, whereas runescape is a game written using a Java Applet (for the client only).

Although being able to use JavaScript would help you in writing the ActionScript, it is not needed. You could probably learn ActionScript then JavaScript equally well.