Before anyone asks why vs cam, the code is public, plus i helped most of the audio backend rewrite in the mod too. :P - Static sounds can now also seamlessly loop with AL_SOFT_loop_points extension - Panning stereo sounds is now possible with AL_EXT_STEREO_ANGLES extension (although this was already implemented before) - Improved streaming sounds, should fix most of the lagspike issues - Streaming sounds should no longer regenrate if it's in the nearest timestamp (not for reversing though) ! You still can't access FlxSound.latency because of the new procedures that's not available in lime If there's any crashes with this pls report an issue asap.
Here's the full guide on how to setup and compile Codename Engine!
Open the instructions for your platform
Windows
- Install version 4.3.7 of Haxe.
- Download and install
git-scm.- Leave all installation options as default.
- Run
setup-windows.batusing cmd or double-clicking it and wait for the libraries to install. - Once the libraries are installed, run
haxelib run lime test windowsto compile and launch the game (may take a long time)- ℹ You can run
haxelib run lime setupto make the lime command global, allowing you to executelime test windowsdirectly.
- ℹ You can run
Linux
- Install version 4.3.7 of Haxe.
- Install
libvlcif not present already.- ℹ On certain Arch based distros installing
vlc-plugins-allmight solve iflibvlcalone doesn't work.
- ℹ On certain Arch based distros installing
- Install
g++, if not present already. - Download and install
git-scmif not present already. - Run
setup-unix.shusing the terminal or double-clicking it and wait for the libraries to install. - Once the libraries are installed, run
haxelib run lime test linuxto compile and launch the game (may take a long time)- ℹ You can run
haxelib run lime setupto make the lime command global, allowing you to executelime test linuxdirectly.
- ℹ You can run
MacOS
- Install version 4.3.7 of Haxe.
- Install
Xcodeto allow C++ app building. - Download and install
git-scm. - Run
setup-unix.shusing the terminal and wait for the libraries to install. - Once the libraries are installed, run
haxelib run lime test macto compile and launch the game (may take a long time)- ℹ You can run
haxelib run lime setupto make the lime command global, allowing you to executelime test macdirectly.
- ℹ You can run
Tip
You can also run
./cne-windows.bat -helpor./cne-unix.sh -help(depending on your platform) to check out more useful commands!
For example./cne-windows testor./cne-unix.sh testbuilds the game and uses the source assets folder instead of the export one for easier development (although you can still uselime testnormally).
- If you're running the terminal from the project's main folder, use instead
./building/cne-windows.bat -COMMAND HEREor./building/cne-unix.sh -COMMAND HEREdepending on your platform.