Games [XUI2D] Super Mario Example #1

Erel

B4X founder
Staff member
Licensed User
Longtime User
mario.gif


Disclaimer: This project is intended for non-commercial educational purposes.

In the previous example we used Tiled map editor to create a few object templates. In this example we create a map with two tile layers and an objects layer.

There is mostly no logic behind this "game", only the logic required to for Mario movement.
(the only game logic included is the power-up mushroom.)

The map looks like this:

SS-2018-08-14_18.12.47.png


The resources are based on this open source project: https://github.com/justinmeister/Mario-Level-1

If you want to modify the map you need to first import the default custom properties: https://www.b4x.com/android/forum/threads/xui2d-x2tilemap-tiled-maps.95508/#post-606431

Example projects included in the examples pack: https://www.b4x.com/android/forum/threads/xui2d-example-pack.96454/
 
Last edited:
Top