Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-02-2007, 09:39 PM   PM User | #1
congruent2006
New to the CF scene

 
Join Date: May 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
congruent2006 is an unknown quantity at this point
flash game programming

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 ++ ?
congruent2006 is offline   Reply With Quote
Old 06-04-2007, 02:42 AM   PM User | #2
akastar
New to the CF scene

 
Join Date: Jun 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
akastar is an unknown quantity at this point
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
akastar is offline   Reply With Quote
Old 06-05-2007, 06:26 AM   PM User | #3
congruent2006
New to the CF scene

 
Join Date: May 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
congruent2006 is an unknown quantity at this point
Re;

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
congruent2006 is offline   Reply With Quote
Old 06-05-2007, 09:21 AM   PM User | #4
firepages
Super Moderator


 
Join Date: May 2002
Location: Perth Australia
Posts: 3,890
Thanks: 5
Thanked 79 Times in 78 Posts
firepages will become famous soon enough
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.
__________________
resistance is...

MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)
firepages is offline   Reply With Quote
Old 06-05-2007, 08:26 PM   PM User | #5
mentalhorse
New Coder

 
mentalhorse's Avatar
 
Join Date: Jul 2005
Location: Duanesburg, NY
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
mentalhorse is an unknown quantity at this point
That's what I was thinking firepages. I thought flash was a language and tool upon itself.
__________________
Why is a raven like a writing desk?
mentalhorse is offline   Reply With Quote
Old 06-06-2007, 09:48 PM   PM User | #6
ghell
Senior Coder

 
Join Date: Apr 2003
Location: England
Posts: 1,192
Thanks: 5
Thanked 13 Times in 13 Posts
ghell is on a distinguished road
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.
__________________
My tech/code blog
ghell is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:51 PM.


Advertisement
Log in to turn off these ads.