Aller au contenu

Photo

Best scipting language to learn?


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
ixobelle

ixobelle
  • Members
  • 109 messages
I know Python is used for the lighting, but the DAscripting is actually very similar to C. I've done some research on both, and see that Python's flexibility is very useful, and that python code is the quickest to write (no compile), and easy to read after the fact (as opposed to Perl, etc).

C is probably the most common, though, in gaming in general... right? DAscript is very similar to C, supposedly...

Basically, given a choice of either, which would you guys recommend diving into?

#2
Sunjammer

Sunjammer
  • Members
  • 926 messages
Depends on you reason for learning a programming language. If it is simply to learn dascript then learning a fully fledged programming language is overkill: you probably only need to learn the absolute basics of the C syntax to get to grips with dascript. If you are looking to learn to be a programmer then there will be as many opinions as there are programming languages.

Modifié par Sunjammer, 08 novembre 2009 - 07:12 .


#3
Dmuse

Dmuse
  • Members
  • 44 messages
The important thing is to learn to think like a programmer. Understanding variables, function calls, loops, conditional statements etc is much more important than knowing a specific language. Beyond that, you simply need to know the syntax of the language you are working in.

I'd say, if you are only looking to use DAscript, you should focus on learning exactly that. Having a C reference around wouldn't curt, so you can better understand the syntax but you will be more motivated to learn DAscript stuff than you will to learn a stand along language if you don't have a project to work on with that new language.

My experience is that you can learn the language, but you never really 'get it' until you complete a project (that you wan to create) with it. If you have other programming projects you think you'd like, feel free to pick up another language, otherwise, I'd say dive into DAscript stuff and just look at as many scripts as you can at first, trying to understand what they do.

I'm sure there will be a lot of things put up on the wiki about scripting eventually. This once for instance shows you how to manipulate a character when starting a module and is rather easy to understand. Might be worth taking a look:

http://social.biowar...cter_generation

Good Luck! :wizard:

Modifié par Dmuse, 08 novembre 2009 - 08:24 .