-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- way more playable and really shows off the engine nicely now - new graphics that snap to the right widths/heights - improve end user experience on map editor - fix cutbars text, now displays correctly - lots of minor fixes
- Loading branch information
1 parent
2f3bfcd
commit 2b4b1a8
Showing
30 changed files
with
19,968 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
|
||
<objectDefinitions> | ||
|
||
<objectDef name="block-large-evil" type="Static"> | ||
<animations default="default"> | ||
<animation name="default"> | ||
<frames> | ||
<frame name="tropical/block-large-evil.png" duration="1" /> | ||
</frames> | ||
<show_in_order /> | ||
<repeat /> | ||
</animation> | ||
</animations> | ||
<properties> | ||
<solidObject /> | ||
</properties> | ||
</objectDef> | ||
|
||
</objectDefinitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
|
||
<objectDefinitions> | ||
|
||
<objectDef name="block-large" type="Static"> | ||
<animations default="default"> | ||
<animation name="default"> | ||
<frames> | ||
<frame name="tropical/block-large.png" duration="1" /> | ||
</frames> | ||
<show_in_order /> | ||
<repeat /> | ||
</animation> | ||
</animations> | ||
<properties> | ||
<solidObject /> | ||
</properties> | ||
</objectDef> | ||
|
||
</objectDefinitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
|
||
<objectDefinitions> | ||
|
||
<objectDef name="block-long" type="Static"> | ||
<animations default="default"> | ||
<animation name="default"> | ||
<frames> | ||
<frame name="tropical/block-long.png" duration="1" /> | ||
</frames> | ||
<show_in_order /> | ||
<repeat /> | ||
</animation> | ||
</animations> | ||
<properties> | ||
<solidObject /> | ||
</properties> | ||
</objectDef> | ||
|
||
</objectDefinitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
|
||
<objectDefinitions> | ||
|
||
<objectDef name="block-small" type="Static"> | ||
<animations default="default"> | ||
<animation name="default"> | ||
<frames> | ||
<frame name="tropical/block-small.png" duration="1" /> | ||
</frames> | ||
<show_in_order /> | ||
<repeat /> | ||
</animation> | ||
</animations> | ||
<properties> | ||
<solidObject /> | ||
</properties> | ||
</objectDef> | ||
|
||
</objectDefinitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<gameMode type="simulation"> | ||
<info/> | ||
|
||
<!--<luaScript>scripts/level1.lua</luaScript>TEMP--> | ||
|
||
<properties> | ||
<width> | ||
16000 | ||
</width> | ||
<height> | ||
5000 | ||
</height> | ||
<bgcolor> | ||
<r> | ||
27 | ||
</r> | ||
<g> | ||
45 | ||
</g> | ||
<b> | ||
135 | ||
</b> | ||
</bgcolor> | ||
<bgcolor_top> | ||
<r> | ||
0 | ||
</r> | ||
<g> | ||
0 | ||
</g> | ||
<b> | ||
0 | ||
</b> | ||
</bgcolor_top> | ||
</properties> | ||
<objectDefinitions> | ||
<!-- include the standard stuff --> | ||
<include_xml_file> | ||
common-objects.xml | ||
</include_xml_file> | ||
<include_xml_file> | ||
objects-tropicalset.xml | ||
</include_xml_file> | ||
</objectDefinitions> | ||
<effects> | ||
<include_xml_file> | ||
common-effects.xml | ||
</include_xml_file> | ||
</effects> | ||
<map> | ||
<layer scroll_speed="0.150000" name="background"> | ||
</layer> | ||
<layer scroll_speed="1.000000" name="bg_objects"> | ||
</layer> | ||
<layer scroll_speed="1.000000" name="foreground"> | ||
<object objectDef="amaya"> | ||
<position type="fixed"> | ||
<x> | ||
0 | ||
</x> | ||
<y> | ||
60 | ||
</y> | ||
</position> | ||
<cameraFollow/> | ||
<inputController> | ||
1 | ||
</inputController> | ||
</object> | ||
</layer> | ||
<layer scroll_speed="1.500000" name="foreground_fast"> | ||
</layer> | ||
<layer scroll_speed="1.300000" name="overlays"> | ||
</layer> | ||
</map> | ||
</gameMode> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
-- Level 1 - Treasure Island | ||
|
||
introState = 1; -- to skip set to 9 | ||
done_intro = false; | ||
|
||
function UpdateIntroState() | ||
if done_intro then | ||
return; | ||
end | ||
|
||
if introState == 1 then | ||
|
||
music_play("bassy1.ogg"); | ||
-- world_play_input_script("data/input/level1.1.input"); | ||
world_textbox("Sup. It's a good day to be a sweet, sweet ninja.| |(Press C to continue)~I should meet up with my friend~I'll just head up from here.", "amaya-icon.png"); | ||
|
||
|
||
elseif introState == 2 then | ||
|
||
world_create_cutbars("Pirates VS Ninjas|Level 1 - Treasure Island"); | ||
|
||
-- Now they can't go offscreen | ||
world_allow_player_offscreen(0); | ||
|
||
-- start the game for real. | ||
done_intro = true; | ||
music_play("level1.ogg"); | ||
end | ||
|
||
introState = introState+1; | ||
end | ||
|
||
function Level_OnLoad() | ||
|
||
if jumped_back_from_a_door() == 1 then | ||
done_intro = true; | ||
return | ||
end | ||
|
||
window_fadein(6); | ||
|
||
-- until the cinematic is over, they can go offscreen | ||
world_allow_player_offscreen(1); | ||
|
||
UpdateIntroState(); | ||
|
||
end | ||
|
||
function Input_DonePlaying() | ||
UpdateIntroState(); | ||
end | ||
|
||
function Textbox_Done() | ||
UpdateIntroState(); | ||
end |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.