-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathProject.xml
75 lines (61 loc) · 2.58 KB
/
Project.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="utf-8"?>
<project>
<!-- Note building with -final applies dce=full by default -->
<!-- Note, define can also be read by code, set is only for inner XML -->
<define name="APP_VER" value="1.5" />
<set name="APP_FILE" value="FutureKnightDX"/>
<set name="APP_TITLE" value="Future Knight DX"/>
<define name="FPS" value="60" unless="FPS"/>
<!-- GAME defines -->
<!-- Hold button to shoot -->
<define name="SHOOT_HOLD"/>
<!--Mount a ladder from the ground only (like the original game) -->
<!--<define name="CLASSIC_LADDER"/>-->
<!-- App Setup -->
<app main="Main" path="bin/" />
<app file="${APP_FILE}" title="${APP_TITLE}" version="${APP_VER}" company="John32B" />
<window width="640" height="480" fps="${FPS}" background="#030302" />
<window allow-shaders="true" hardware="true" vsync="true" />
<!-- HTML specific-->
<section if="html5">
<app preloader="Preloader"/>
<window width="800" height="600"/>
<window fps="0" />
</section>
<!-- NOTE, declare classpath after window/app -->
<classpath path="source/" />
<!-- djflixel related -->
<haxedef name="HOT_LOAD" if="debug flash"/>
<haxedef name="HOT_LOAD" if="debug hl"/>
<haxedef name="DJFLX_SND" value="snd/"/>
<haxedef name="DJFLX_MUS" value="mus/"/>
<!-- Haxe defines -->
<haxeflag name="-dce" value="full" if="final"/>
<haxedef name="no-traces" unless="debug"/>
<!-- djflixel 0.5.9 | flixel 5.5 -->
<haxelib name="flixel"/>
<haxelib name="djFlixel"/>
<haxelib name="djA"/>
<!-- ASSETS -->
<library name="default" type="gzip" preload="true" if="final desktop"/>
<assets path="assets" include="*.ini|*.json"/>
<assets path="assets/font" type="font" include="*.ttf|*.otf" rename="fnt"/>
<assets path="assets/images" type="image" include="*.png|*.jpg" rename="im"/>
<assets path="assets/maps" type="text" include="_debug.tmx" rename="map" if="debug"/>
<assets path="assets/maps" type="text" exclude="_debug.tmx " include="*.tmx" rename="map"/>
<section if="MP3">
<assets path="assets/music" type="music" rename="mus" include="*.mp3"/>
<assets path="assets/sound_mp3" type="sound" rename="snd" include="*.mp3"/>
</section>
<section unless="MP3">
<assets path="assets/music" type="music" rename="mus" include="*.ogg"/>
<assets path="assets/sound_ogg" type="sound" rename="snd" include="*.ogg"/>
</section>
<!-- The Lime XML Format help page told me to do it this way?
It Does not work
-->
<icon path="icons/icon_16.png" size="16"/>
<icon path="icons/icon_32.png" size="32"/>
<icon path="icons/icon_48.png" size="48"/>
<icon path="icons/icon_64.png" size="64"/>
</project>