Menu

Tree [r123] / trunk /
 History

HTTPS access


File Date Author Commit
 bin 2025-06-05 niunio [r112] + Added example of use of TWorld3D.
 docs 2025-06-26 niunio [r123] + Added PLG format description.
 obj 2025-04-07 niunio [r61] + Added build scripts, a test program and creat...
 resources 2025-04-23 niunio [r91] * Huge improvement of unti a3dge.Math3d: re-or...
 src 2025-06-26 niunio [r123] + Added PLG format description.
 CHANGES.txt 2025-06-21 niunio [r122] * Fixed examples removing "fWorld" element and ...
 LICENSE.txt 2025-04-12 niunio [r72] * Fixed units a3dge.Model3d and a3dge.Wavefront...
 README.md 2025-04-16 niunio [r78] * Small fix on makefile.list.
 clean.sh 2025-04-07 niunio [r61] + Added build scripts, a test program and creat...
 fix.bat 2025-04-07 niunio [r61] + Added build scripts, a test program and creat...
 fix.cmd 2025-04-07 niunio [r61] + Added build scripts, a test program and creat...
 fix.sh 2025-04-07 niunio [r61] + Added build scripts, a test program and creat...
 makefile 2025-06-06 niunio [r114] * Fixed order of box limits on octree, model an...
 makefile.all 2025-05-04 niunio [r98] + Added tools to generate heightmaps. Need mor...
 makefile.list 2025-05-07 niunio [r101] + Added front-end program for cap3d.

Read Me

A3DGE 1.0

Introduction

The Amateur 3D Game Engine is a simple 3D game
engine written in Object Pascal.

This version is based in the original engine I wrote for my 2nd PGD CHallenge

back in 2012. Such engine was written in about one single week and was pretty
buggy because the hurry and also because Allegro.pas 5 was in a very early
development state in that moment.

The engine goal is to be simpler than other engines. That means that it wonn't
capable of some advanced stuff and would lack some tools but in return it is
very easy to learn and use. BTW current version is an early release and
there are plans to add a few more stuff in the future. So it will never beat
Unreal Engine but I hope it will became a nice engine to create games easily.

If you're looking for a full fledged 3D game engine written in Object Pascal you
should try the Castle Game Engine.

License

A3DGE is released under zlib/png license. Read it in file LICENSE.txt.

Installation

Before to start using A3DGE you'll need two things:

  • The Allegro library.
  • A Pascal compiler.
  • Optionally but quite recommended if you're not using Delphi, the Lazarus IDE.

Allegro library

On Linux operating systems, just install package liballegro5-dev. That should
do the trick.

On Windows (and also Linux if you want) go to the Allegro's downloading page and follow their explanations.

Pascal compiler and IDE

A3DGE has been designed to be used with the FreePascal compiler although I'm trying to make it work with Delphi too but right now I can't
guarantee that it is compatible right now.

I recommend you to install Lazarus IDE as it
includes FPC. It's included in most Linux repositories, and you can download it
for both Windows and Linux from its download page.

Compile examples and tool

Using Lazarus IDE

There are project files for tools and examples. Just open them with Lazarus and
compile. They're configured for Debug but there are also a Release mode.

From console

First execute fix.cmd on Windows or fix.sh on Linux and follow on-screen
instructions. Then execute make on both Windows and Linux.

You can change the makefile to change between Debug and Release modes.

How to use

You have detailed documentation of the engine at docs/engine/ directory.

Note that A3DGE is Allegro based so know how it works will help a lot.

Contact information

The project page is at http://sf.net/p/a3dge/.

Also I (and other) visit these forums quite often:

Pascal Game Development (AKA "PGD")
PGD Telegram Chat
Lazarus games

If you're a Discord user, here you have a couple of servers:
- Athena's pad (channel about game developing with Delphi):
https://discordapp.com/channels/568517662271864852/
- Unnoficial Free Pascal:
https://discordapp.com/channels/570025060312547359/

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.