Atlas2D is an attempt at making a cross-platform opengl game/engine.
C Shell JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
demo
demo2
src
.gitignore
AUTHORS
COPYING
ChangeLog
INSTALL
Makefile.am
Makefile.in
NEWS
README
aclocal.m4
config.guess
config.h.in
config.sub
configure
configure.ac
depcomp
install-sh
ltmain.sh
missing

README

Atlas2D is an attempt at making a cross-platform opengl game/engine.

Linux in-game editor support is almost on par with OS X support.

WIN32 support is completely nonexistent at the moment.

Compiling for 32-bit systems on 64-bit Linux:
    - gcc-multilib
    - lib32-mesa

You can also remove the -m32 compiler flags to compile for 64-bit.
TODO: I need to use a configure flag rather than hard-coding 32-bit compilation.

Building and running:
    $ ./configure
    $ make
    $ ./demo/atlas2d

The demo is a simple projectile physics example with an in-game editor. It statically
links to libatlas2d.a which is built during the `make` step.

GAME MODE
----------
Move the mouse inside the screen to adjust the cannon's firing angle.
Left-click fires a projectile.

EDITOR MODE
------------
'e' key toggles the editor.

While in the editor, the screen can be scrolled along the X axis with the left and rightarrow keys.
You can also use the mouse to scroll the screen by moving the cursor to the right and left edges of the window.

You can also click on the dominoes to move them. To rotate a domino you're currently
holding onto, press the space bar. It will rotate the domino in 45-degree angles.

In editor mode, dominoes have control points for altering their size. Simply click on a control point and move
the mouse to shape the domino.

When the editor is invoked, you'll see a simple palette on the top left of the screen.
Those are different types of dominoes you can place into the game. Simply click on
a palette object and drag the domino into position.

The two palette objects are currently wood dominoes and marble dominoes. They have
different masses and damage thresholds.

On OS X you're also able to save and load maps/levels. Just click on the "File" menu.

Linux and WIN32 editor support is coming.