A HaxeFlixel based library meant for making 3ds games easily.
Warning
This is still in a work in progress, bugs and such can be encountered, if you have found any bugs make sure to report it in the issues tab.
This uses Haxe3DS, citro2d and citro3d for it to make everything work, some extra functions are taken from HaxeFlixel since it's suppose to be based on that.
It contains a large variety of stuff that was included.
Currently it supports those at this time:
- States
- Substates
- Sounds (can be played multiple times)
- Objects (Text and Sprite)
- Tweens
- Timers
- Cameras (for 1.1.0)
Do the following tutorial from Haxe3DS first, then come back here.
- Assuming you've followed the haxe3ds tutorial, open up terminal and type
(dkp-)pacman -S 3ds-dev 3ds-portlibsand install them (the dkp- is for linux based only) - Assuming you have setup the project with your haxelib created, type
haxelib git citroEngine https://github.com/NAEL2XD/CitroEnginein terminal, it should install this to your project. - In your
3dsSettings.json, pushcitroEngineinsettings.libraries. - Install ncsnd and cwav using this batch script:
@ECHO OFF
git clone https://github.com/PabloMK7/libcwav.git --recursive
cd libcwav
make install
cd ..
rmdir /s /Q libcwav
echo Done!
pause- Install cwavtool in https://github.com/PabloMK7/cwavtool/tree/main, you'll need it for audios.
- Go to the
templatefolder and copy to your project so that you'll be working on them later. - For the moment of truth, type
python build.py -c, it should compile and launch it!
- libcwav for audio.