heapsOgmo

Import Ogmo3 generated maps to Heaps based projects
https://github.com/deepnight/heapsOgmo

To install, run:

haxelib install heapsOgmo 0.0.14 

See using Haxelib in Haxelib documentation for more information.

README.md

About

A simple lib to import Ogmo 3 maps to Heaps projects. It only supports basic stuff, and it's not meant to support 100% of all Ogmo features. If you need all advanced Ogmo features, you can install:

haxelib install ogmo-3

See: https://github.com/Ogmo-Editor-3/ogmo-3-lib

Usage

hxd.Res.initEmbed(); // init resources in default sub-folder "./res/"

var ogmoProject = new ogmo.Project( hxd.Res.myOgmoProjectFile );

for( level in ogmoProject.levels )
for( layer in level.layers ) {
	var obj = layer.render();
	myScene.addChild(obj);
}

See ./test/src/Main.hx.

Credits

"Inca" tileset by Kronbits: https://kronbits.itch.io/inca-game-assets

Contributors
sbenard
Version
0.0.14
Published
3 years ago
Dependencies
License
Apache

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub