diff --git a/Flags.md b/Flags.md index 689d737..f5728dd 100644 --- a/Flags.md +++ b/Flags.md @@ -1,6 +1,8 @@ +# HXML flags + Common `-D` flags that can be used with Heaps: -``` +```hxml # flag to define the size of the window and default scene size: -D windowSize=800x600 @@ -8,11 +10,8 @@ Common `-D` flags that can be used with Heaps: -D windowTitle=My game made with Heaps.io # define the path to the game assets/resources -# (actually not recommended, just use `-p res` insead, -# but which demands assets to be in a directory called `res`) --D resourcesPath=assets -# so rather use: --p res +# if unset, the default path is "res" +-D resourcesPath=res # other known flags (deprecated/legacy code) -D heaps_emit_tile_buffering @@ -20,22 +19,11 @@ Common `-D` flags that can be used with Heaps: ``` Common flags coming from Haxe -``` + +```hxml # dead code elimination (code that cannot be reached will be ditched): -D dce=full -# Tail Recursion Elimination (TRE): Replace recursive programming -# (only `static` and `final` methods, as well as local/arrow functions) -# (https://haxe.org/manual/cr-tail-recursion-elimination.html): -#-D analyzer-optimize -``` - ---- -## More - +# Static analyzer, see: https://haxe.org/manual/cr-static-analyzer.html +-D analyzer-optimize ``` -# Popular resolutions --D windowSize=1920x1080 --D windowSize=1280x720 --D windowSize=1024x768 -``` \ No newline at end of file diff --git a/Simple-sprites.md b/Simple-sprites.md index a2aedbf..8a1045b 100644 --- a/Simple-sprites.md +++ b/Simple-sprites.md @@ -106,7 +106,6 @@ This could be the hxml-file for HashLink: -lib heaps -lib hlsdl -cp src --p res -main SimpleSprites -hl simple_sprites_demo.hl