Difference between revisions of "AdaGate"

From Free Software Directory
Jump to: navigation, search
m
m
Line 22: Line 22:
 
|User level=beginner
 
|User level=beginner
 
|Computer languages=Ada
 
|Computer languages=Ada
 +
|Documentation note=Focusing on portability and freedom, no coding effort or compromise has been made to accomodate proprietary operating systems.  It relies on a thin SDL2 binding from Dan Vazquez, a thin OpenGL binding from "Lumen", a PNG reader by Stephen Sanguine, and SFML-Audio (because of its elegant audio interface).
 +
 
|Keywords=OpenGL, Ada, Game, Puzzle, Ada Bindings
 
|Keywords=OpenGL, Ada, Game, Puzzle, Ada Bindings
 
|Version identifier=5.8
 
|Version identifier=5.8
Line 27: Line 29:
 
|Version status=stable
 
|Version status=stable
 
|Version download=https://github.com/fastrgv?tab=repositories
 
|Version download=https://github.com/fastrgv?tab=repositories
 +
|Version comment=* This release is an attempt to alleviate and better explain some lingering deficiencies with the portability of ./gnulibs/ and the prebuilt AdaGate executable for linux.  Linux has so many variants that it is difficult to generate an executable or build script that works on all of them.  Most of the recent troubles with AdaGate for linux seem to be centered on the new SFML library, with its manifold dependencies: FLAC, ogg, vorbis, freetype, jpeg, & openal.  The current build is compiled on OpenSUSE v13.2, so that, and similar platforms, should have no problems executing.
 +
 +
* The prebuilt AdaGate executable for GNU/Linux uses GLIBC 2.14.  This generally means that if your linux distro uses glibc v2.14 or newer, then the prebuilt binary should probably run on your system, assuming you can get SFML libraries into place [/usr/local/] that do not cause a runtime loader error.
 +
 +
* If the precompiled linux executable for AdaGate does not run on your distro., and you think it's because of SFML, then try the following.  ( We linux people are all hackers, right ; )
 +
 +
* First and easiest, try a system update for your particular linux distribution of "libsfml-devel". 
 +
* Second, if for some reason that is not possible, you can try downloading the precompiled libraries from SFML.  You can either copy them into the usual place, per the installation tutorial, or you can copy them into ./gnulibs/.  They just might work for you;  but they did not work on my system.
 +
* Last, you can attempt to build the SFML libraries from source on your own machine.  That solution requires Cmake, and is more complex because you typically need all the dependencies first.  On the other hand, you might be able to use the .so files that come with AdaGate, under ./gnulibs/.
 +
 +
* Then retry the precompiled executable for AdaGate.  If it runs, great.  If not...
 +
 +
* Finally, try recompiling with the script provided.  You need to download and install the Ada Libre compiler from AdaCore in order to do this (very easy and simple to do).
 +
 +
* AdaGate also uses SDL2, but that library seems a bit more self contained, and less problematic.  Moreover, its static version, libSDL2.a, is usable, too.
 +
 +
* Note that the OS-X build system is now reasonably stable and portable.
 +
 +
 
|Last review by=Jgay
 
|Last review by=Jgay
 
|Last review date=2015/06/03
 
|Last review date=2015/06/03
Line 36: Line 57:
 
{{Project license
 
{{Project license
 
|License=GPLv3orlater
 
|License=GPLv3orlater
|License copyright=-- Copyright (C) 2015 <fastrgv@gmail.com>
+
|License copyright=-- Copyright (C) 2016 <fastrgv@gmail.com>
 
--
 
--
 
-- This program is free software: you can redistribute it and/or modify
 
-- This program is free software: you can redistribute it and/or modify
Line 59: Line 80:
 
|Graphics=3d
 
|Graphics=3d
 
|Interface=command-line
 
|Interface=command-line
 +
|Runs-on=OS X, GNU/Linux
 
|Software-development=game-development
 
|Software-development=game-development
|Use=playing, software-development
+
|Use=gameplaying, playing, software-development
 
}}
 
}}
 
{{Featured}}
 
{{Featured}}

Revision as of 13:07, 3 April 2016


[edit]

AdaGate

https://sourceforge.net/projects/adagate/
combination of Sokoban and Portal

From fastrgv, a combination of Portal and Sokoban, AdaGate is a great example of OpenGL programming using the Ada language.

While exploring a remote south-seas island you make a startling historical discovery. But before you can report your findings, an operational stargate transports you into a curious sequence of dungeons. Your escape will require the logical rearrangement of Zero Point Modules (ZPMs), that can roll in only two directions.

Escape each level and find your way back to a beautiful lake on the surface.

Uses fully modern OpenGL methods in Ada using textures, shaders and uniforms that achieves version 3.3 core profile contexts in a way that is sufficiently mainstream that it easily compiles and runs on Windows, GNU/Linux and Mac OS-X systems. This project serves as a testbed for learning the complexities of modern OpenGL and GLSL.

Please read "sourceCode.txt", then download the 7Z file at https://sourceforge.net/projects/adagate/ for all source and runtime files. Simply unzip in your ./Downloads/ directory and run. No installation required.





Licensing

License

Verified by

Verified on

Notes

Verified by

Jgay

Verified on

3 June 2015




Leaders and contributors

Resources and communication

Software prerequisites

KindDescription
Required to buildlinux, MacOsx, Windows
Required to uselinux, macOsx, windows




Entry












Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.