Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graal Main Forum (English) (https://forums.graalonline.com/forums/forumdisplay.php?f=4)
-   -   Programming History of Graal? (https://forums.graalonline.com/forums/showthread.php?t=64139)

projectigi 02-15-2006 11:19 PM

Programming History of Graal?
 
Hi,

I just wanted to know what Graal was written in..
some told me Pascal others Delphi, some said VB and other C++ o_o
some people told me it changed its language over time and so on
so what was/is it written in?

Admins 02-15-2006 11:46 PM

The original version was written in Java, then we switched to Pascal/Delphi. Graal v4 has an engine written in C++ and the interface in Pascal/Delphi.

HoudiniMan 02-15-2006 11:54 PM

Well that's that for this thread. :)

Curt1zzle 02-16-2006 12:19 AM

KILT HIM! osnap.

projectigi 02-16-2006 11:45 AM

hmm ok

Why did you choose to code in Java first?
Why did you drop Java?
Why did you choose Delphi/Pascal instead?
Why did you change over to C++?

Admins 02-16-2006 02:04 PM

Easy development
Speed
Easy development
Speed and platform independence

projectigi 02-16-2006 03:13 PM

Hmm thanks, how do you think about VB for making games?

Prozac 02-16-2006 04:32 PM

I actually have a book on VB for games, and there is a lot you can do - but it limits you to Windows. You're cutting off the Mac and Linux potential customer base, if you want to charge any money for your games. Depends what your target audience is.

projectigi 02-16-2006 04:56 PM

Just want to know whats the best language to make a game(probably offline and free for first) from the scrap(means with almost no programming skills, so i have to learn much)

Prozac 02-16-2006 05:45 PM

I learned line number basic probably before you were born (20+years ago) and that was a good instriduction to programming for me. These days, VB is as good of a start. Do you know Javascript? theres lots of free resources for that.
There are also some free C++ compilers out there. C++ is the goal to aim for these days.

excaliber7388 02-16-2006 06:24 PM

C++ works on multiple systems, plus you can do just about anything with it :D

projectigi 02-16-2006 06:40 PM

u mean Java?
never heard u could do games with JavaScript lol

Fry 02-16-2006 07:21 PM

Seriously, if you learn VB, you are only creating more problem for your further education because your thinking will be extremly broken after VB.

CheeToS2 02-16-2006 07:49 PM

Quote:

Originally Posted by projectigi
u mean Java?
never heard u could do games with JavaScript lol

Java has nothing to do with JavaScript :)

projectigi 02-16-2006 10:11 PM

Quote:

Originally Posted by CheeToS2
Java has nothing to do with JavaScript :)

i know but Prozac said " do you know javascript"?

CheeToS2 02-16-2006 10:24 PM

Quote:

Originally Posted by projectigi
i know but Prozac said " do you know javascript"?

Ah, I see. Then I redirect my answer to him >_<

OasaTor_PK 02-16-2006 10:48 PM

Quote:

Originally Posted by Fry
Seriously, if you learn VB, you are only creating more problem for your further education because your thinking will be extremly broken after VB.

Seriously, if you learn GScript, you are only creating more problms for your futher educaation because your thinking will be extremely broken after GScript.

