AGen & Box2D in Lua

Hey, I'm one of the developers behind AGen ( http://2dengine.com ) which is a 2D framework for making games using Lua
In the latest experimental build, we decided to add box2D as an optional module to Lua and you can check out the results for yourself here:
Image
http://2dengine.com/bin/alpha/2008_07_04.zip (994 Kb)

I should point out however that ONLY SOME of the box2D functionality has been exported to Lua. For now.
There are some issues too like the maxProxies const and so forth, but so far, box2D is working very well.
So it should be fully integrated soon! 😉
Version 1.0 of the engine is finally here. Package includes a number of new demos (a couple of them showcasing Box2D!) and tutorial scripts. Also, Box2D is now exported entirely, font support is improved and a variety of other features have been polished as well.
The website documentation has also been updated.

Below is a screenshot of the famous SVG tiger rendered by AGen in one of the demos:
Image
download version 1.0
Version 1.1 of the engine is out. Much more stable and easier to use than before. The documentation has also been updated and improved.
Except for the engine, download includes a number of demos, tutorial scripts and CHM documentation.

Image

download

Also, if you didn't know, the first commercial game using the engine was released a couple of weeks ago.
Version 1.2 of the engine is out.
Includes improvements in stability and pathfinding.

Image

2009_02_11.zip (1,104 kb)

We're trying to improve stability so we really need some feedback, in particular if the demos fail to run on your machine.
If the engine crashes on your machine, please post "devices.txt" and "log.txt" so we know where the problem might be.
Version 1.2.5 2009.05.26
This version is much more stable than earlier builds. Package includes:

AGen redistributable for Win32
Tutorial and demo scripts
Documentation: CHM manual
Engine plugins: DirectSound 8.1, DirectInput 8.1, DirectX 8.1, DirectX 9, OpenAL, OpenGL and SDL Input
Lua 5.1 with extensions: MicroPather, Box2D, LuaFileSystem, LuaSocket and DevIL


Download 1.2.5.zip (2,284 Kb)

http://2dengine.com/bin/release/1.2.5.zip
Can you give us some of the code? im a LUA user thought its 'Slightly' variated from the main body of LUA 🤓
Hey roryo,
Sorry about the late reply.
Just to give you an example, this would be the Lua code for a 'hello world' application:
Code:
display:create ( "My Window", 800, 600, 32, true )

my_sprite = Sprite ( )
display.viewport:add_child ( my_sprite )

my_font = Font ( )
my_font:load_system ( "Arial", 18 )

my_sprite.canvas:set_font ( my_font )
my_sprite.canvas:write ( "Hello world!" )


I should mention that it's also fairly easy to use box2d with the engine.
You can find more examples and code here:
http://2dengine.com/page.php?p=manual
Hi everybody. I would just like to mention that version 1.3.1 of the engine is out. A number of bugs were fixed in this release.

Also, you can find a couple of new tutorials on scrolling and physics using Box2D:
ImageImage

Please check those out if you're a beginner programmer you might be suprised at how easy it is to start making games using AGen. Thanks for your time.
Hi. We have an update on the project.
Version 1.3.2 is out. Please check it out for a neat demo of cellular automation:
Image

Also we have new tutorials on image manipulation and pathfinding:
Image
Version 1.3.4 of the AGen engine is out. Changes from 1.3.2:
-improved CHM documentation
-fixed zoom bug in the camera component
-color component now supports hex values
-optimized a few box2d functions for Lua
-added a .name property in devices for easier enumeration
-updated the online tutorials
-a number of other minor fixes
-xaudio2 plugin added
-fixed the font rendering issue under XP
-fixed window positioning bug
-fixed a box2d crash under XP

Image

Original thread: https://box2d.org/forum/viewtopic.php?t=1072