Fix travis CI again

This commit is contained in:
2021-06-07 13:17:46 -06:00
parent 9f6c76562c
commit 33613baf8f
21 changed files with 20 additions and 19 deletions

View File

@@ -4,17 +4,4 @@ haxelib dev asciilib .
# Run the headless unit tests:
echo "Running headless ASCIILib tests"
(cd test && haxe build.hxml)
# Make sure the examples with backends compile, at least:
# Flixel backend
EXAMPLE_DIRS=examples/flixel/**/
for EXAMPLE_DIR in $EXAMPLE_DIRS
do
echo "Building $EXAMPLE_DIR for html5"
(cd $EXAMPLE_DIR && haxelib run lime build html5)
echo "Building $EXAMPLE_DIR for cpp"
(cd $EXAMPLE_DIR && haxelib run lime build cpp)
done
(cd test && haxe build.hxml)

View File

@@ -2,7 +2,7 @@
<project>
<!-- _________________________ Application Settings _________________________ -->
<app title="death-trap" file="death-trap" main="Main" version="0.0.1" company="HaxeFlixel" />
<app title="flixel-ascii-game" file="flixel-ascii-game" main="Main" version="0.0.1" company="HaxeFlixel" />
<!--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"-->

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -8,4 +8,4 @@ import asciilib.Game;
import kiss.Prelude;
@:build(kiss.Kiss.build())
class DeathTrapLogic implements GameLogic {}
class AsciiGameLogic implements GameLogic {}

View File

@@ -12,7 +12,7 @@ class PlayState extends FlxState
override public function create()
{
super.create();
game = new Game("Beware Yon Death Trap", 40, 24, 8, 12, new DeathTrapLogic(), new FlxAssetsBackend(),
game = new Game("Ascii Game", 40, 24, 8, 12, new AsciiGameLogic(), new FlxAssetsBackend(),
new FlxGraphicsBackend(this, FlxGraphic.fromAssetKey("assets/images/size12.png"),
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz,.;:/?!@#$%^&*()-_=+[]{}~ÁÉÍÑÓÚÜáéíñóúü¡¿0123456789\"'<>|"));
}