ForumsProgramming ForumProgramming Languages

15 3577
ironblade41
offline
ironblade41
518 posts
Farmer

Does anyone know about some good programming languages to learn and how to learn them? I've always wanted to program a game and now seems like a good time to get a start.

  • 15 Replies
reside
online
reside
9 posts
Farmer

javascript or actionscript ?

Salvidian
offline
Salvidian
4,229 posts
Blacksmith

If you want to make games for AG, you'll need to learn flash. I personally like actionscript though.

I hope my guide will help you get started: Click this.

jeol
offline
jeol
3,842 posts
Herald

I went to a college that I'm interested in for a computer science event, and he said that the best language to start learning with is C++. I guess that surprised me a little, but since it's so strict if you learn it it's easier to grasp other languages faster and you won't really have to learn how to code more effectively.

Plus, most (good) video games are based off of C++. Either that, Java, or C#, I'm pretty sure.

Nevertheless, the place to look as Sal mentioned would be would be AS2 or AS3, if you want to be making games for AG.

@Sal: ActionScript is Flash, though, isn't it?

Salvidian
offline
Salvidian
4,229 posts
Blacksmith

@Sal: ActionScript is Flash, though, isn't it?


It's a part of it. It isn't the entire thing. It's like jQuery compared to JavaScript.
jeol
offline
jeol
3,842 posts
Herald

It's a part of it. It isn't the entire thing. It's like jQuery compared to JavaScript.

Either way, if you write in ActionScript, it will be a Flash program, though.

Ah, I see what you're saying now - AS compared to other options for developing in Flash. I suppose it is at the least the most flexible option available :P
KentyBK
offline
KentyBK
570 posts
Peasant

It's a part of it. It isn't the entire thing. It's like jQuery compared to JavaScript.

Either way, if you write in ActionScript, it will be a Flash program, though.


Not quite. If anything, it's the Javascript to Flash being Eclipse or something similar.

Flash is an IDE. Action Script is a programming language.
jeol
offline
jeol
3,842 posts
Herald

Flash is an IDE. Action Script is a programming language.

So you can actually create something with ActionScript outside of Flash?

Hrm.
BRAAINZz
offline
BRAAINZz
789 posts
Peasant

Well, if you want to make anything for AG, you have to learn Actionscript. There are tonnes of languages that you can learn though.
My school has me on a mix of Turing and C# and they seem pretty good to work with.

Darkroot
offline
Darkroot
2,775 posts
Shepherd

So you can actually create something with ActionScript outside of Flash?

Adobe AIR, but I wouldn't recommend making game in it though.

Python is the best for learning the basics of programming. There are literally thousand of resources online. Just google "learn python" and you will find something.
boppins
offline
boppins
724 posts
Herald

here's a great tool to get started and learn the basics http://www.codecademy.com/ --

also: http://www.reddit.com/r/learnprogramming/ is a good resource

there are many programming languages, and aside from a few specific types of languages (logic, functional for instance), whichever one you begin with will translate very well into the rest. if you start with Java, you will have little trouble picking up C++, PHP, Javascript, Python, etc..

pirateplatypusgames
offline
pirateplatypusgames
40 posts
Peasant

So you can actually create something with ActionScript outside of Flash?

Yup, in addition to Air, as Darkroot mentioned, you can also use the Flex SDK. I prefer it to Flash. I just write my code in a text editor and compile it with the SDK's compiler. It can be a bit tricky to use if you're used to coding on the timeline or if you want to work with animations that aren't sprite sheets.

You can also use FlashDevelop. I haven't ever really used it but I've heard from quite a few people that it's their Actionscript IDE of choice.

I agree with Darkroot on Python. It's dead simple and really quite fun. I'd highly recommend "Learn Python the Hard Way" by Zed A. Shaw. It's a book that you can read online for free, or you can buy a copy in print and/or pdf. He also offers a Python class (I think on Udemy). The Python tutorial on python.org is really good as well.
PhsycoDragon
offline
PhsycoDragon
41 posts
Peasant

I would like to know how how Python compares to Java. I have had some experience with NQC.

Darkroot
offline
Darkroot
2,775 posts
Shepherd

Java has amazing garbage collection and makes your life so much easier. I think working with larger projects is easier in Java and I believe it's also faster then python but not as much as C++ is.

ironblade41
offline
ironblade41
518 posts
Farmer

I've wanted to learn one for a while, too. My friends say Lua is good.

ricvail
offline
ricvail
13 posts
Farmer

I really really recommend you the book "head first Java" from o'reilly. It opened my eyes on a new world, it kinda "unlocked" my programming skills. If you want to start with other languages you might as well, but i have never found such a well-written and suitable-for-beginners guide about any other language. and once you know one (expecially one of the most complex and famous, Java or C++ to name two, but any other Object Oriented language is fine I think), you know them all.

Showing 1-15 of 15