-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathProject.xml
176 lines (132 loc) · 7.76 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
171
172
173
174
175
176
<?xml version="1.0" encoding="utf-8"?>
<project xmlns="http://lime.software/project/1.0.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://lime.software/project/1.0.2 http://lime.software/xsd/project-1.0.2.xsd">
<define name="HXCPP_M32" if="32bit || 32"/>
<define name="32bit" if="HXCPP_M32"/>
<define name="32bits" if="32bit"/>
<define name="64" unless="32bit"/>
<haxeflag name="-dce no" />
<haxedef name="HXCPP_GC_BIG_BLOCKS"/>
<!-- _________________________ Crow Engine Settings _________________________ -->
<!-- <define name="SCRIPTS_ALLOWED" if="desktop"/> Whether or not scripts should be enabled -->
<define name="EDITORS_ALLOWED"/> <!-- Whether or not the editor should be enabled -->
<define name="MODS_ENABLED"/> <!-- Whether or not mods should be enabled -->
<!-- Advanced -->
<define name="PRELOAD_CHARACTER"/> <!-- Preloads all character .json and .xml files at startup, reducing load time, does not preload bitmaps -->
<define name="ALLOW_FLIXEL_SLEEPING"/> <!-- If a Flixel object remains unchanged in velocity for a specified amount of time, it will set `moves` property to false -->
<define name="NOTE_POOLING"/> <!-- Pools a set amount of note sprites so only the chart is loaded, disable under rare circumstances -->
<!-- _________________________ Application Settings _________________________ -->
<app title="Friday Night Funkin' (Crow Engine)" file="CrowEngine" main="Main" company="EyeDaleHim"/>
<app main="Main" preloader="flixel.system.FlxPreloader"/>
<language name="en-US"/>
<!--Minimum without FLX_NO_GAMEPAD: 11.8, without FLX_NO_NATIVE_CURSOR: 11.2-->
<set name="SWF_VERSION" value="11.8"/>
<!-- ____________________________ Window Settings ___________________________ -->
<window width="1280" height="720" hardware="true" vsync="false" fps="" background=""/>
<window if="desktop" fullscreen="false" resizable="true" vsync="false" allowHighDPI="true" allow-shaders="true"/>
<window if="mobile" fullscreen="true" resizable="false"/>
<window if="html5" resizable="false" />
<!-- _____________________________ Path Settings ____________________________ -->
<section if="32bit">
<set name="BUILD_DIR" value="export/32bit" unless="debug"/>
<set name="BUILD_DIR" value="export/32bit-debug" if="debug"/>
</section>
<section unless="32bit">
<set name="BUILD_DIR" value="export/release" unless="debug"/>
<set name="BUILD_DIR" value="export/debug" if="debug"/>
</section>
<source path="source"/>
<!-- ____________________________ Assets Settings ___________________________ -->
<assets path="assets" exclude="*.ogg" if="web"/>
<assets path="assets" exclude="*.mp3" unless="web"/>
<section if="MODS_ENABLED">
<assets path="mods" embed="false" />
</section>
<define name="PRELOAD_ALL" unless="web"/>
<define name="NO_PRELOAD_ALL" unless="PRELOAD_ALL"/>
<!-- I recommend keeping this here just incase. I'd also add it for the titlescreen and main menu
<assets path="assets/preload" rename="assets" exclude="*.ogg" if="web"/>
<assets path="assets/preload" rename="assets" exclude="*.mp3" unless="web"/>
-->
<section if="PRELOAD_ALL">
<!-- <library name="tutorial" preload="true"/> -->
<library name="week1" preload="true"/>
<library name="week2" preload="true"/>
<library name="week3" preload="true"/>
<library name="week4" preload="true"/>
<library name="week5" preload="true"/>
<library name="week6" preload="true"/>
<library name="week7" preload="true"/>
</section>
<section if="NO_PRELOAD_ALL">
<!-- <library name="tutorial" preload="false"/> -->
<library name="week1" preload="false"/>
<library name="week2" preload="false"/>
<library name="week3" preload="false"/>
<library name="week4" preload="false"/>
<library name="week5" preload="false"/>
<library name="week6" preload="false"/>
<library name="week7" preload="false"/>
</section>
<!-- def not needed especially because of week 1
<assets path="assets/tutorial" library="tutorial" exclude="*.ogg" if="web"/>
<assets path="assets/tutorial" library="tutorial" exclude="*.mp3" unless="web"/>
-->
<assets path="assets/week1" library="week1" exclude="*.ogg" if="web"/>
<assets path="assets/week1" library="week1" exclude="*.mp3" unless="web"/>
<assets path="assets/week2" library="week2" exclude="*.ogg" if="web"/>
<assets path="assets/week2" library="week2" exclude="*.mp3" unless="web"/>
<assets path="assets/week3" library="week3" exclude="*.ogg" if="web"/>
<assets path="assets/week3" library="week3" exclude="*.mp3" unless="web"/>
<assets path="assets/week4" library="week4" exclude="*.ogg" if="web"/>
<assets path="assets/week4" library="week4" exclude="*.mp3" unless="web"/>
<assets path="assets/week5" library="week5" exclude="*.ogg" if="web"/>
<assets path="assets/week5" library="week5" exclude="*.mp3" unless="web"/>
<assets path="assets/week6" library="week6" exclude="*.ogg" if="web"/>
<assets path="assets/week6" library="week6" exclude="*.mp3" unless="web"/>
<assets path="assets/week7" library="week7" exclude="*.ogg" if="web"/>
<assets path="assets/week7" library="week7" exclude="*.mp3" unless="web"/>
<!-- _______________________________ Libraries ______________________________ -->
<haxelib name="flixel"/>
<haxelib name="flixel-addons"/>
<haxelib name="flixel-ui"/>
<!--Incase you wanna use adobe spritemaps with 2019+-->
<haxelib name="flxanimate"/>
<!-- haxelib git hxCodec https://github.com/EliteMasterEric/hxCodec -->
<haxelib name="hxCodec"/> <!-- Should probably use Eric's hxCodec instead -->
<haxelib name="tjson"/>
<haxelib name="discord_rpc" if="desktop"/>
<haxelib name="hxcpp-debug-server" if="debug"/>
<!-- ______________________________ Haxedefines _____________________________ -->
<!--Optimise inputs, be careful you will get null errors if you don't use conditionals in your game-->
<haxedef name="FLX_NO_MOUSE" if="mobile"/>
<haxedef name="FLX_NO_KEYBOARD" if="mobile"/>
<!-- <haxedef name="FLX_NO_TOUCH" if="desktop"/> for touchscreens -->
<!--<haxedef name="FLX_NO_GAMEPAD"/>-->
<!--Disable the Flixel core sound tray-->
<!--<haxedef name="FLX_NO_SOUND_TRAY"/>-->
<!--Disable the Flixel core focus lost screen-->
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN"/>
<!--Disable the Flixel core debugger. Automatically gets set whenever you compile in release mode!-->
<haxedef name="FLX_NO_DEBUG" unless="debug"/>
<!--Enable this for Nape release builds for a serious peformance improvement-->
<haxedef name="NAPE_RELEASE_BUILD" unless="debug"/>
<!-- ______________________________ Misc Defines _____________________________ -->
<warning value="Haxe 4.2.5 is no longer supported for Crow Engine, use 4.3.0 and above." if="{haxe <= 4.2.4 }"/>
<warning value="flixel 4.11.0 is no longer supported for Crow Engine, use 5.2.2 and above." if="{flixel <= 4.11.0 }"/>
<warning value="flixel-addons 2.11.0 is no longer supported for Crow Engine, use 3.1.0" if="${flixel-addons <= 2.11.0}"/>
<!-- _________________________________ Custom _______________________________ -->
<!--Place custom nodes like icons here (higher priority to override the HaxeFlixel icon)-->
<icon path="assets/icons/icon16.png" size='16'/>
<icon path="assets/icons/icon32.png" size='24'/>
<icon path="assets/icons/icon32.png" size='32'/>
<icon path="assets/icons/icon64.png" size='40'/>
<icon path="assets/icons/icon64.png" size='48'/>
<icon path="assets/icons/icon64.png" size='64'/>
<icon path="assets/icons/iconOG.png" size='96'/>
<icon path="assets/icons/iconOG.png" size='128'/>
<icon path="assets/icons/iconOG.png" size='196'/>
<icon path="assets/icons/iconOG.png" size='256'/>
<icon path="assets/icons/iconOG.png" size='512'/>
<icon path="assets/icons/iconOG.png" size='768'/>
</project>