dump lazy-assets

This commit is contained in:
2021-04-27 17:29:19 -06:00
parent f1fdd1f4cc
commit d352bf791f
7 changed files with 0 additions and 128 deletions

View File

@@ -1 +0,0 @@
build/

View File

@@ -1,2 +0,0 @@
# generated file simply to hold info about projects created with "haxeui create ..."
name=Main

View File

@@ -1,3 +0,0 @@
<vbox style="padding: 5px;">
<button text="Click Me!" onclick="this.text='Thanks!'" style="font-size: 24px;" />
</vbox>

View File

@@ -1,6 +0,0 @@
<vbox style="padding: 5px;">
<button text="Select From Existing File" onclick="this.text='Thanks!'" style="font-size: 24px;" />
<button text="Draw New" onclick="this.text='TODO'" style="font-size: 24px;" />
<button text="Program with FlxSpriteUtil" onclick="this.text='TODO'" style="font-size: 24px;" />
<button text="Search Public Domain" onclick="this.text='TODO'" style="font-size: 24px;" />
</vbox>

View File

@@ -1,87 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<project>
<!-- NMML reference: https://gist.github.com/1763850 -->
<!-- metadata, make sure 'package' is at least 3 segments (ie. com.mycompany.myproject) -->
<app title="Main" package="" file="Main" main="Main" version="1.0.0" company="" />
<!--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"!-->
<app preloader="flixel.system.FlxPreloader" />
<app file="Main" path="build/flixel" />
<!--The swf version should be at least 11.2 if you want to use the FLX_MOUSE_ADVANCED option-->
<set name="SWF_VERSION" value="11.8" />
<!--------------------------------WINDOW SETTINGS-------------------------------->
<!--These window settings apply to all targets-->
<window width="800" height="600" fps="60" background="#000000" hardware="true" vsync="true" />
<!--HTML5-specific-->
<window if="html5" resizable="false" />
<!--Desktop-specific-->
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" />
<!--Mobile-specific-->
<window if="mobile" orientation="landscape" fullscreen="true" width="0" height="0" />
<!--------------------------------PATHS SETTINGS-------------------------------->
<set name="no-custom-backend" />
<set name="BUILD_DIR" value="build/flixel" />
<classpath name="src" />
<assets path="assets" include="*" />
<!--------------------------------LIBRARIES------------------------------------->
<haxelib name="flixel" />
<!--In case you want to use the addons package-->
<!-- <haxelib name="flixel-addons" /> -->
<!--In case you want to use the ui package-->
<!-- <haxelib name="flixel-ui" /> -->
<!--In case you want to use nape with flixel-->
<!-- <haxelib name="nape" /> -->
<haxelib name="hscript" />
<haxelib name="haxeui-core" />
<haxelib name="haxeui-flixel" />
<!-------------------------------HAXEDEFINES------------------------------->
<!--Enable this for nape release builds for a serious peformance improvement-->
<!-- <haxedef name="NAPE_RELEASE_BUILD" unless="debug" /> -->
<!--Enable the flixel core recording system-->
<!--<haxedef name="FLX_RECORD" />-->
<!--Enable right and middle click support for the mouse. Flash player version 11.2+, no HTML5 support -->
<!--<haxedef name="FLX_MOUSE_ADVANCED" />-->
<!--Disable the Native cursor api for Flash target-->
<!--<haxedef name="FLX_NO_NATIVE_CURSOR" />-->
<!--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" />
<haxedef name="FLX_NO_GAMEPAD" />
<!--Disable the Flixel core sound tray-->
<haxedef name="FLX_NO_SOUND_TRAY" />
<!--Disable the Flixel sound management code-->
<!--<haxedef name="FLX_NO_SOUND_SYSTEM" />-->
<!--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" />
<!--------------------------------CUSTOM---------------------------------------->
</project>

View File

@@ -1,27 +0,0 @@
package;
import Sys;
import haxe.ui.HaxeUIApp;
import haxe.ui.core.Component;
import haxe.ui.macros.ComponentMacros;
class Main {
public static function main() {
var args = Sys.args();
if (args.length < 1) {
throw "lazy-assets ui cannot launch without an asset type argument";
}
var app = new HaxeUIApp();
app.ready(function() {
var view:Component = switch (args[0]) {
case "sprite":
ComponentMacros.buildComponent("assets/sprite-view.xml");
default:
throw '${args[0]} is not a supported asset type';
};
app.addComponent(view);
app.start();
});
}
}

View File

@@ -1,2 +0,0 @@
haxe.ui.flixel.background.color=#FFFFFF
haxe.ui.flixel.mouse.useSystemCursor=true