Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (18 loc) · 1.04 KB

README.md

File metadata and controls

24 lines (18 loc) · 1.04 KB

armory2d

Stand-alone 2D editor focused on games. Used in Armory, written in Haxe and Kha.

Armory2D outputs a json or binary file representing the scene components. This file can be rendered through Zui library. Alternatively, it is possible to implement and read the Canvas structure manually in any application.

Clone repository

  • git clone --recursive https://github.com/armory3d/armory2d
  • cd armory2d
  • git submodule foreach --recursive git pull origin master
  • git pull origin master

Run in KodeStudio (HTML5)

Build for Armory (Krom)

Windows

  • node Kha/make krom -g direct3d11
  • Copy files from build/krom to ArmorySDK/lib/armory_tools/armory2d/d3d11

Linux / macOS

  • node Kha/make krom -g opengl
  • Copy files from build/krom to ArmorySDK/lib/armory_tools/armory2d/opengl