Can't find source code?

Started by voodoomajic, Sat 28/06/2014 18:56:22

Previous topic - Next topic

voodoomajic

I'm looking for the source code packages of the Windows version of the ags engine as well as the editor. I can't seem to find it. I'm interested in scanning through the source code, to get a good idea of how everything works.

As a side note, I would like to see how and what data is packaged together by the Editor (which I understand is written in dotnet) and how it is loaded and made use of by the Engine.

Also any particular threads with this kind of information here would be nice to know about, so if anyone can recommend or link something, I would appreciate it.

I'm an intermediate level programmer working with C/C++ as well as dotnet and this is my first attempt to start looking into more complete and larger programming projects and to break away from more simplistic programming that I have done in the past.

Crimson Wizard

#1
The link to the code is given in this thread: http://www.adventuregamestudio.co.uk/forums/index.php?topic=50021.0
Also on ags website: http://www.adventuregamestudio.co.uk/site/ags/ (Under "Develop AGS" caption)
I am mentioning this in case the source hosting will change in the future, so everyone know where to check.

This is the repository:
https://github.com/adventuregamestudio/ags

It contains both Editor and Engine code with parts specific for platforms (Windows, Linux, etc).
No documentation was made to describe the format of data, we learnt it from source code.
Well... may be we should've done that, but no one could be arsed :tongue:

There are couple of threads for dicussing conventions on code style and working with repository:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=46329.0
http://www.adventuregamestudio.co.uk/forums/index.php?topic=50001.0

voodoomajic

Thanks, I'm going to try to digest everything.

Crimson Wizard

#3
You may download the sources in zip archive, but I'd recommend you to install and use Git (unless you already know that). This will let you see all the history of changes since we created this repository. If you are Windows user, you may also get one of the Git frontends. Personally, I use Git Extensions (also integrates with MS Visual Studio): http://sourceforge.net/projects/gitextensions/

I must also warn you that AGS engine is in pretty bad shape - very old, bad code (Editor is much better), and may be complicated to work with for beginner programmers.

SMF spam blocked by CleanTalk