B4J Library [B4X] X2 / XUI2D (Box2D) - Game engine

Status
Not open for further replies.
XUI2D is a wrapper for jbox2d engine: https://github.com/jbox2d/jbox2d
License: https://github.com/jbox2d/jbox2d/blob/master/LICENSE
iXUI2D is a wrapper for Box2D: http://box2d.org/

XUI2D and iXUI2D share the same API and together with BitmapCreator, XUI library and the X2 library they allow to build cross platform games.

Installation instructions:

Requires B4J v7.0+, B4A v8.8+ and B4i (v5.5+).

Download X2.b4xlib (this is a cross platform library) and copy it to the additional libraries folder.

Current versions:

- BitmapCreator - latest version is preinstalled.
- XUI2D - latest version is preinstalled.
- X2 - v1.22

Start here: [XUI2D] Example Pack

Updates

V1.23 - Custom transparent colors of tile sets are respected:

tiled_PTUSYuOIPo.png


V1.22 -You can add X2SkipLogs as a conditional symbol (Ctrl + B) to remove the most frequent log messages.
V1.21 - Fixes an issue where drawings will not be resumed after the game was paused.
 

Attachments

  • X2.b4xlib
    24.2 KB · Views: 1,859
Last edited:

khandah

Member
Hi,
I am trying to compile but I am having this error :
Parsing code. Error
Error parsing program.
Error description: Unknown type: game
Are you missing a library reference?
Error occurred on line: 5 (X2BodyWrapper)
Public mGame As Game

Any help please ?

Thank you in advance.
 
Status
Not open for further replies.
Top