Git Please ❌
@ -3,6 +3,70 @@
|
||||
{
|
||||
"selected_items":
|
||||
[
|
||||
[
|
||||
"_is",
|
||||
"_isAsleep"
|
||||
],
|
||||
[
|
||||
"_made",
|
||||
"_madeWaste"
|
||||
],
|
||||
[
|
||||
"waste",
|
||||
"_wasteReady\tBool"
|
||||
],
|
||||
[
|
||||
"_waste",
|
||||
"_madeWaste\tBool"
|
||||
],
|
||||
[
|
||||
"fade",
|
||||
"fadeOut(...)\tflixel.FlxSprite"
|
||||
],
|
||||
[
|
||||
"_sp",
|
||||
"_sprInteraction\tflixel.FlxSprite"
|
||||
],
|
||||
[
|
||||
"check",
|
||||
"checkRange( )\tVoid"
|
||||
],
|
||||
[
|
||||
"el",
|
||||
"elapsed"
|
||||
],
|
||||
[
|
||||
"_c",
|
||||
"_menuChoice"
|
||||
],
|
||||
[
|
||||
"isT",
|
||||
"_isTired\tBool"
|
||||
],
|
||||
[
|
||||
"CU",
|
||||
"CurrentNeed\tNeed"
|
||||
],
|
||||
[
|
||||
"SLEEP",
|
||||
"SLEEPY\tNeed"
|
||||
],
|
||||
[
|
||||
"_spor",
|
||||
"_sprThoughts\tflixel.FlxSprite"
|
||||
],
|
||||
[
|
||||
"Cure",
|
||||
"CurrentNeed\tNeed"
|
||||
],
|
||||
[
|
||||
"Th",
|
||||
"Thoughts__png\tString"
|
||||
],
|
||||
[
|
||||
"_spr",
|
||||
"_sprThoughts\tflixel.FlxSprite"
|
||||
],
|
||||
[
|
||||
"W",
|
||||
"Wait"
|
||||
@ -23,10 +87,6 @@
|
||||
"tr",
|
||||
"true"
|
||||
],
|
||||
[
|
||||
"_spr",
|
||||
"_sprInteraction\tvar"
|
||||
],
|
||||
[
|
||||
"FlxC",
|
||||
"FlxColor\tflixel.util"
|
||||
@ -47,10 +107,6 @@
|
||||
"_sprIn",
|
||||
"_sprInteraction\tvar"
|
||||
],
|
||||
[
|
||||
"check",
|
||||
"checkRange( )\tVoid"
|
||||
],
|
||||
[
|
||||
"Max",
|
||||
"MAX_LEVEL\tInt"
|
||||
@ -75,14 +131,6 @@
|
||||
"Con",
|
||||
"Config__png\tString"
|
||||
],
|
||||
[
|
||||
"_sp",
|
||||
"_sprGel\tGel"
|
||||
],
|
||||
[
|
||||
"el",
|
||||
"elsapsed"
|
||||
],
|
||||
[
|
||||
"E",
|
||||
"Egg_New__png\tString"
|
||||
@ -339,15 +387,6 @@
|
||||
},
|
||||
"buffers":
|
||||
[
|
||||
{
|
||||
"file": "source/MenuState.hx",
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 1660,
|
||||
"encoding": "UTF-8",
|
||||
"line_ending": "Unix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "source/PlayState.hx",
|
||||
"settings":
|
||||
@ -357,11 +396,20 @@
|
||||
"line_ending": "Unix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "source/MenuState.hx",
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 1699,
|
||||
"encoding": "UTF-8",
|
||||
"line_ending": "Windows"
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "source/HUD.hx",
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 7233,
|
||||
"buffer_size": 8501,
|
||||
"encoding": "UTF-8",
|
||||
"line_ending": "Windows"
|
||||
}
|
||||
@ -370,16 +418,16 @@
|
||||
"file": "source/Gel.hx",
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 2848,
|
||||
"buffer_size": 5479,
|
||||
"encoding": "UTF-8",
|
||||
"line_ending": "Windows"
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "GelNotes.md",
|
||||
"file": "source/Clock.hx",
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 4200,
|
||||
"buffer_size": 851,
|
||||
"encoding": "UTF-8",
|
||||
"line_ending": "Windows"
|
||||
}
|
||||
@ -392,10 +440,22 @@
|
||||
"build_varint": "",
|
||||
"command_palette":
|
||||
{
|
||||
"height": 357.0,
|
||||
"last_filter": "mark",
|
||||
"height": 243.0,
|
||||
"last_filter": "instal",
|
||||
"selected_items":
|
||||
[
|
||||
[
|
||||
"instal",
|
||||
"Package Control: Install Package"
|
||||
],
|
||||
[
|
||||
"im",
|
||||
"Haxe: Organize Imports"
|
||||
],
|
||||
[
|
||||
"i",
|
||||
"Haxe: Organize Imports"
|
||||
],
|
||||
[
|
||||
"mark",
|
||||
"Markdown Preview: Export HTML in Sublime Text"
|
||||
@ -444,10 +504,6 @@
|
||||
"imp",
|
||||
"Haxe: Organize Imports"
|
||||
],
|
||||
[
|
||||
"im",
|
||||
"Haxe: Organize Imports"
|
||||
],
|
||||
[
|
||||
"git",
|
||||
"Git: Init"
|
||||
@ -488,10 +544,6 @@
|
||||
"theme",
|
||||
"Boxy Theme: Activation"
|
||||
],
|
||||
[
|
||||
"i",
|
||||
"Haxe: Organize Imports"
|
||||
],
|
||||
[
|
||||
"hexe",
|
||||
"Haxe: Organize Imports"
|
||||
@ -528,10 +580,6 @@
|
||||
"pack",
|
||||
"Package Control: Install Package"
|
||||
],
|
||||
[
|
||||
"instal",
|
||||
"Package Control: Install Package"
|
||||
],
|
||||
[
|
||||
"git p",
|
||||
"Git: Push"
|
||||
@ -545,7 +593,7 @@
|
||||
"Package Control: Install Package"
|
||||
]
|
||||
],
|
||||
"width": 380.0
|
||||
"width": 414.0
|
||||
},
|
||||
"console":
|
||||
{
|
||||
@ -567,12 +615,16 @@
|
||||
"expanded_folders":
|
||||
[
|
||||
"/C/Users/melon/Documents/Projects/Pet.GB",
|
||||
"/C/Users/melon/Documents/Projects/Pet.GB/_tmp"
|
||||
"/C/Users/melon/Documents/Projects/Pet.GB/assets",
|
||||
"/C/Users/melon/Documents/Projects/Pet.GB/source"
|
||||
],
|
||||
"file_history":
|
||||
[
|
||||
"/C/Users/melon/Documents/Projects/Pet.GB/_tmp/GelNotes.html",
|
||||
"/C/Users/melon/Documents/Projects/Pet.GB/source/MenuState.hx",
|
||||
"/C/Users/melon/Documents/Projects/Pet.GB/Project.xml",
|
||||
"/C/Users/melon/Documents/Projects/Pet.GB/GelNotes.md",
|
||||
"/C/Users/melon/Documents/Projects/Pet.GB/source/Gel.hx",
|
||||
"/C/Users/melon/Documents/Projects/Pet.GB/_tmp/GelNotes.html",
|
||||
"/C/Users/melon/Documents/Projects/Pet.GB/_tmp/MoodNotes.md",
|
||||
"/C/HaxeToolkit/haxe/lib/flixel/4,1,1/flixel/text/FlxBitmapText.hx",
|
||||
"/C/Users/melon/AppData/Roaming/Sublime Text 3/Packages/TodoReview/TodoReview.sublime-settings",
|
||||
@ -695,10 +747,7 @@
|
||||
"/C/Users/melon/Downloads/vpk-tmp/MGBA00001/sce_sys/param.sfo",
|
||||
"/C/Users/melon/Programs/Ice/emulators.txt",
|
||||
"/C/Users/melon/Programs/Ice/consoles.txt",
|
||||
"/C/Users/melon/Programs/Ice/config.txt",
|
||||
"/C/Users/melon/Desktop/RAVBA/vbam.ini",
|
||||
"/C/Users/melon/Downloads/Turn_Off_Fast_Startup.bat",
|
||||
"/C/Users/melon/Downloads/RAVBA/vbam.ini"
|
||||
"/C/Users/melon/Programs/Ice/config.txt"
|
||||
],
|
||||
"find":
|
||||
{
|
||||
@ -716,6 +765,8 @@
|
||||
"case_sensitive": false,
|
||||
"find_history":
|
||||
[
|
||||
"madwa",
|
||||
"elsapsed",
|
||||
"/l6",
|
||||
"/16",
|
||||
"body",
|
||||
@ -758,6 +809,7 @@
|
||||
"regex": false,
|
||||
"replace_history":
|
||||
[
|
||||
"elapsed",
|
||||
"",
|
||||
"Study",
|
||||
"",
|
||||
@ -790,36 +842,6 @@
|
||||
[
|
||||
{
|
||||
"buffer": 0,
|
||||
"file": "source/MenuState.hx",
|
||||
"semi_transient": false,
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 1660,
|
||||
"regions":
|
||||
{
|
||||
},
|
||||
"selection":
|
||||
[
|
||||
[
|
||||
909,
|
||||
909
|
||||
]
|
||||
],
|
||||
"settings":
|
||||
{
|
||||
"haxe-build-id": 0,
|
||||
"syntax": "Packages/Haxe/Haxe.tmLanguage",
|
||||
"translate_tabs_to_spaces": false
|
||||
},
|
||||
"translation.x": 0.0,
|
||||
"translation.y": 213.0,
|
||||
"zoom_level": 1.0
|
||||
},
|
||||
"stack_index": 4,
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"buffer": 1,
|
||||
"file": "source/PlayState.hx",
|
||||
"semi_transient": false,
|
||||
"settings":
|
||||
@ -837,6 +859,80 @@
|
||||
],
|
||||
"settings":
|
||||
{
|
||||
"bracket_highlighter.busy": false,
|
||||
"bracket_highlighter.locations":
|
||||
{
|
||||
"close":
|
||||
{
|
||||
},
|
||||
"icon":
|
||||
{
|
||||
},
|
||||
"open":
|
||||
{
|
||||
},
|
||||
"unmatched":
|
||||
{
|
||||
}
|
||||
},
|
||||
"bracket_highlighter.regions":
|
||||
[
|
||||
"bh_angle",
|
||||
"bh_angle_center",
|
||||
"bh_angle_open",
|
||||
"bh_angle_close",
|
||||
"bh_angle_content",
|
||||
"bh_single_quote",
|
||||
"bh_single_quote_center",
|
||||
"bh_single_quote_open",
|
||||
"bh_single_quote_close",
|
||||
"bh_single_quote_content",
|
||||
"bh_square",
|
||||
"bh_square_center",
|
||||
"bh_square_open",
|
||||
"bh_square_close",
|
||||
"bh_square_content",
|
||||
"bh_regex",
|
||||
"bh_regex_center",
|
||||
"bh_regex_open",
|
||||
"bh_regex_close",
|
||||
"bh_regex_content",
|
||||
"bh_double_quote",
|
||||
"bh_double_quote_center",
|
||||
"bh_double_quote_open",
|
||||
"bh_double_quote_close",
|
||||
"bh_double_quote_content",
|
||||
"bh_curly",
|
||||
"bh_curly_center",
|
||||
"bh_curly_open",
|
||||
"bh_curly_close",
|
||||
"bh_curly_content",
|
||||
"bh_tag",
|
||||
"bh_tag_center",
|
||||
"bh_tag_open",
|
||||
"bh_tag_close",
|
||||
"bh_tag_content",
|
||||
"bh_c_define",
|
||||
"bh_c_define_center",
|
||||
"bh_c_define_open",
|
||||
"bh_c_define_close",
|
||||
"bh_c_define_content",
|
||||
"bh_default",
|
||||
"bh_default_center",
|
||||
"bh_default_open",
|
||||
"bh_default_close",
|
||||
"bh_default_content",
|
||||
"bh_round",
|
||||
"bh_round_center",
|
||||
"bh_round_open",
|
||||
"bh_round_close",
|
||||
"bh_round_content",
|
||||
"bh_unmatched",
|
||||
"bh_unmatched_center",
|
||||
"bh_unmatched_open",
|
||||
"bh_unmatched_close",
|
||||
"bh_unmatched_content"
|
||||
],
|
||||
"haxe-build-id": 0,
|
||||
"syntax": "Packages/Haxe/Haxe.tmLanguage",
|
||||
"translate_tabs_to_spaces": false
|
||||
@ -849,30 +945,238 @@
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"buffer": 2,
|
||||
"file": "source/HUD.hx",
|
||||
"buffer": 1,
|
||||
"file": "source/MenuState.hx",
|
||||
"semi_transient": false,
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 7233,
|
||||
"buffer_size": 1699,
|
||||
"regions":
|
||||
{
|
||||
},
|
||||
"selection":
|
||||
[
|
||||
[
|
||||
6752,
|
||||
6752
|
||||
1358,
|
||||
1358
|
||||
]
|
||||
],
|
||||
"settings":
|
||||
{
|
||||
"bracket_highlighter.busy": false,
|
||||
"bracket_highlighter.locations":
|
||||
{
|
||||
"close":
|
||||
{
|
||||
"1":
|
||||
[
|
||||
1697,
|
||||
1698
|
||||
]
|
||||
},
|
||||
"icon":
|
||||
{
|
||||
"1":
|
||||
[
|
||||
"Packages/BracketHighlighter/icons/curly_bracket.png",
|
||||
"brackethighlighter.default"
|
||||
]
|
||||
},
|
||||
"open":
|
||||
{
|
||||
"1":
|
||||
[
|
||||
241,
|
||||
242
|
||||
]
|
||||
},
|
||||
"unmatched":
|
||||
{
|
||||
}
|
||||
},
|
||||
"bracket_highlighter.regions":
|
||||
[
|
||||
"bh_angle",
|
||||
"bh_angle_center",
|
||||
"bh_angle_open",
|
||||
"bh_angle_close",
|
||||
"bh_angle_content",
|
||||
"bh_single_quote",
|
||||
"bh_single_quote_center",
|
||||
"bh_single_quote_open",
|
||||
"bh_single_quote_close",
|
||||
"bh_single_quote_content",
|
||||
"bh_square",
|
||||
"bh_square_center",
|
||||
"bh_square_open",
|
||||
"bh_square_close",
|
||||
"bh_square_content",
|
||||
"bh_regex",
|
||||
"bh_regex_center",
|
||||
"bh_regex_open",
|
||||
"bh_regex_close",
|
||||
"bh_regex_content",
|
||||
"bh_double_quote",
|
||||
"bh_double_quote_center",
|
||||
"bh_double_quote_open",
|
||||
"bh_double_quote_close",
|
||||
"bh_double_quote_content",
|
||||
"bh_curly",
|
||||
"bh_curly_center",
|
||||
"bh_curly_open",
|
||||
"bh_curly_close",
|
||||
"bh_curly_content",
|
||||
"bh_tag",
|
||||
"bh_tag_center",
|
||||
"bh_tag_open",
|
||||
"bh_tag_close",
|
||||
"bh_tag_content",
|
||||
"bh_c_define",
|
||||
"bh_c_define_center",
|
||||
"bh_c_define_open",
|
||||
"bh_c_define_close",
|
||||
"bh_c_define_content",
|
||||
"bh_default",
|
||||
"bh_default_center",
|
||||
"bh_default_open",
|
||||
"bh_default_close",
|
||||
"bh_default_content",
|
||||
"bh_round",
|
||||
"bh_round_center",
|
||||
"bh_round_open",
|
||||
"bh_round_close",
|
||||
"bh_round_content",
|
||||
"bh_unmatched",
|
||||
"bh_unmatched_center",
|
||||
"bh_unmatched_open",
|
||||
"bh_unmatched_close",
|
||||
"bh_unmatched_content"
|
||||
],
|
||||
"haxe-build-id": 0,
|
||||
"syntax": "Packages/Haxe/Haxe.tmLanguage",
|
||||
"translate_tabs_to_spaces": false
|
||||
},
|
||||
"translation.x": 0.0,
|
||||
"translation.y": 1290.0,
|
||||
"translation.y": 390.0,
|
||||
"zoom_level": 1.0
|
||||
},
|
||||
"stack_index": 2,
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"buffer": 2,
|
||||
"file": "source/HUD.hx",
|
||||
"semi_transient": false,
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 8501,
|
||||
"regions":
|
||||
{
|
||||
},
|
||||
"selection":
|
||||
[
|
||||
[
|
||||
3553,
|
||||
3553
|
||||
]
|
||||
],
|
||||
"settings":
|
||||
{
|
||||
"bracket_highlighter.busy": false,
|
||||
"bracket_highlighter.locations":
|
||||
{
|
||||
"close":
|
||||
{
|
||||
"1":
|
||||
[
|
||||
3561,
|
||||
3562
|
||||
]
|
||||
},
|
||||
"icon":
|
||||
{
|
||||
"1":
|
||||
[
|
||||
"Packages/BracketHighlighter/icons/round_bracket.png",
|
||||
"brackethighlighter.default"
|
||||
]
|
||||
},
|
||||
"open":
|
||||
{
|
||||
"1":
|
||||
[
|
||||
3527,
|
||||
3528
|
||||
]
|
||||
},
|
||||
"unmatched":
|
||||
{
|
||||
}
|
||||
},
|
||||
"bracket_highlighter.regions":
|
||||
[
|
||||
"bh_unmatched",
|
||||
"bh_unmatched_center",
|
||||
"bh_unmatched_open",
|
||||
"bh_unmatched_close",
|
||||
"bh_unmatched_content",
|
||||
"bh_default",
|
||||
"bh_default_center",
|
||||
"bh_default_open",
|
||||
"bh_default_close",
|
||||
"bh_default_content",
|
||||
"bh_round",
|
||||
"bh_round_center",
|
||||
"bh_round_open",
|
||||
"bh_round_close",
|
||||
"bh_round_content",
|
||||
"bh_square",
|
||||
"bh_square_center",
|
||||
"bh_square_open",
|
||||
"bh_square_close",
|
||||
"bh_square_content",
|
||||
"bh_angle",
|
||||
"bh_angle_center",
|
||||
"bh_angle_open",
|
||||
"bh_angle_close",
|
||||
"bh_angle_content",
|
||||
"bh_single_quote",
|
||||
"bh_single_quote_center",
|
||||
"bh_single_quote_open",
|
||||
"bh_single_quote_close",
|
||||
"bh_single_quote_content",
|
||||
"bh_double_quote",
|
||||
"bh_double_quote_center",
|
||||
"bh_double_quote_open",
|
||||
"bh_double_quote_close",
|
||||
"bh_double_quote_content",
|
||||
"bh_curly",
|
||||
"bh_curly_center",
|
||||
"bh_curly_open",
|
||||
"bh_curly_close",
|
||||
"bh_curly_content",
|
||||
"bh_regex",
|
||||
"bh_regex_center",
|
||||
"bh_regex_open",
|
||||
"bh_regex_close",
|
||||
"bh_regex_content",
|
||||
"bh_tag",
|
||||
"bh_tag_center",
|
||||
"bh_tag_open",
|
||||
"bh_tag_close",
|
||||
"bh_tag_content",
|
||||
"bh_c_define",
|
||||
"bh_c_define_center",
|
||||
"bh_c_define_open",
|
||||
"bh_c_define_close",
|
||||
"bh_c_define_content"
|
||||
],
|
||||
"haxe-build-id": 0,
|
||||
"syntax": "Packages/Haxe/Haxe.tmLanguage",
|
||||
"translate_tabs_to_spaces": false
|
||||
},
|
||||
"translation.x": 0.0,
|
||||
"translation.y": 1160.0,
|
||||
"zoom_level": 1.0
|
||||
},
|
||||
"stack_index": 0,
|
||||
@ -884,25 +1188,104 @@
|
||||
"semi_transient": false,
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 2848,
|
||||
"buffer_size": 5479,
|
||||
"regions":
|
||||
{
|
||||
},
|
||||
"selection":
|
||||
[
|
||||
[
|
||||
2227,
|
||||
2227
|
||||
2892,
|
||||
2892
|
||||
]
|
||||
],
|
||||
"settings":
|
||||
{
|
||||
"bracket_highlighter.busy": false,
|
||||
"bracket_highlighter.locations":
|
||||
{
|
||||
"close":
|
||||
{
|
||||
},
|
||||
"icon":
|
||||
{
|
||||
},
|
||||
"open":
|
||||
{
|
||||
},
|
||||
"unmatched":
|
||||
{
|
||||
"1":
|
||||
[
|
||||
5357,
|
||||
5358
|
||||
]
|
||||
}
|
||||
},
|
||||
"bracket_highlighter.regions":
|
||||
[
|
||||
"bh_double_quote",
|
||||
"bh_double_quote_center",
|
||||
"bh_double_quote_open",
|
||||
"bh_double_quote_close",
|
||||
"bh_double_quote_content",
|
||||
"bh_default",
|
||||
"bh_default_center",
|
||||
"bh_default_open",
|
||||
"bh_default_close",
|
||||
"bh_default_content",
|
||||
"bh_tag",
|
||||
"bh_tag_center",
|
||||
"bh_tag_open",
|
||||
"bh_tag_close",
|
||||
"bh_tag_content",
|
||||
"bh_c_define",
|
||||
"bh_c_define_center",
|
||||
"bh_c_define_open",
|
||||
"bh_c_define_close",
|
||||
"bh_c_define_content",
|
||||
"bh_unmatched",
|
||||
"bh_unmatched_center",
|
||||
"bh_unmatched_open",
|
||||
"bh_unmatched_close",
|
||||
"bh_unmatched_content",
|
||||
"bh_single_quote",
|
||||
"bh_single_quote_center",
|
||||
"bh_single_quote_open",
|
||||
"bh_single_quote_close",
|
||||
"bh_single_quote_content",
|
||||
"bh_angle",
|
||||
"bh_angle_center",
|
||||
"bh_angle_open",
|
||||
"bh_angle_close",
|
||||
"bh_angle_content",
|
||||
"bh_curly",
|
||||
"bh_curly_center",
|
||||
"bh_curly_open",
|
||||
"bh_curly_close",
|
||||
"bh_curly_content",
|
||||
"bh_regex",
|
||||
"bh_regex_center",
|
||||
"bh_regex_open",
|
||||
"bh_regex_close",
|
||||
"bh_regex_content",
|
||||
"bh_round",
|
||||
"bh_round_center",
|
||||
"bh_round_open",
|
||||
"bh_round_close",
|
||||
"bh_round_content",
|
||||
"bh_square",
|
||||
"bh_square_center",
|
||||
"bh_square_open",
|
||||
"bh_square_close",
|
||||
"bh_square_content"
|
||||
],
|
||||
"haxe-build-id": 0,
|
||||
"syntax": "Packages/Haxe/Haxe.tmLanguage",
|
||||
"translate_tabs_to_spaces": false
|
||||
},
|
||||
"translation.x": 0.0,
|
||||
"translation.y": 886.0,
|
||||
"translation.y": 579.0,
|
||||
"zoom_level": 1.0
|
||||
},
|
||||
"stack_index": 1,
|
||||
@ -916,33 +1299,120 @@
|
||||
[
|
||||
{
|
||||
"buffer": 4,
|
||||
"file": "GelNotes.md",
|
||||
"file": "source/Clock.hx",
|
||||
"semi_transient": false,
|
||||
"settings":
|
||||
{
|
||||
"buffer_size": 4200,
|
||||
"buffer_size": 851,
|
||||
"regions":
|
||||
{
|
||||
},
|
||||
"selection":
|
||||
[
|
||||
[
|
||||
1084,
|
||||
1084
|
||||
577,
|
||||
624
|
||||
]
|
||||
],
|
||||
"settings":
|
||||
{
|
||||
"parser": "markdown",
|
||||
"syntax": "Packages/Markdown/Markdown.sublime-syntax",
|
||||
"target": "sublime",
|
||||
"translate_tabs_to_spaces": false
|
||||
"bracket_highlighter.busy": false,
|
||||
"bracket_highlighter.locations":
|
||||
{
|
||||
"close":
|
||||
{
|
||||
"1":
|
||||
[
|
||||
850,
|
||||
851
|
||||
]
|
||||
},
|
||||
"icon":
|
||||
{
|
||||
"1":
|
||||
[
|
||||
"Packages/BracketHighlighter/icons/curly_bracket.png",
|
||||
"brackethighlighter.default"
|
||||
]
|
||||
},
|
||||
"open":
|
||||
{
|
||||
"1":
|
||||
[
|
||||
72,
|
||||
73
|
||||
]
|
||||
},
|
||||
"unmatched":
|
||||
{
|
||||
}
|
||||
},
|
||||
"bracket_highlighter.regions":
|
||||
[
|
||||
"bh_unmatched",
|
||||
"bh_unmatched_center",
|
||||
"bh_unmatched_open",
|
||||
"bh_unmatched_close",
|
||||
"bh_unmatched_content",
|
||||
"bh_default",
|
||||
"bh_default_center",
|
||||
"bh_default_open",
|
||||
"bh_default_close",
|
||||
"bh_default_content",
|
||||
"bh_round",
|
||||
"bh_round_center",
|
||||
"bh_round_open",
|
||||
"bh_round_close",
|
||||
"bh_round_content",
|
||||
"bh_square",
|
||||
"bh_square_center",
|
||||
"bh_square_open",
|
||||
"bh_square_close",
|
||||
"bh_square_content",
|
||||
"bh_angle",
|
||||
"bh_angle_center",
|
||||
"bh_angle_open",
|
||||
"bh_angle_close",
|
||||
"bh_angle_content",
|
||||
"bh_single_quote",
|
||||
"bh_single_quote_center",
|
||||
"bh_single_quote_open",
|
||||
"bh_single_quote_close",
|
||||
"bh_single_quote_content",
|
||||
"bh_double_quote",
|
||||
"bh_double_quote_center",
|
||||
"bh_double_quote_open",
|
||||
"bh_double_quote_close",
|
||||
"bh_double_quote_content",
|
||||
"bh_curly",
|
||||
"bh_curly_center",
|
||||
"bh_curly_open",
|
||||
"bh_curly_close",
|
||||
"bh_curly_content",
|
||||
"bh_regex",
|
||||
"bh_regex_center",
|
||||
"bh_regex_open",
|
||||
"bh_regex_close",
|
||||
"bh_regex_content",
|
||||
"bh_tag",
|
||||
"bh_tag_center",
|
||||
"bh_tag_open",
|
||||
"bh_tag_close",
|
||||
"bh_tag_content",
|
||||
"bh_c_define",
|
||||
"bh_c_define_center",
|
||||
"bh_c_define_open",
|
||||
"bh_c_define_close",
|
||||
"bh_c_define_content"
|
||||
],
|
||||
"haxe-build-id": 0,
|
||||
"syntax": "Packages/Haxe/Haxe.tmLanguage"
|
||||
},
|
||||
"translation.x": 0.0,
|
||||
"translation.y": 1249.0,
|
||||
"translation.y": 0.0,
|
||||
"zoom_level": 1.0
|
||||
},
|
||||
"stack_index": 2,
|
||||
"stack_index": 4,
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
@ -976,7 +1446,7 @@
|
||||
"cols":
|
||||
[
|
||||
0.0,
|
||||
0.559843885516,
|
||||
0.683596500179,
|
||||
1.0
|
||||
],
|
||||
"rows":
|
||||
@ -988,7 +1458,7 @@
|
||||
"menu_visible": true,
|
||||
"output.exec":
|
||||
{
|
||||
"height": 88.0
|
||||
"height": 106.0
|
||||
},
|
||||
"output.find_results":
|
||||
{
|
||||
@ -1032,7 +1502,7 @@
|
||||
],
|
||||
"width": 0.0
|
||||
},
|
||||
"selected_group": 0,
|
||||
"selected_group": 1,
|
||||
"settings":
|
||||
{
|
||||
},
|
||||
|
@ -1 +1 @@
|
||||
251
|
||||
307
|
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 284 B |
Before Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 403 B |
Before Width: | Height: | Size: 401 B |
Before Width: | Height: | Size: 401 B |
Before Width: | Height: | Size: 398 B |
Before Width: | Height: | Size: 200 B |
Before Width: | Height: | Size: 238 B |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 267 B |
Before Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 200 B |
Before Width: | Height: | Size: 294 B |
Before Width: | Height: | Size: 294 B |
Before Width: | Height: | Size: 265 B |
Before Width: | Height: | Size: 435 B |
Before Width: | Height: | Size: 150 B |
Before Width: | Height: | Size: 194 B |
Before Width: | Height: | Size: 211 B |
Before Width: | Height: | Size: 394 KiB |
@ -1 +0,0 @@
|
||||
aoy4:pathy32:assets%2Fdata%2FEarlyGameBoy.ttfy4:typey4:FONTy2:idR1goR0y17:assets%2Ficon.pngR2y5:IMAGER4R5goR0y32:assets%2Fimages%2Fbackground.pngR2R6R4R7goR0y27:assets%2Fimages%2FCheer.pngR2R6R4R8goR0y28:assets%2Fimages%2FConfig.pngR2R6R4R9goR0y25:assets%2Fimages%2FEgg.pngR2R6R4R10goR0y26:assets%2Fimages%2FEgg2.pngR2R6R4R11goR0y26:assets%2Fimages%2FEgg3.pngR2R6R4R12goR0y26:assets%2Fimages%2FFeed.pngR2R6R4R13goR0y36:assets%2Fimages%2FHUD_Background.pngR2R6R4R14goR0y26:assets%2Fimages%2FInfo.pngR2R6R4R15goR0y28:assets%2Fimages%2FPlayer.pngR2R6R4R16goR0y26:assets%2Fimages%2FRest.pngR2R6R4R17goR0y30:assets%2Fimages%2FRest_old.pngR2R6R4R18goR0y27:assets%2Fimages%2FScold.pngR2R6R4R19goR0y27:assets%2Fimages%2Ftmp20.pngR2R6R4R20goR0y27:assets%2Fimages%2Ftmp32.pngR2R6R4R21goR0y31:assets%2Fimages%2FtmpSelect.pngR2R6R4R22goR0y27:assets%2Fimages%2FTrain.pngR2R6R4R23goR0y26:assets%2Fimages%2FWipe.pngR2R6R4R24goR0y36:assets%2Fmusic%2Fmusic-goes-here.txtR2y4:TEXTR4R25goR0y26:assets%2Fsounds%2FNext.oggR2y5:SOUNDR4R27goR0y28:assets%2Fsounds%2FSelect.oggR2R28R4R29goR0y26:flixel%2Fsounds%2Fbeep.oggR2R28R4R30goR0y28:flixel%2Fsounds%2Fflixel.oggR2R28R4R31goR0y30:flixel%2Ffonts%2Fnokiafc22.ttfR2R3R4R32goR0y31:flixel%2Ffonts%2Fmonsterrat.ttfR2R3R4R33goR0y33:flixel%2Fimages%2Fui%2Fbutton.pngR2R6R4R34gh
|
@ -1,657 +0,0 @@
|
||||
#if !lime_hybrid
|
||||
|
||||
|
||||
import openfl.Assets;
|
||||
|
||||
|
||||
#if (!macro && !display && !waxe)
|
||||
|
||||
|
||||
@:access(openfl._legacy.Assets)
|
||||
|
||||
|
||||
class ApplicationMain {
|
||||
|
||||
|
||||
private static var barA:flash.display.Sprite;
|
||||
private static var barB:flash.display.Sprite;
|
||||
private static var container:flash.display.Sprite;
|
||||
private static var forceHeight:Int;
|
||||
private static var forceWidth:Int;
|
||||
|
||||
#if hxtelemetry
|
||||
public static var telemetryConfig:hxtelemetry.HxTelemetry.Config;
|
||||
#end
|
||||
|
||||
|
||||
public static function main () {
|
||||
|
||||
flash.Lib.setPackage ("Melon Bread", "Pet.GB", "com.example.myapp", "0.0.1");
|
||||
|
||||
|
||||
#if ios
|
||||
flash.display.Stage.shouldRotateInterface = function (orientation:Int):Bool {
|
||||
return (orientation == flash.display.Stage.OrientationLandscapeLeft || orientation == flash.display.Stage.OrientationLandscapeRight);
|
||||
|
||||
}
|
||||
#end
|
||||
|
||||
#if hxtelemetry
|
||||
telemetryConfig = new hxtelemetry.HxTelemetry.Config ();
|
||||
telemetryConfig.allocations = true;
|
||||
telemetryConfig.host = "localhost";
|
||||
telemetryConfig.app_name = "Pet.GB";
|
||||
#end
|
||||
|
||||
|
||||
|
||||
#if tizen
|
||||
flash.display.Stage.setFixedOrientation (flash.display.Stage.OrientationLandscapeRight);
|
||||
#end
|
||||
|
||||
flash.Lib.create (function () {
|
||||
|
||||
flash.Lib.current.stage.align = flash.display.StageAlign.TOP_LEFT;
|
||||
flash.Lib.current.stage.scaleMode = flash.display.StageScaleMode.NO_SCALE;
|
||||
flash.Lib.current.loaderInfo = flash.display.LoaderInfo.create (null);
|
||||
|
||||
#if mobile
|
||||
|
||||
forceWidth = 160;
|
||||
forceHeight = 144;
|
||||
|
||||
container = new flash.display.Sprite ();
|
||||
barA = new flash.display.Sprite ();
|
||||
barB = new flash.display.Sprite ();
|
||||
|
||||
flash.Lib.current.stage.addChild (container);
|
||||
container.addChild (flash.Lib.current);
|
||||
container.addChild (barA);
|
||||
container.addChild (barB);
|
||||
|
||||
applyScale ();
|
||||
flash.Lib.current.stage.addEventListener (flash.events.Event.RESIZE, applyScale);
|
||||
|
||||
#end
|
||||
|
||||
#if windows
|
||||
try {
|
||||
|
||||
var currentPath = haxe.io.Path.directory (Sys.executablePath ());
|
||||
Sys.setCwd (currentPath);
|
||||
|
||||
} catch (e:Dynamic) {}
|
||||
#elseif linux
|
||||
try {
|
||||
|
||||
if (!sys.FileSystem.exists (Sys.getCwd () + "/lime-legacy.ndll")) {
|
||||
|
||||
Sys.setCwd (haxe.io.Path.directory (Sys.executablePath ()));
|
||||
|
||||
}
|
||||
|
||||
} catch (e:Dynamic) {}
|
||||
#end
|
||||
|
||||
|
||||
|
||||
openfl.Assets.initialize ();
|
||||
|
||||
var hasMain = false;
|
||||
|
||||
for (methodName in Type.getClassFields (Main)) {
|
||||
|
||||
if (methodName == "main") {
|
||||
|
||||
hasMain = true;
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (hasMain) {
|
||||
|
||||
Reflect.callMethod (Main, Reflect.field (Main, "main"), []);
|
||||
|
||||
} else {
|
||||
|
||||
var instance:DocumentClass = Type.createInstance (DocumentClass, []);
|
||||
|
||||
if (Std.is (instance, flash.display.DisplayObject)) {
|
||||
|
||||
flash.Lib.current.addChild (cast instance);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
160, 144,
|
||||
59,
|
||||
0,
|
||||
(true ? flash.Lib.HARDWARE : 0) |
|
||||
(true ? flash.Lib.ALLOW_SHADERS : 0) |
|
||||
(false ? flash.Lib.REQUIRE_SHADERS : 0) |
|
||||
(false ? flash.Lib.DEPTH_BUFFER : 0) |
|
||||
(false ? flash.Lib.STENCIL_BUFFER : 0) |
|
||||
(true ? flash.Lib.RESIZABLE : 0) |
|
||||
(false ? flash.Lib.BORDERLESS : 0) |
|
||||
(true ? flash.Lib.VSYNC : 0) |
|
||||
(false ? flash.Lib.FULLSCREEN : 0) |
|
||||
(0 == 4 ? flash.Lib.HW_AA_HIRES : 0) |
|
||||
(0 == 2 ? flash.Lib.HW_AA : 0),
|
||||
"Pet.GB",
|
||||
null
|
||||
#if mobile, ScaledStage #end
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
#if mobile
|
||||
public static function applyScale (?_) {
|
||||
var scaledStage:ScaledStage = cast flash.Lib.current.stage;
|
||||
|
||||
var xScale:Float = scaledStage.__stageWidth / forceWidth;
|
||||
var yScale:Float = scaledStage.__stageHeight / forceHeight;
|
||||
|
||||
if (xScale < yScale) {
|
||||
|
||||
flash.Lib.current.scaleX = xScale;
|
||||
flash.Lib.current.scaleY = xScale;
|
||||
flash.Lib.current.x = (scaledStage.__stageWidth - (forceWidth * xScale)) / 2;
|
||||
flash.Lib.current.y = (scaledStage.__stageHeight - (forceHeight * xScale)) / 2;
|
||||
|
||||
} else {
|
||||
|
||||
flash.Lib.current.scaleX = yScale;
|
||||
flash.Lib.current.scaleY = yScale;
|
||||
flash.Lib.current.x = (scaledStage.__stageWidth - (forceWidth * yScale)) / 2;
|
||||
flash.Lib.current.y = (scaledStage.__stageHeight - (forceHeight * yScale)) / 2;
|
||||
|
||||
}
|
||||
|
||||
if (flash.Lib.current.x > 0) {
|
||||
|
||||
barA.graphics.clear ();
|
||||
barA.graphics.beginFill (0x000000);
|
||||
barA.graphics.drawRect (0, 0, flash.Lib.current.x, scaledStage.__stageHeight);
|
||||
|
||||
barB.graphics.clear ();
|
||||
barB.graphics.beginFill (0x000000);
|
||||
var x = flash.Lib.current.x + (forceWidth * flash.Lib.current.scaleX);
|
||||
barB.graphics.drawRect (x, 0, scaledStage.__stageWidth - x, scaledStage.__stageHeight);
|
||||
|
||||
} else {
|
||||
|
||||
barA.graphics.clear ();
|
||||
barA.graphics.beginFill (0x000000);
|
||||
barA.graphics.drawRect (0, 0, scaledStage.__stageWidth, flash.Lib.current.y);
|
||||
|
||||
barB.graphics.clear ();
|
||||
barB.graphics.beginFill (0x000000);
|
||||
var y = flash.Lib.current.y + (forceHeight * flash.Lib.current.scaleY);
|
||||
barB.graphics.drawRect (0, y, scaledStage.__stageWidth, scaledStage.__stageHeight - y);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
#end
|
||||
|
||||
|
||||
#if neko
|
||||
@:noCompletion @:dox(hide) public static function __init__ () {
|
||||
|
||||
untyped $loader.path = $array (haxe.io.Path.directory (Sys.executablePath ()), $loader.path);
|
||||
untyped $loader.path = $array ("./", $loader.path);
|
||||
untyped $loader.path = $array ("@executable_path/", $loader.path);
|
||||
|
||||
}
|
||||
#end
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@:build(DocumentClass.build())
|
||||
@:keep class DocumentClass extends Main {}
|
||||
|
||||
|
||||
#if mobile
|
||||
class ScaledStage extends flash.display.Stage {
|
||||
|
||||
|
||||
public var __stageHeight (get, null):Int;
|
||||
public var __stageWidth (get, null):Int;
|
||||
|
||||
|
||||
public function new (inHandle:Dynamic, inWidth:Int, inHeight:Int) {
|
||||
|
||||
super (inHandle, 0, 0);
|
||||
|
||||
}
|
||||
|
||||
|
||||
private function get___stageHeight ():Int {
|
||||
|
||||
return super.get_stageHeight ();
|
||||
|
||||
}
|
||||
|
||||
|
||||
private function get___stageWidth():Int {
|
||||
|
||||
return super.get_stageWidth ();
|
||||
|
||||
}
|
||||
|
||||
|
||||
private override function get_stageHeight ():Int {
|
||||
|
||||
return 144;
|
||||
|
||||
}
|
||||
|
||||
private override function get_stageWidth ():Int {
|
||||
|
||||
return 160;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#end
|
||||
|
||||
|
||||
#elseif macro
|
||||
|
||||
|
||||
import haxe.macro.Context;
|
||||
import haxe.macro.Expr;
|
||||
|
||||
|
||||
class DocumentClass {
|
||||
|
||||
|
||||
macro public static function build ():Array<Field> {
|
||||
|
||||
var classType = Context.getLocalClass ().get ();
|
||||
var searchTypes = classType;
|
||||
|
||||
while (searchTypes.superClass != null) {
|
||||
|
||||
if (searchTypes.pack.length >= 2 && (searchTypes.pack[1] == "display" || searchTypes.pack[2] == "display") && searchTypes.name == "DisplayObject") {
|
||||
|
||||
var fields = Context.getBuildFields ();
|
||||
var method = macro { return flash.Lib.current.stage; }
|
||||
|
||||
fields.push ({ name: "get_stage", access: [ APrivate, AOverride ], kind: FFun({ args: [], expr: method, params: [], ret: macro :flash.display.Stage }), pos: Context.currentPos () });
|
||||
return fields;
|
||||
|
||||
}
|
||||
|
||||
searchTypes = searchTypes.superClass.t.get ();
|
||||
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#elseif waxe
|
||||
|
||||
|
||||
class ApplicationMain {
|
||||
|
||||
|
||||
public static var autoShowFrame:Bool = true;
|
||||
public static var frame:wx.Frame;
|
||||
#if openfl
|
||||
static public var nmeStage:wx.NMEStage;
|
||||
#end
|
||||
|
||||
|
||||
public static function main () {
|
||||
|
||||
#if openfl
|
||||
flash.Lib.setPackage ("Melon Bread", "Pet.GB", "com.example.myapp", "0.0.1");
|
||||
|
||||
#end
|
||||
|
||||
wx.App.boot (function () {
|
||||
|
||||
|
||||
frame = wx.Frame.create (null, null, "Pet.GB", null, { width: 160, height: 144 });
|
||||
|
||||
|
||||
#if openfl
|
||||
var stage = wx.NMEStage.create (frame, null, null, { width: 160, height: 144 });
|
||||
#end
|
||||
|
||||
var hasMain = false;
|
||||
for (methodName in Type.getClassFields (Main)) {
|
||||
if (methodName == "main") {
|
||||
hasMain = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (hasMain) {
|
||||
Reflect.callMethod (Main, Reflect.field (Main, "main"), []);
|
||||
}else {
|
||||
var instance = Type.createInstance (Main, []);
|
||||
}
|
||||
|
||||
if (autoShowFrame) {
|
||||
wx.App.setTopWindow (frame);
|
||||
frame.shown = true;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
#if neko
|
||||
@:noCompletion @:dox(hide) public static function __init__ () {
|
||||
|
||||
untyped $loader.path = $array (haxe.io.Path.directory (Sys.executablePath ()), $loader.path);
|
||||
untyped $loader.path = $array ("./", $loader.path);
|
||||
untyped $loader.path = $array ("@executable_path/", $loader.path);
|
||||
|
||||
}
|
||||
#end
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#else
|
||||
|
||||
|
||||
import Main;
|
||||
|
||||
class ApplicationMain {
|
||||
|
||||
|
||||
public static function main () {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#end
|
||||
|
||||
|
||||
#else
|
||||
|
||||
|
||||
#if !macro
|
||||
|
||||
|
||||
@:access(lime.app.Application)
|
||||
@:access(lime.Assets)
|
||||
|
||||
|
||||
class ApplicationMain {
|
||||
|
||||
|
||||
public static var config:lime.app.Config;
|
||||
public static var preloader:openfl.display.Preloader;
|
||||
|
||||
|
||||
public static function create ():Void {
|
||||
|
||||
var app = new lime.app.Application ();
|
||||
app.create (config);
|
||||
openfl.Lib.application = app;
|
||||
|
||||
#if !flash
|
||||
var stage = new openfl._legacy.display.HybridStage (app.window.width, app.window.height, app.window.config.background);
|
||||
stage.addChild (openfl.Lib.current);
|
||||
app.addModule (stage);
|
||||
#end
|
||||
|
||||
var display = new flixel.system.FlxPreloader ();
|
||||
|
||||
preloader = new openfl.display.Preloader (display);
|
||||
app.setPreloader (preloader);
|
||||
preloader.onComplete.add (init);
|
||||
preloader.create (config);
|
||||
|
||||
#if (js && html5)
|
||||
var urls = [];
|
||||
var types = [];
|
||||
|
||||
|
||||
urls.push ("flixel/sounds/beep.ogg");
|
||||
types.push (lime.Assets.AssetType.SOUND);
|
||||
|
||||
|
||||
urls.push ("flixel/sounds/flixel.ogg");
|
||||
types.push (lime.Assets.AssetType.SOUND);
|
||||
|
||||
|
||||
urls.push ("Nokia Cellphone FC Small");
|
||||
types.push (lime.Assets.AssetType.FONT);
|
||||
|
||||
|
||||
urls.push ("Monsterrat");
|
||||
types.push (lime.Assets.AssetType.FONT);
|
||||
|
||||
|
||||
urls.push ("flixel/images/ui/button.png");
|
||||
types.push (lime.Assets.AssetType.IMAGE);
|
||||
|
||||
|
||||
|
||||
if (config.assetsPrefix != null) {
|
||||
|
||||
for (i in 0...urls.length) {
|
||||
|
||||
if (types[i] != lime.Assets.AssetType.FONT) {
|
||||
|
||||
urls[i] = config.assetsPrefix + urls[i];
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
preloader.load (urls, types);
|
||||
#end
|
||||
|
||||
var result = app.exec ();
|
||||
|
||||
#if (sys && !nodejs && !emscripten)
|
||||
Sys.exit (result);
|
||||
#end
|
||||
|
||||
}
|
||||
|
||||
|
||||
public static function init ():Void {
|
||||
|
||||
var loaded = 0;
|
||||
var total = 0;
|
||||
var library_onLoad = function (__) {
|
||||
|
||||
loaded++;
|
||||
|
||||
if (loaded == total) {
|
||||
|
||||
start ();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
preloader = null;
|
||||
|
||||
|
||||
|
||||
if (total == 0) {
|
||||
|
||||
start ();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public static function main () {
|
||||
|
||||
config = {
|
||||
|
||||
build: "251",
|
||||
company: "Melon Bread",
|
||||
file: "Pet.GB",
|
||||
fps: 59,
|
||||
name: "Pet.GB",
|
||||
orientation: "landscape",
|
||||
packageName: "com.example.myapp",
|
||||
version: "0.0.1",
|
||||
windows: [
|
||||
|
||||
{
|
||||
antialiasing: 0,
|
||||
background: 0,
|
||||
borderless: false,
|
||||
depthBuffer: false,
|
||||
display: 0,
|
||||
fullscreen: false,
|
||||
hardware: true,
|
||||
height: 144,
|
||||
parameters: "{}",
|
||||
resizable: true,
|
||||
stencilBuffer: false,
|
||||
title: "Pet.GB",
|
||||
vsync: true,
|
||||
width: 160,
|
||||
x: null,
|
||||
y: null
|
||||
},
|
||||
]
|
||||
|
||||
};
|
||||
|
||||
#if (js && html5)
|
||||
#if (munit || utest)
|
||||
openfl.Lib.embed (null, 160, 144, "null");
|
||||
#end
|
||||
#else
|
||||
create ();
|
||||
#end
|
||||
|
||||
}
|
||||
|
||||
|
||||
public static function start ():Void {
|
||||
|
||||
var hasMain = false;
|
||||
var entryPoint = Type.resolveClass ("Main");
|
||||
|
||||
for (methodName in Type.getClassFields (entryPoint)) {
|
||||
|
||||
if (methodName == "main") {
|
||||
|
||||
hasMain = true;
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
lime.Assets.initialize ();
|
||||
|
||||
if (hasMain) {
|
||||
|
||||
Reflect.callMethod (entryPoint, Reflect.field (entryPoint, "main"), []);
|
||||
|
||||
} else {
|
||||
|
||||
var instance:DocumentClass = Type.createInstance (DocumentClass, []);
|
||||
|
||||
if (Std.is (instance, flash.display.DisplayObject)) {
|
||||
|
||||
flash.Lib.current.addChild (cast instance);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
openfl.Lib.current.stage.dispatchEvent (new openfl.events.Event (openfl.events.Event.RESIZE, false, false));
|
||||
|
||||
}
|
||||
|
||||
|
||||
#if neko
|
||||
@:noCompletion @:dox(hide) public static function __init__ () {
|
||||
|
||||
var loader = new neko.vm.Loader (untyped $loader);
|
||||
loader.addPath (haxe.io.Path.directory (Sys.executablePath ()));
|
||||
loader.addPath ("./");
|
||||
loader.addPath ("@executable_path/");
|
||||
|
||||
}
|
||||
#end
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@:build(DocumentClass.build())
|
||||
@:keep class DocumentClass extends Main {}
|
||||
|
||||
|
||||
#else
|
||||
|
||||
|
||||
import haxe.macro.Context;
|
||||
import haxe.macro.Expr;
|
||||
|
||||
|
||||
class DocumentClass {
|
||||
|
||||
|
||||
macro public static function build ():Array<Field> {
|
||||
|
||||
var classType = Context.getLocalClass ().get ();
|
||||
var searchTypes = classType;
|
||||
|
||||
while (searchTypes.superClass != null) {
|
||||
|
||||
if (searchTypes.pack.length >= 2 && (searchTypes.pack[1] == "display" || searchTypes.pack[2] == "display") && searchTypes.name == "DisplayObject") {
|
||||
|
||||
var fields = Context.getBuildFields ();
|
||||
var method = macro { return flash.Lib.current.stage; }
|
||||
|
||||
fields.push ({ name: "get_stage", access: [ APrivate, AOverride ], kind: FFun({ args: [], expr: method, params: [], ret: macro :flash.display.Stage }), pos: Context.currentPos () });
|
||||
return fields;
|
||||
|
||||
}
|
||||
|
||||
searchTypes = searchTypes.superClass.t.get ();
|
||||
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#end
|
||||
|
||||
|
||||
#end
|
@ -1,115 +0,0 @@
|
||||
import openfl.display.Sprite;
|
||||
import openfl.events.Event;
|
||||
|
||||
|
||||
class NMEPreloader extends Sprite
|
||||
{
|
||||
private var outline:Sprite;
|
||||
private var progress:Sprite;
|
||||
|
||||
|
||||
public function new()
|
||||
{
|
||||
super();
|
||||
|
||||
var backgroundColor = getBackgroundColor ();
|
||||
var r = backgroundColor >> 16 & 0xFF;
|
||||
var g = backgroundColor >> 8 & 0xFF;
|
||||
var b = backgroundColor & 0xFF;
|
||||
var perceivedLuminosity = (0.299 * r + 0.587 * g + 0.114 * b);
|
||||
var color = 0x000000;
|
||||
|
||||
if (perceivedLuminosity < 70) {
|
||||
|
||||
color = 0xFFFFFF;
|
||||
|
||||
}
|
||||
|
||||
var x = 30;
|
||||
var height = 9;
|
||||
var y = getHeight () / 2 - height / 2;
|
||||
var width = getWidth () - x * 2;
|
||||
|
||||
var padding = 3;
|
||||
|
||||
outline = new Sprite ();
|
||||
outline.graphics.lineStyle (1, color, 0.15, true);
|
||||
outline.graphics.drawRoundRect (0, 0, width, height, padding * 2, padding * 2);
|
||||
outline.x = x;
|
||||
outline.y = y;
|
||||
addChild (outline);
|
||||
|
||||
progress = new Sprite ();
|
||||
progress.graphics.beginFill (color, 0.35);
|
||||
progress.graphics.drawRect (0, 0, width - padding * 2, height - padding * 2);
|
||||
progress.x = x + padding;
|
||||
progress.y = y + padding;
|
||||
progress.scaleX = 0;
|
||||
addChild (progress);
|
||||
}
|
||||
|
||||
|
||||
public function getBackgroundColor():Int
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
public function getHeight():Float
|
||||
{
|
||||
var height = 144;
|
||||
|
||||
if (height > 0) {
|
||||
|
||||
return height;
|
||||
|
||||
} else {
|
||||
|
||||
return flash.Lib.current.stage.stageHeight;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function getWidth():Float
|
||||
{
|
||||
var width = 160;
|
||||
|
||||
if (width > 0) {
|
||||
|
||||
return width;
|
||||
|
||||
} else {
|
||||
|
||||
return flash.Lib.current.stage.stageWidth;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function onInit()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function onLoaded()
|
||||
{
|
||||
dispatchEvent (new Event (Event.COMPLETE));
|
||||
}
|
||||
|
||||
|
||||
public function onUpdate(bytesLoaded:Int, bytesTotal:Int)
|
||||
{
|
||||
var percentLoaded = bytesLoaded / bytesTotal;
|
||||
|
||||
if (percentLoaded > 1)
|
||||
{
|
||||
percentLoaded = 1;
|
||||
}
|
||||
|
||||
progress.scaleX = percentLoaded;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
-main ApplicationMain
|
||||
-cp C:/HaxeToolkit/haxe/lib/flixel/4,1,1
|
||||
-D flixel=4.1.1
|
||||
-cp C:/HaxeToolkit/haxe/lib/lime/2,9,1
|
||||
-D lime=2.9.1
|
||||
-cp C:/HaxeToolkit/haxe/lib/openfl/3,6,1
|
||||
-D openfl=3.6.1
|
||||
--macro keep('IntIterator')
|
||||
-cp C:/HaxeToolkit/haxe/lib/hscript/2,0,7
|
||||
-D hscript=2.0.7
|
||||
-cp C:/HaxeToolkit/haxe/lib/flixel-addons/2,1,0
|
||||
-D flixel-addons=2.1.0
|
||||
-cp source
|
||||
-cp C:\HaxeToolkit\haxe\lib\lime/2,9,1/legacy
|
||||
-D HXCPP_QUIET
|
||||
-D openfl-legacy
|
||||
-D tools=2.9.1
|
||||
-D lime-legacy
|
||||
-D NAPE_NO_INLINE
|
||||
-D no-compilation
|
||||
-D native
|
||||
-D FLX_NO_TOUCH
|
||||
-D openfl-native
|
||||
-D lime-native
|
||||
-D windows
|
||||
-D desktop
|
||||
--remap flash:openfl
|
||||
--macro exclude('lime')
|
||||
--macro flixel.system.macros.FlxDefines.run()
|
||||
-cp export/windows/neko/haxe
|
||||
-neko export/windows/neko/obj/ApplicationMain.n
|
||||
--macro keep("Main")
|
||||
-debug
|
@ -1,33 +0,0 @@
|
||||
-main ApplicationMain
|
||||
-cp C:/HaxeToolkit/haxe/lib/flixel/4,1,1
|
||||
-D flixel=4.1.1
|
||||
-cp C:/HaxeToolkit/haxe/lib/lime/2,9,1
|
||||
-D lime=2.9.1
|
||||
-cp C:/HaxeToolkit/haxe/lib/openfl/3,6,1
|
||||
-D openfl=3.6.1
|
||||
--macro keep('IntIterator')
|
||||
-cp C:/HaxeToolkit/haxe/lib/hscript/2,0,7
|
||||
-D hscript=2.0.7
|
||||
-cp C:/HaxeToolkit/haxe/lib/flixel-addons/2,1,0
|
||||
-D flixel-addons=2.1.0
|
||||
-cp source
|
||||
-cp C:\HaxeToolkit\haxe\lib\lime/2,9,1/legacy
|
||||
-D HXCPP_QUIET
|
||||
-D openfl-legacy
|
||||
-D tools=2.9.1
|
||||
-D lime-legacy
|
||||
-D NAPE_NO_INLINE
|
||||
-D no-compilation
|
||||
-D native
|
||||
-D FLX_NO_TOUCH
|
||||
-D openfl-native
|
||||
-D lime-native
|
||||
-D windows
|
||||
-D desktop
|
||||
--remap flash:openfl
|
||||
--macro exclude('lime')
|
||||
--macro flixel.system.macros.FlxDefines.run()
|
||||
-cp export/windows/neko/haxe
|
||||
-neko export/windows/neko/obj/ApplicationMain.n
|
||||
--macro keep("Main")
|
||||
-D final
|
@ -1,84 +0,0 @@
|
||||
package lime;
|
||||
|
||||
|
||||
import lime.utils.Assets;
|
||||
|
||||
|
||||
class AssetData {
|
||||
|
||||
private static var initialized:Bool = false;
|
||||
|
||||
public static var library = new #if haxe3 Map <String, #else Hash <#end LibraryType> ();
|
||||
public static var path = new #if haxe3 Map <String, #else Hash <#end String> ();
|
||||
public static var type = new #if haxe3 Map <String, #else Hash <#end AssetType> ();
|
||||
|
||||
public static function initialize():Void {
|
||||
|
||||
if (!initialized) {
|
||||
|
||||
path.set ("assets/data/EarlyGameBoy.ttf", "assets/data/EarlyGameBoy.ttf");
|
||||
type.set ("assets/data/EarlyGameBoy.ttf", Reflect.field (AssetType, "font".toUpperCase ()));
|
||||
path.set ("assets/icon.png", "assets/icon.png");
|
||||
type.set ("assets/icon.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/background.png", "assets/images/background.png");
|
||||
type.set ("assets/images/background.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/Cheer.png", "assets/images/Cheer.png");
|
||||
type.set ("assets/images/Cheer.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/Config.png", "assets/images/Config.png");
|
||||
type.set ("assets/images/Config.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/Egg.png", "assets/images/Egg.png");
|
||||
type.set ("assets/images/Egg.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/Egg2.png", "assets/images/Egg2.png");
|
||||
type.set ("assets/images/Egg2.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/Egg3.png", "assets/images/Egg3.png");
|
||||
type.set ("assets/images/Egg3.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/Feed.png", "assets/images/Feed.png");
|
||||
type.set ("assets/images/Feed.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/HUD_Background.png", "assets/images/HUD_Background.png");
|
||||
type.set ("assets/images/HUD_Background.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/Info.png", "assets/images/Info.png");
|
||||
type.set ("assets/images/Info.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/Player.png", "assets/images/Player.png");
|
||||
type.set ("assets/images/Player.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/Rest.png", "assets/images/Rest.png");
|
||||
type.set ("assets/images/Rest.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/Rest_old.png", "assets/images/Rest_old.png");
|
||||
type.set ("assets/images/Rest_old.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/Scold.png", "assets/images/Scold.png");
|
||||
type.set ("assets/images/Scold.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/tmp20.png", "assets/images/tmp20.png");
|
||||
type.set ("assets/images/tmp20.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/tmp32.png", "assets/images/tmp32.png");
|
||||
type.set ("assets/images/tmp32.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/tmpSelect.png", "assets/images/tmpSelect.png");
|
||||
type.set ("assets/images/tmpSelect.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/Train.png", "assets/images/Train.png");
|
||||
type.set ("assets/images/Train.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/images/Wipe.png", "assets/images/Wipe.png");
|
||||
type.set ("assets/images/Wipe.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
path.set ("assets/music/music-goes-here.txt", "assets/music/music-goes-here.txt");
|
||||
type.set ("assets/music/music-goes-here.txt", Reflect.field (AssetType, "text".toUpperCase ()));
|
||||
path.set ("assets/sounds/Next.ogg", "assets/sounds/Next.ogg");
|
||||
type.set ("assets/sounds/Next.ogg", Reflect.field (AssetType, "sound".toUpperCase ()));
|
||||
path.set ("assets/sounds/Select.ogg", "assets/sounds/Select.ogg");
|
||||
type.set ("assets/sounds/Select.ogg", Reflect.field (AssetType, "sound".toUpperCase ()));
|
||||
path.set ("flixel/sounds/beep.ogg", "flixel/sounds/beep.ogg");
|
||||
type.set ("flixel/sounds/beep.ogg", Reflect.field (AssetType, "sound".toUpperCase ()));
|
||||
path.set ("flixel/sounds/flixel.ogg", "flixel/sounds/flixel.ogg");
|
||||
type.set ("flixel/sounds/flixel.ogg", Reflect.field (AssetType, "sound".toUpperCase ()));
|
||||
path.set ("flixel/fonts/nokiafc22.ttf", "flixel/fonts/nokiafc22.ttf");
|
||||
type.set ("flixel/fonts/nokiafc22.ttf", Reflect.field (AssetType, "font".toUpperCase ()));
|
||||
path.set ("flixel/fonts/monsterrat.ttf", "flixel/fonts/monsterrat.ttf");
|
||||
type.set ("flixel/fonts/monsterrat.ttf", Reflect.field (AssetType, "font".toUpperCase ()));
|
||||
path.set ("flixel/images/ui/button.png", "flixel/images/ui/button.png");
|
||||
type.set ("flixel/images/ui/button.png", Reflect.field (AssetType, "image".toUpperCase ()));
|
||||
|
||||
|
||||
initialized = true;
|
||||
|
||||
} //!initialized
|
||||
|
||||
} //initialize
|
||||
|
||||
|
||||
} //AssetData
|
@ -1,32 +0,0 @@
|
||||
-main ApplicationMain
|
||||
-cp C:/HaxeToolkit/haxe/lib/flixel/4,1,1
|
||||
-D flixel=4.1.1
|
||||
-cp C:/HaxeToolkit/haxe/lib/lime/2,9,1
|
||||
-D lime=2.9.1
|
||||
-cp C:/HaxeToolkit/haxe/lib/openfl/3,6,1
|
||||
-D openfl=3.6.1
|
||||
--macro keep('IntIterator')
|
||||
-cp C:/HaxeToolkit/haxe/lib/hscript/2,0,7
|
||||
-D hscript=2.0.7
|
||||
-cp C:/HaxeToolkit/haxe/lib/flixel-addons/2,1,0
|
||||
-D flixel-addons=2.1.0
|
||||
-cp source
|
||||
-cp C:\HaxeToolkit\haxe\lib\lime/2,9,1/legacy
|
||||
-D HXCPP_QUIET
|
||||
-D openfl-legacy
|
||||
-D tools=2.9.1
|
||||
-D lime-legacy
|
||||
-D NAPE_NO_INLINE
|
||||
-D no-compilation
|
||||
-D native
|
||||
-D FLX_NO_TOUCH
|
||||
-D openfl-native
|
||||
-D lime-native
|
||||
-D windows
|
||||
-D desktop
|
||||
--remap flash:openfl
|
||||
--macro exclude('lime')
|
||||
--macro flixel.system.macros.FlxDefines.run()
|
||||
-cp export/windows/neko/haxe
|
||||
-neko export/windows/neko/obj/ApplicationMain.n
|
||||
--macro keep("Main")
|