Skip to content

Commit 0ec94f1

Browse files
committed
Init
1 parent 31945b5 commit 0ec94f1

15 files changed

Lines changed: 460 additions & 13 deletions

File tree

.DS_Store

6 KB
Binary file not shown.

.github/workflows/build.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Build Haxe Solar Files
2+
3+
on:
4+
push:
5+
branches: ['haxe']
6+
pull_request:
7+
branches: ['haxe']
8+
workflow_dispatch:
9+
10+
jobs:
11+
buildWindows:
12+
runs-on: windows-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: krdlab/setup-haxe@master
17+
with:
18+
haxe-version: 4.3.7
19+
20+
name: Install Libraries
21+
run: |
22+
haxelib setup C:/haxelib
23+
haxelib git hxcpp https://github.com/HaxeFoundation/hxcpp
24+
haxelib install lime
25+
haxelib install openfl
26+
haxelib --never install flixel
27+
haxelib run lime setup flixel
28+
haxelib run lime setup
29+
haxelib install flixel-tools
30+
haxelib install flixel-ui
31+
haxelib install flixel-addons
32+
haxelib install haxeui-core
33+
haxelib install haxeui-flixel
34+
shell: cmd
35+
36+
name: Create Version Tag
37+
run: echo "${{github.run_id}}" > VERSION
38+
name: Compile
39+
run: haxelib run lime build windows --app-version="4.0.0-${{ github.run_id}}"
40+
name: Publish Artifact
41+
uses: actions/upload-artifact@v2.2.4
42+
with:
43+
name: windowsBuild
44+
path: export/release/windows/bin
45+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export

Project.xml

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<?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="Setup Solar Files" file="Setup Solar Files" 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"-->
11+
<app preloader="flixel.system.FlxPreloader" />
12+
13+
<!--Minimum without FLX_NO_GAMEPAD: 11.8, without FLX_NO_NATIVE_CURSOR: 11.2-->
14+
<set name="SWF_VERSION" value="11.8" />
15+
16+
<!-- ____________________________ Window Settings ___________________________ -->
17+
18+
<!--These window settings apply to all targets-->
19+
<window width="1280" height="720" fps="60" background="#000000" hardware="true" vsync="false" />
20+
21+
<!--HTML5-specific-->
22+
<window if="html5" resizable="true" />
23+
24+
<!--Desktop-specific-->
25+
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" />
26+
27+
<!--Mobile-specific-->
28+
<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+
38+
<haxelib name="flixel" />
39+
<haxelib name="haxeui-core"/>
40+
<haxelib name="haxeui-flixel"/>
41+
42+
<!--In case you want to use the addons package-->
43+
<!--<haxelib name="flixel-addons" />-->
44+
45+
<!--In case you want to use the ui package-->
46+
<!--<haxelib name="flixel-ui" />-->
47+
48+
<!--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" /> -->
55+
56+
<!--Enable the Flixel core recording system-->
57+
<!--<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-->
63+
<!--<haxedef name="FLX_NO_NATIVE_CURSOR" />-->
64+
65+
<!--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" />
68+
<haxedef name="FLX_NO_TOUCH" if="desktop" />
69+
<!--<haxedef name="FLX_NO_GAMEPAD" />-->
70+
71+
<!--Disable the Flixel core sound tray-->
72+
<!--<haxedef name="FLX_NO_SOUND_TRAY" />-->
73+
74+
<!--Disable the Flixel sound management code-->
75+
<!-- <haxedef name="FLX_NO_SOUND_SYSTEM" /> -->
76+
77+
<!--Disable the Flixel core focus lost screen-->
78+
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />
79+
80+
<!--Disable the Flixel core debugger. Automatically gets set whenever you compile in release mode!-->
81+
<haxedef name="FLX_NO_DEBUG" unless="debug" />
82+
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>

README.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
# Setup Solar Files
2-
This repository is mainly used for setting up your `.solar-file` for your Solar Engine mod/script. We have two different version that is being worked on!
1+
# Setup Solar Files (Haxe)
32

4-
## Rust Version (CLI)
5-
**Link**: https://github.com/Team-SolarEngine/setup-solarfiles/tree/rust <br/>
6-
**Maintained by**: [Daveberry Cricket Blueson](https://codedave.pages.dev/)
7-
8-
## Haxe Version (GUI)
9-
**Link**: https://github.com/Team-SolarEngine/setup-solarfiles/tree/haxe <br/>
10-
**Maintained by**: [VideoBot](https://video-bot.netlify.app/)
11-
12-
---
13-
14-
Both works fine for your needs. Whatever you pick is the same functionality.
3+
This is the Haxe version of the program.<br>
4+
Instead of being CLI like the Rust version, this version offers a GUI.<br>

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)