HaxePunk/HaxePunk

View on GitHub
template/project.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<project>
    <meta title="{{PROJECT_NAME}}" package="com.example.app" version="1.0.0" company=""/>

    <app file="{{PROJECT_CLASS}}" main="{{PROJECT_CLASS}}" path="export"/>
    <icon path="HaxePunk-icon.svg"/>
    <window fps="{{FRAMERATE}}" background="0x333333"/>
    <window width="{{WIDTH}}" height="{{HEIGHT}}" resizable="true" unless="mobile"/>
    <window width="0" height="0" fullscreen="true" if="mobile"/>
    <window orientation="landscape" vsync="true" antialiasing="0" if="cpp"/>

    <source path="source"/>

    <haxelib name="HaxePunk"/>

    <haxedef name="hxp_debug" unless="release" />
    <haxedef name="NME_ALPHA_MODE" value="preprocess" />

    <assets path="assets/graphics" rename="graphics" include="*.png|*.jpg"/>
    <assets path="assets/audio" rename="audio" include="*.wav|*.ogg"/>
    <assets path="assets/font" rename="font" include="*.ttf"/>
</project>