Skip to content

Commit 6438846

Browse files
committed
Cleaner Code, HaxeUI APP
1 parent 5f0e809 commit 6438846

25 files changed

Lines changed: 721 additions & 226 deletions

.github/workflows/haxeBuild.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
uses: actions/upload-artifact@v4
4343
with:
4444
name: windowsBuild
45-
path: export/windows/bin
45+
path: build/flixel/windows/bin
4646

4747
buildLinux:
4848
runs-on: ubuntu-latest
@@ -77,7 +77,7 @@ jobs:
7777
uses: actions/upload-artifact@v4
7878
with:
7979
name: linuxBuild
80-
path: export/linux/bin/
80+
path: build/flixel/linux/bin/
8181

8282
buildMac:
8383
runs-on: macos-latest
@@ -112,5 +112,5 @@ jobs:
112112
uses: actions/upload-artifact@v4
113113
with:
114114
name: macBuild
115-
path: export/macos/bin/
115+
path: build/flixel/macos/bin/
116116

.haxeui

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# generated file simply to hold info about projects created with "haxeui create ..."
2+
name=Main

Project.xml

Lines changed: 61 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,86 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<project xmlns="http://lime.openfl.org/project/1.0.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://lime.openfl.org/project/1.0.4 http://lime.openfl.org/xsd/project-1.0.4.xsd">
4-
5-
<!-- _________________________ Application Settings _________________________ -->
6-
7-
<app title="Solar Submit" file="Solar Submit" main="Main" version="0.1.0" company="Team-SolarEngine" />
8-
9-
<!--The flixel preloader is not accurate in Chrome. You can use it regularly if you embed the swf into a html file
10-
or you can set the actual size of your file manually at "FlxPreloaderBase-onUpdate-bytesTotal"-->
2+
<project>
3+
<!-- NMML reference: https://gist.github.com/1763850 -->
4+
5+
<!-- metadata, make sure 'package' is at least 3 segments (ie. com.mycompany.myproject) -->
6+
<app title="Main" package="" file="Main" main="Main" version="1.0.0" company="" />
7+
8+
<!--The flixel preloader is not accurate in Chrome. You can use it regualary if you embed the swf into a html file, or you can set the actual size of your file manually at "Flxpreloader-onUpdate-bytesTotal"!-->
119
<app preloader="flixel.system.FlxPreloader" />
12-
13-
<!--Minimum without FLX_NO_GAMEPAD: 11.8, without FLX_NO_NATIVE_CURSOR: 11.2-->
10+
<app file="Main" path="build/flixel" />
11+
12+
<!--The swf version should be at least 11.2 if you want to use the FLX_MOUSE_ADVANCED option-->
1413
<set name="SWF_VERSION" value="11.8" />
15-
16-
<!-- ____________________________ Window Settings ___________________________ -->
17-
14+
15+
<!-- WINDOW SETTINGS -->
16+
1817
<!--These window settings apply to all targets-->
19-
<window width="1280" height="720" fps="60" background="#000000" hardware="true" vsync="false" />
20-
18+
<window width="1280" height="720" fps="60" background="#000000" hardware="true" vsync="true" />
19+
2120
<!--HTML5-specific-->
22-
<window if="html5" resizable="true" />
23-
21+
<window if="html5" resizable="false" />
22+
2423
<!--Desktop-specific-->
2524
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" />
26-
25+
2726
<!--Mobile-specific-->
2827
<window if="mobile" orientation="landscape" fullscreen="true" width="0" height="0" />
29-
30-
<!-- _____________________________ Path Settings ____________________________ -->
31-
32-
<set name="BUILD_DIR" value="export" />
33-
<source path="source" />
34-
<!--<assets path="assets" /> -->
35-
36-
<!-- _______________________________ Libraries ______________________________ -->
37-
28+
29+
<!-- PATHS SETTINGS -->
30+
31+
<set name="no-custom-backend" />
32+
<set name="BUILD_DIR" value="build/flixel" />
33+
<classpath name="src" />
34+
<!-- <assets path="assets" include="*" /> -->
35+
36+
<!-- LIBRARIES -->
37+
3838
<haxelib name="flixel" />
39-
<haxelib name="haxeui-core"/>
40-
<haxelib name="haxeui-flixel"/>
41-
39+
4240
<!--In case you want to use the addons package-->
43-
<haxelib name="flixel-addons" />
44-
41+
<!-- <haxelib name="flixel-addons" /> -->
42+
4543
<!--In case you want to use the ui package-->
46-
<!--<haxelib name="flixel-ui" />-->
47-
44+
<!-- <haxelib name="flixel-ui" /> -->
45+
4846
<!--In case you want to use nape with flixel-->
49-
<!--<haxelib name="nape-haxe4" />-->
50-
51-
<!-- ______________________________ Haxedefines _____________________________ -->
52-
53-
<!--Remove the legacy health system-->
54-
<!-- <haxedef name="FLX_NO_HEALTH" /> -->
47+
<!-- <haxelib name="nape" /> -->
48+
49+
<haxelib name="haxeui-core" />
50+
<haxelib name="haxeui-flixel" />
5551