In Computer Science, I kept typing if (playertouchsme) instead of typing ifelse :[

Zero Hour 02-16-2006 11:31 PM

Quote:

Originally Posted by OasaTor_PK
Seriously, if you learn GScript, you are only creating more problms for your futher educaation because your thinking will be extremely broken after GScript.

In Computer Science, I kept typing if (playertouchsme) instead of typing ifelse :[

That's GS1 o.O?

Prozac 02-17-2006 12:57 AM

Quote:

Originally Posted by projectigi
never heard u could do games with JavaScript lol

http://www.figmentcode.com/js

Projectshifter 02-18-2006 11:21 AM

Quote:

Originally Posted by projectigi
Hmm thanks, how do you think about VB for making games?

It would be preferable if you never ask such a question again.

Quote:

Originally Posted by CheeToS2
Java has nothing to do with JavaScript :)

That's not entirely true. They are related to an extent, Javascript is just the mentally retarded cousin of Java.

projectigi 02-18-2006 12:49 PM

Hmm im going with C++ now, hard way but why first learn some other language and then swap over? just time wasting xD

Admins 02-18-2006 01:18 PM

The programming language is not really that important, they all have similar concepts, so when you master one then you will easier learn other programming languages.

C/C++ gives most freedom and works everywhere, you can also find most libraries and examples for that.

Languages like Java, Pascal, VB and C# are easier to learn and you have nice environments which make it easier to code with that (Eclipse, Delphi, Visual Studio). You will be limited in some ways though, but it can still be interesting if you start with programming.

An interesting way would be to do website scripting, using php or ruby. Many programs and games now switch to use web interfaces instead of requiring the user to download a program.

Learning GraalScript will also help you a lot for learning object orientated programming and understanding the concepts of events handling.

Mark Sir Link 02-18-2006 03:22 PM

Quote:

Originally Posted by Stefan
Learning GraalScript will also help you a lot for learning object orientated programming and understanding the concepts of events handling.

Made me learn Java alot easier, best in my class.
The continuing learning of java has had a good impact on my GS2 scripting.

GScript FTW

Fox1545 02-18-2006 04:40 PM

Quote:

Originally Posted by OasaTor_PK
Seriously, if you learn GScript, you are only creating more problms for your futher educaation because your thinking will be extremely broken after GScript.

In Computer Science, I kept typing if (playertouchsme) instead of typing ifelse :[

hurr gscript sucks am i rite

Quote:

Originally Posted by Projectshifter
That's not entirely true. They are related to an extent, Javascript is just the mentally retarded cousin of Java.

To what extent? Javascript was not derived from Java, they are not similar at all except that their syntax was influenced by C, and Javascript is closer to lua or, hell, lisp, than Java.

Javascript has dynamic/runtime prototype-based OOP, first-class functions and closures with lexical scoping, dynamic typing and is entirely interpreted from the beginning of the file to the end.
Java has compile-time class-based OOP, only first-class primitive values and object references and some hack with inline subclassing with lexical scoping for a subset of variables and stuff, very static typing and is compiled to a class with methods before being executed.

Java is more like the alcoholic, fat, abusive legal guardian of JavaScript.


Quote:

Originally Posted by projectigi
Hmm im going with C++ now, hard way but why first learn some other language and then swap over? just time wasting xD

Because programmers are expected to be fluent in more than one programming language, and C++ is only a good choice for a very limited number of tasks.

Quote:

Originally Posted by Stefan
An interesting way would be to do website scripting, using php or ruby. Many programs and games now switch to use web interfaces instead of requiring the user to download a program.

I would like to point out that Ruby is a general programming language and not limitted to the web at all. :mad:

projectigi 02-18-2006 04:43 PM

Well i have often read C++ is the hardest to learn
so i learn the hardest first, the others will be easier then, right?

Polo 02-18-2006 05:13 PM

Quote:

Originally Posted by projectigi
Well i have often read C++ is the hardest to learn
so i learn the hardest first, the others will be easier then, right?

Yes and no...

A lot of languages share a set of common concepts and theory, but the syntax is different between them. The syntaxa nd quirks of C++ hinder the learning of these concepts (initially), and so you don't progress so much. By comparison, Pascal has very nice syntax, and so makes it a lot easier to understand the theory. In some ways learning another language first, will help you to learn C++ faster. ^^

projectigi 02-18-2006 06:33 PM

lol
well whats the exact difference of Pascal and Delphi
then another problem i wouldnt know where to get a compiler for pascal/delphi ^^

Hiseran 03-06-2006 01:41 PM

It is true once you learn at least 1 or 2 programming languages the rest ill be easily because theyre all basically the same concept but I wouldn't recommend starting with C++ I tried back when I wante dto learn prorgammign to learn C++ first before any other but that ende din failure the first programming language I learned was python wich is pretty easy so maybe you should try that first :]

ApothiX 03-06-2006 03:26 PM

Quote:

Originally Posted by Fox1545
I would like to point out that Ruby is a general programming language and not limitted to the web at all. :mad:

I knew that was coming :P

FearXxConduct 03-06-2006 04:18 PM

Why Not just Get torque ? Cheap for a license(Indie License that is) and no hassle of writing an Engine =) Thats what I did =P

projectigi 03-06-2006 06:13 PM

a guy of my server told me graal is using torque

ApothiX 03-06-2006 06:27 PM

Quote:

Originally Posted by FearXxConduct
Why Not just Get torque ? Cheap for a license(Indie License that is) and no hassle of writing an Engine =) Thats what I did =P

