-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathProject.xml
170 lines (126 loc) · 5.72 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<?xml version="1.0" encoding="utf-8"?>
<project xmlns="http://lime.openfl.org/project/1.0.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://lime.openfl.org/project/1.0.4 http://lime.openfl.org/xsd/project-1.0.4.xsd">
<!-- _________________________ Application Settings _________________________ -->
<app title="Tankmas 2024" file="Tankmas 2024" main="Main" version="32.0.2" company="Glenside Helper Elf Society" />
<!--The flixel preloader is not accurate in Chrome. You can use it regularly if you embed the swf into a html file
or you can set the actual size of your file manually at "FlxPreloaderBase-onUpdate-bytesTotal"-->
<app preloader="Preloader" if="html5" />
<!--Minimum without FLX_NO_GAMEPAD: 11.8, without FLX_NO_NATIVE_CURSOR: 11.2-->
<set name="SWF_VERSION" value="11.8" />
<!-- ____________________________ Window Settings ___________________________ -->
<!--These window settings apply to all targets-->
<window width="960" height="540" fps="60" background="#000000" hardware="true" vsync="false" />
<!--HTML5-specific-->
<window if="html5" resizable="true" orientation="landscape" />
<!--Desktop-specific-->
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" />
<!--Mobile-specific-->
<window if="mobile" orientation="landscape" fullscreen="true" width="0" height="0" />
<!-- Use -Dfinal when uploading to NG! -->
<section if="final">
<haxedef name="websocket" />
<haxedef name="newgrounds" />
<haxedef name="no_radio" />
<haxedef name="trace_net" />
</section>
<!-- _____________________________ Path Settings ____________________________ -->
<set name="BUILD_DIR" value="export" />
<source path="source" />
<!-- When newgrounds is enabled, make sure ng-secrets.json is included -->
<section if="newgrounds">
<assets path="assets" embed="true" include="ng-secrets.json" />
<haxelib name="newgrounds"/>
</section>
<!--
On Hashlink, include everything in the assets folder, but use ogg instead of mp3.
-->
<section if="hl||cpp">
<assets path="assets" embed="false" exclude="*.gif|.*ini|*.aseprite|*.mp3" />
<haxedef name="SOUND_EXT" value=".ogg" />
</section>
<!--
On Web, we have a more granular way to load things,
we preload everything except music and daily art.
-->
<section if="js||html5">
<haxedef name="SOUND_EXT" value=".mp3" />
<assets path="assets/data" embed="true" exclude="*.gif|.*ini|*.aseprite"/>
<assets path="assets/fonts" embed="true" exclude="*.gif|.*ini"/>
<assets path="assets/images" embed="true" exclude="*.gif|.*ini|*.aseprite|art"/>
<assets path="assets/preloader" embed="true" exclude="*.gif|.*ini|*.aseprite"/>
<assets path="assets/videos" embed="true" exclude="*.gif|.*ini|*.aseprite"/>
<assets path="assets/tankmas-chronicles" embed="true" exclude="*.gif|.*ini|*.aseprite|*.ogg"/>
<assets path="assets/sounds" embed="true" exclude="*.ogg"/>
<!-- These assets will be loaded on demand -->
<assets path="assets/music" embed="false" preload="false" exclude="*.ogg" />
<assets path="assets/images/art" exclude="*.gif" />
</section>
<!-- _______________________________ Libraries ______________________________ -->
<haxelib name="lime" />
<haxelib name="openfl" />
<haxelib name="flixel" />
<haxelib name="flixel-addons" />
<haxelib name="hxWebSockets" />
<haxelib name="ase" />
<haxelib name="castle" />
<haxelib name="coroutine" />
<haxelib name="deepnightLibs"/>
<haxelib name="gif" if="gif"/>
<haxelib name="json2object" />
<haxelib name="ldtk-haxe-api"/>
<haxelib name="datetime" />
<haxelib name="differ" />
<!--Follow instructions in scripts! This needs core-haxe-->
<haxelib name="http" />
<!-- Optionally include HScript for the Flixel debugger -->
<section if="hscript">
<haxelib name="hscript" />
</section>
<!-- ______________________________ Minigames _______________________________ -->
<!-- Tell minigame code that it is part of the full project, and to exclude any wrappers -->
<haxedef name="ADVENT" />
<section unless="exclude_bunnymark">
<source path="minigames/bunnymark/source" />
<library name="bunnymark" preload="false" />
<assets path="minigames/bunnymark/assets" rename="assets/minigames/bunnymark" library="bunnymark" exclude="*.ase|*.wav"/>
</section>
<section unless="exclude_tripletriangle">
<source path="minigames/tripletriangle/source" />
<library name="tripletriangle" preload="false" />
<assets path="minigames/tripletriangle/assets" rename="assets/minigames/tripletriangle" library="tripletriangle" exclude="*.ase|*.wav"/>
</section>
<section unless="exclude_fttt">
<source path="minigames/fttt/source" />
<library name="fttt" preload="false" />
</section>
<assets path="assets/images/minigames" library="minigames" exclude="*.ase|*.wav"/>
<!-- ______________________________ Haxedefines _____________________________ -->
<section if="offline">
<haxedef name="ghost_town" />
</section>
<haxedef name="sticker_whatevey"/>
<haxedef name="websocket" unless="offline" />
<haxedef name="FLX_NO_HEALTH" />
<haxedef name="FLX_NO_MOUSE" if="mobile" />
<haxedef name="FLX_NO_KEYBOARD" if="mobile" />
<haxedef name="FLX_NO_TOUCH" if="desktop" />
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />
<haxedef name="NAPE_RELEASE_BUILD" unless="debug" />
<haxedef name="FLX_NO_DEBUG" if="final"/>
<haxedef name="message.reporting" value="pretty" />
<!-- Debugging -->
<section if="dev">
<haxedef name="HXCPP_CHECK_POINTER" />
<haxedef name="HXCPP_STACK_LINE" />
<haxedef name="HXCPP_STACK_TRACE" />
<haxedef name="openfl-enable-handle-error" />
</section>
<section if="offline">
<haxedef name="ghost_town" />
</section>
<section if="debug_menu">
<haxedef name="offline" />
<haxedef name="no_radio" />
</section>
</project>