56-
<!--Enable the Flixel core recording system-->
52+
<!-- HAXEDEFINES -->
53+
54+
<!--Enable this for nape release builds for a serious peformance improvement-->
55+
<!-- <haxedef name="NAPE_RELEASE_BUILD" unless="debug" /> -->
56+
57+
<!--Enable the flixel core recording system-->
5758
<!--<haxedef name="FLX_RECORD" />-->
58-
59-
<!--Disable the right and middle mouse buttons-->
60-
<!--<haxedef name="FLX_NO_MOUSE_ADVANCED" />-->
61-
62-
<!--Disable the native cursor API on Flash-->
59+
60+
<!--Enable right and middle click support for the mouse. Flash player version 11.2+, no HTML5 support -->
61+
<!--<haxedef name="FLX_MOUSE_ADVANCED" />-->
62+
63+
<!--Disable the Native cursor api for Flash target-->
6364
<!--<haxedef name="FLX_NO_NATIVE_CURSOR" />-->
64-
65+
6566
<!--Optimise inputs, be careful you will get null errors if you don't use conditionals in your game-->
66-
<haxedef name="FLX_NO_MOUSE" if="mobile" />
67-
<haxedef name="FLX_NO_KEYBOARD" if="mobile" />
67+
<!--<haxedef name="FLX_NO_MOUSE" if="mobile" />-->
68+
<!--<haxedef name="FLX_NO_KEYBOARD" if="mobile" />-->
6869
<haxedef name="FLX_NO_TOUCH" if="desktop" />
69-
<!--<haxedef name="FLX_NO_GAMEPAD" />-->
70-
70+
<haxedef name="FLX_NO_GAMEPAD" />
71+
7172
<!--Disable the Flixel core sound tray-->
72-
<!--<haxedef name="FLX_NO_SOUND_TRAY" />-->
73-
73+
<haxedef name="FLX_NO_SOUND_TRAY" />
74+
7475
<!--Disable the Flixel sound management code-->
75-
<!-- <haxedef name="FLX_NO_SOUND_SYSTEM" /> -->
76-
76+
<haxedef name="FLX_NO_SOUND_SYSTEM" />
77+
7778
<!--Disable the Flixel core focus lost screen-->
7879
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />
79-
80+
8081
<!--Disable the Flixel core debugger. Automatically gets set whenever you compile in release mode!-->
8182
<haxedef name="FLX_NO_DEBUG" unless="debug" />
8283

83-
<!--Enable this for Nape release builds for a serious peformance improvement-->
84-
<haxedef name="NAPE_RELEASE_BUILD" unless="debug" />
85-
86-
<!-- Haxe 4.3.0+: Enable pretty syntax errors and stuff. -->
87-
<!-- pretty (haxeflixel default), indent, classic (haxe compiler default) -->
88-
<haxedef name="message.reporting" value="pretty" />
89-
90-
<!-- _________________________________ Custom _______________________________ -->
91-
92-
<!--Place custom nodes like icons here-->
93-
</project>
84+
<!-- CUSTOM -->
85+
86+
</project>

assets/.DS_Store

-6 KB
Binary file not shown.

assets/data/data-goes-here.txt

Whitespace-only changes.

assets/images/images-go-here.txt

Whitespace-only changes.

assets/music/music-goes-here.txt

Whitespace-only changes.

assets/sounds/sounds-go-here.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)