Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: zxc on Sat 18/10/2008 08:47:34

Title: What language does AGS use?
Post by: zxc on Sat 18/10/2008 08:47:34
I am very new to programming. I started learning C++ about a month ago. I have been looking for a game engine for C++.

I look everywhere I could and I could find no answers to my question. What language does AGS use? I tryed the FAQs and the tutorials, I scanned the forums, but I couldnt find it. It looks close to C++, but being a noob I cant tell.

Thank you for your help with this.
Title: Re: What language does AGS use?
Post by: monkey0506 on Sat 18/10/2008 08:57:15
AGS actually uses a custom scripting language that is very comparable to C languages (such as C++).

If you go through the scripting tutorial in the manual you'll see that the basics are extremely C-like. You should also check the manual regarding Pointers. Whether you know about them from your C++ learnings or not, you'll need to check this because AGS is a bit different in this aspect (for example, no need for a -> operator, it only uses the . operator instead).

You did say you're looking for a C++ game engine. Unfortunately AGS doesn't allow C++ scripting/libraries/etc. but if you're looking for a good place to start writing your own adventure game, AGS is tops. I'll put money on that. ;)
Title: Re: What language does AGS use?
Post by: zxc on Sat 18/10/2008 09:02:20
Bah, No offence to AGS. The little I have done with it was very easy, and well explained in the tutorial. But I am learning from a book that uses the game engine LlamaWorks2D. I wasnt able to find it so I have been looking for another GE to use.

AGS was by far the best 2D game engine I have tryed, but can you suggest a good C++ game engine I can use with my book?

Thank you.

Monkey, I just saw your edit. I dont doubt you. AGE seems great. But my main interest is learning C++. Games just seem like a great/fun way to learn about programming.
Title: Re: What language does AGS use?
Post by: monkey0506 on Sat 18/10/2008 09:11:42
No offense taken I can assure you. We accept that AGS isn't the best fit engine for everyone's game development needs. I've been around here long enough I'd say I can speak for the entire community with a bit of authority regarding that much anyway. :=

I don't personally know of any C++ based gaming engines off the top of my head. Sorry I can't further assist you, but best of luck in your developmental pursuits.
Title: Re: What language does AGS use?
Post by: zxc on Sat 18/10/2008 09:18:01
=[ Thats too bad. I feel like I am lost in a new country. I hardly even know where to start looking, and I am not sure exacly what to be looking for. I have already downloaded several game engines without much luck, excluding AGS.

Thank you for your help Monkey.

P.S.
You say you have been here a while. Maybe you can get them to do something about that test. If I had tryed to signed up b4 I installed AGS, I would have said "forget it" and gone on tryed looking for another engine. Then I never would have seen how great AGS is.
Title: Re: What language does AGS use?
Post by: on Sat 18/10/2008 10:33:48
I f you are looking for an engine that allows you to write your program in C / C++ and just have some "helpers", I can recommend ALLEGRO. It's a library of sorts that handles most game related stuff for you (window setup, sprite functions and such), but you will still have to write some C code. It's limited to 2D, but can be abused a little...

A good programmable C++ engine that is completely 3D would be Irrlicht. Quite popular from what I've heard, but I have not tried it myself yet.
Title: Re: What language does AGS use?
Post by: zxc on Sat 18/10/2008 11:36:02
Thnks ghost, I will go check them out.
Title: Re: What language does AGS use?
Post by: on Sat 18/10/2008 14:07:57
Best of luck then, and don't abandon AGS alltogether  ;D

Allegro can be found here...
http://www.allegro.free.fr/docs.html (http://www.allegro.free.fr/docs.html)

And Irrlicht's here.
http://irrlicht.sourceforge.net/ (http://irrlicht.sourceforge.net/)

Both work very well with the free DevC++ IDE, btw, if you have trouble setting them up with your equipment.