You still need programming knowledge to use the Torque Engine O_o

Quote:

Originally Posted by projectigi
a guy of my server told me graal is using torque

I believe Graal4 is, which is why the Torque GUI editor works for generating GUI Scripts for Graal.

Loriel 03-06-2006 06:58 PM

Quote:

Originally Posted by Hiseran
It is true once you learn at least 1 or 2 programming languages the rest ill be easily because theyre all basically the same concept but I wouldn't recommend starting with C++ I tried back when I wante dto learn prorgammign to learn C++ first before any other but that ende din failure the first programming language I learned was python wich is pretty easy so maybe you should try that first :]

This is only true if you live by the "I can write Fortran in any language!" mantra. If you write C++ like you write Java, or Python like PHP, you are not writing very good code :(

Also oh god use paragraphs or even punctuation :mad:

Prozac 03-06-2006 08:31 PM

I learned programming languages (some are very loosely qualified as languages) in this order:

line number Basic
DOS commands/batch files
gwBasic
Pascal
HTML/Javascript
DCL on a VAX/VMS system
Visual Basic
Perl
C++
gscript
asp
winbatch
php
gscript2

and probably some more that i haven't used in a while.

I would say, learn a procedural language first, then go for the object oriented ones. Gscript2 is a good way to learn procedural and oop and would even be a good first programming language, as it does lay down many fundamentals that are used in more advanced apps.
There is a learning curve of a significant difference between gs1 and gs2, just go gs2 all the way (even though you cannot yet use it offline ....)

FearXxConduct 03-07-2006 05:32 PM

Quote:

Originally Posted by projectigi
a guy of my server told me graal is using torque

To my knowledge Graal 3D is Derived from Torque Please dont flame me if im wrong?

Quote:

Originally Posted by ApothiX
You still need programming knowledge to use the Torque Engine O_o

I believe Graal4 is, which is why the Torque GUI editor works for generating GUI Scripts for Graal.

I know that but, its sure is a hell of alot easier then programming your own interface and such which is far more complicated then coding in torque script

projectigi 03-08-2006 04:36 PM

hmm so if this is already a thread to discuss about programming languages

what do you think is best for starting programming(and later making games)
1.) C++ or C#
2.) Visual Basic or Delphi
3.) Answer of 1.) or Answer of 2.)

?

excaliber7388 03-08-2006 04:49 PM

fir the first one, C++ C is a bit outdated, and is more limited. (Well, technically it's not, however, C++ IS better than C, and in some ways, easier)
As for the second one, no clue :frown:
Gscript was a great way to get started for learning C++ Learning it is easy, and can help when you learn another form of programming.

Admins 03-08-2006 05:31 PM

Quote:

Originally Posted by ApothiX
I believe Graal4 is, which is why the Torque GUI editor works for generating GUI Scripts for Graal.

Graal is not using the torque script, but it using a compatible new-operator so that the GUI scripts are easily converted.

Codein 03-08-2006 08:59 PM

Quote:

fir the first one, C++ C is a bit outdated, and is more limited. (Well, technically it's not, however, C++ IS better than C, and in some ways, easier)
It depends. C, as I'm led to believe, has no problems in cross-platform compilation, but if you were to use C++, then MIGHT have to do some porting. I find I like C alot. You can't really call C/C++ outdated, since it's still going strong today and is the staple standard for all other programming languages I've seen, apart from Visual Basic and that line of parser.

Quote:

Gscript was a great way to get started for learning C++ Learning it is easy, and can help when you learn another form of programming.
Aye, same, however, there are some issues that really throw you off course. GS2, in my opinion, is better a star at programming languages with the C-type style.

ApothiX 03-09-2006 02:42 PM

Quote:

Originally Posted by excaliber7388
fir the first one, C++ C is a bit outdated, and is more limited. (Well, technically it's not, however, C++ IS better than C, and in some ways, easier)
As for the second one, no clue :frown:
Gscript was a great way to get started for learning C++ Learning it is easy, and can help when you learn another form of programming.

C is not outdated. C++ is too bloated to use for small things that you need to run at a decent speed. I hardly ever have need for the STL and other C++ foundations when writing programs.

Also, he said C# (Microsoft's .Net language), not C.


All times are GMT +2. The time now is 11:33 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.