Jump to content

  • Log In with Google      Sign In   
  • Create Account


How is ActionScript compared to Java, C++, etc.?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
10 replies to this topic

#1 TropicMonkey   Members   -  Reputation: 117

Like
0Likes
Like

Posted 22 March 2013 - 08:57 PM

Before I start my journey into learning how to develop games and computer program I have to decide what programming language I'm going to use. I'm thinking of maybe going with Adobe's ActionScript. Looking at the Adobe website, it looks like they have all the tools needed to accomplish my goals. However, I need advice from someone more experienced. What do you think?



Sponsor:

#2 prototypical   Members   -  Reputation: 301

Like
0Likes
Like

Posted 22 March 2013 - 10:29 PM

All three languages are OOP, so in that sense they are all similar. I would suggest starting with Flash/Actionscript as it's really easy to distribute your games as any computer with a web browser can play your games pretty easily. Game development concepts are pretty much universal, so in learning to make games with any of these languages is going to be something you can utilize with your next language. 

 

I'd say that the learning curve from easiest to hardest to learn is :

 

Actionscript 3

Java

C++

 

Another consideration is what is the platform you want to make games for ? 

 

If you are looking to make console games, maybe you should just start with C++.

 

If you are looking to make mobile games, maybe Objective-C or Java. 



#3 GuardianX   Crossbones+   -  Reputation: 1486

Like
0Likes
Like

Posted 23 March 2013 - 02:04 AM

C++ and Java are very similar in terms of semantics. ActionScript is a bit different here.

ActionScript is widely used in Flash game development (which is 2D games and very primitive 3D games). So it all depends on task you want to accomplish with it.



#4 BloodyEpi   Members   -  Reputation: 622

Like
0Likes
Like

Posted 23 March 2013 - 03:07 AM

I never really understood why people learn a language just to learn another one later on, e.g. why would I want to get used to Java garbage collection if I actually want to do something with C++?

 

It depends on what you want to do in the end, pick the language best suited for that. Want to do D3D/OpenGL? Go with C++! Want to write some nice little games with Unity? Go C#! Need reflection? Maybe go with Java/C#! That might be a little bit though for a beginner to know, maybe if you would tell us more about what you are aiming for it might be easier to suggest a language.

 

One more thing, if you start with Java/C++ your first programs will probably be on the console, that is something flash doesn't really have, besides debug output in your IDE, also with AS3 you will most likely work with vector graphics, but in most other languages drawing pixels is more common.

 

I also never really got used to the syntax of AS3, its just weird in some places, and the biggest problem is that there are no templates, so if you need something else besides the vector class, you have to write your own containers if you are used to them, but I read somewhere that they want to redo the language. Still, its a great language for doing some quick crossplattform drawing stuff.



#5 Alpha_ProgDes   Crossbones+   -  Reputation: 4680

Like
0Likes
Like

Posted 23 March 2013 - 03:25 AM

So in this thread, made by you, you said that you wanted to use Java to start your game development. Now you're on here asking which language to use?

 

Use Java. Why? Because it does what you need, which is: learning how to program and then making games.


Beginner in Game Development? Read here.
 
Super Mario Bros clone tutorial written in XNA 4.0 [MonoGame, ANX, and MonoXNA] by Scott Haley
 
If you have found any of the posts helpful, please show your appreciation by clicking the up arrow on those posts Posted Image
 
Spoiler

#6 Serapth   Crossbones+   -  Reputation: 5181

Like
0Likes
Like

Posted 23 March 2013 - 12:19 PM

ActionScript is JavaScript with a bit less stupid.

 

Java and JavaScript have very little to do with each other, regardless to the name.  It was a stupid marketing gimmick that Netscape pulled ( or were paid to pull ), at the time it was called LiveScript.  They named it JavaScript, because it could be used to script embedded Java applets.

 

