The core backend library used to power Vortex, designed to abstract lower level parts of an application/game engine into friendlier classes/functions.
The library is meant to feel like lime and openfl combined into one whole library, with fresh backends pulled away from Flash!
You setup your Canvas2D projects with config.xml
files!
These files configure things such as window title, framerate, etc.
Refer to the wiki for an explanation on what config.xml
files do.
Testing your project is as simple as one command:
haxelib run canvas2d test
Important
Canvas2D requires Haxe 4.3+ to compile, it will not work on anything below.
Canvas2D can natively compile to the following platforms via hxcpp
:
Canvas2D uses a few other libraries to work, such as:
-
- 🪟 Spawns the main game window
- 🖱️ Handles input for keyboard, mouse and controllers.
-
🖼️ hxstb_image
- 🖥 Responsible for loading the data of
PNG
,JPG
,BMP
, andHDR
files
- 🖥 Responsible for loading the data of
-
- 🖼️ Renders textures to the game window
- 📷 Allows shaders to be applied to textures
-
🎵 hxdr_mp3
- 🖥 Responsible for loading the data of MP3 files
-
🎵 hxdr_wav
- 🖥 Responsible for loading the data of WAV files
-
- 🖥 Responsible for loading the data of OGG files
-
- 🔊 Responsible for playing back the data of compatible audio files