At the end of the day, all C-like languages are pretty similar... as they are all... c-like.  Once you learn one ( C++, ActionScript, C#, C++, etc... ) learning any of the others becomes a hell of a lot simpler.

 


At the end of the day, until you know one, don't worry about which you pick.  After you know one, you don't need to worry about it any longer.



#7 TropicMonkey   Members   -  Reputation: 117

Like
0Likes
Like

Posted 24 March 2013 - 02:21 AM

All three languages are OOP, so in that sense they are all similar. I would suggest starting with Flash/Actionscript as it's really easy to distribute your games as any computer with a web browser can play your games pretty easily. Game development concepts are pretty much universal, so in learning to make games with any of these languages is going to be something you can utilize with your next language. 

 

I'd say that the learning curve from easiest to hardest to learn is :

 

Actionscript 3

Java

C++

 

Another consideration is what is the platform you want to make games for ? 

 

If you are looking to make console games, maybe you should just start with C++.

 

If you are looking to make mobile games, maybe Objective-C or Java. 

 

To start, I want to make 2D games for computer which I can publish online for others to play. Therefore, I should use Java? I don't think I want to use ActionScript because it costs money...Flash Builder 4.7 is $699. 



#8 BloodyEpi   Members   -  Reputation: 622

Like
1Likes
Like

Posted 24 March 2013 - 02:44 AM

FlashDevelop + FlexSDK(downloaded automatically) is free



#9 TropicMonkey   Members   -  Reputation: 117

Like
0Likes
Like

Posted 24 March 2013 - 02:51 AM

I never really understood why people learn a language just to learn another one later on, e.g. why would I want to get used to Java garbage collection if I actually want to do something with C++?

 

It depends on what you want to do in the end, pick the language best suited for that. Want to do D3D/OpenGL? Go with C++! Want to write some nice little games with Unity? Go C#! Need reflection? Maybe go with Java/C#! That might be a little bit though for a beginner to know, maybe if you would tell us more about what you are aiming for it might be easier to suggest a language.

 

One more thing, if you start with Java/C++ your first programs will probably be on the console, that is something flash doesn't really have, besides debug output in your IDE, also with AS3 you will most likely work with vector graphics, but in most other languages drawing pixels is more common.

 

I also never really got used to the syntax of AS3, its just weird in some places, and the biggest problem is that there are no templates, so if you need something else besides the vector class, you have to write your own containers if you are used to them, but I read somewhere that they want to redo the language. Still, its a great language for doing some quick crossplattform drawing stuff.

 

My goal is primarily to make games (starting with 2D) for the computer which I can publish online. However, later down the road I would also like to develop non-game related applications for the computer. So will Java work for these goals? 



#10 TropicMonkey   Members   -  Reputation: 117

Like
0Likes
Like

Posted 24 March 2013 - 03:11 AM

All three languages are OOP, so in that sense they are all similar. I would suggest starting with Flash/Actionscript as it's really easy to distribute your games as any computer with a web browser can play your games pretty easily. Game development concepts are pretty much universal, so in learning to make games with any of these languages is going to be something you can utilize with your next language. 

 

I'd say that the learning curve from easiest to hardest to learn is :

 

Actionscript 3

Java

C++

 

Another consideration is what is the platform you want to make games for ? 

 

If you are looking to make console games, maybe you should just start with C++.

 

If you are looking to make mobile games, maybe Objective-C or Java. 

 

I'm looking to make computer games to share online. Also, far down the road, I would like to make mobile games as well. 

 

Games created using ActionScript can be more easily distributed because mostly everyone has AdobeFlashPlayer installed on their computers to run the games? If that's the reason, but then don't most people also have Java installed as well?


Edited by TropicMonkey, 24 March 2013 - 03:12 AM.


#11 prototypical   Members   -  Reputation: 301

Like
0Likes
Like

Posted 02 April 2013 - 04:36 PM

All three languages are OOP, so in that sense they are all similar. I would suggest starting with Flash/Actionscript as it's really easy to distribute your games as any computer with a web browser can play your games pretty easily. Game development concepts are pretty much universal, so in learning to make games with any of these languages is going to be something you can utilize with your next language. 

 

I'd say that the learning curve from easiest to hardest to learn is :

 

Actionscript 3

Java

C++

 

Another consideration is what is the platform you want to make games for ? 

 

If you are looking to make console games, maybe you should just start with C++.

 

If you are looking to make mobile games, maybe Objective-C or Java. 

 

I'm looking to make computer games to share online. Also, far down the road, I would like to make mobile games as well. 

 

Games created using ActionScript can be more easily distributed because mostly everyone has AdobeFlashPlayer installed on their computers to run the games? If that's the reason, but then don't most people also have Java installed as well?

it's not just the flash player itself, it's the fact that there are tons of sites that host flash game sites and even allow you to monetize them.

 

More people have the flash player because many sites utilize flash for media players. I believe OSX has dropped Java support.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS