Commit 68ec079f authored by David Gonçalves's avatar David Gonçalves 📖

...

parent a19caa5c
......@@ -12,35 +12,36 @@
font-smooth:never;
}
html, body {
border:0;
margin:0;
padding: 0;
text-align:center;
font-family:"FixedsysExcelsior301Regular";
color:#FFF;
text-shadow:2px 2px 0px #003;
border:0;
margin:0;
padding: 0;
text-align:center;
font-family:"FixedsysExcelsior301Regular";
color:#FFF;
text-shadow:2px 2px 0px #003;
}
body {
background-color: rgba(0,0,0,0.6);
background-color: rgba(0,0,0,0.6);
}
body::after {
content: "";
background: url("../images/bg.jpg");
opacity: 0.5;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: -1;
content: "";
background: url("../images/bg.jpg");
opacity: 0.5;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: -1;
}
#title {
margin-top: 24px;
color:#EFBA61;
text-shadow:2px 2px 0px #444;
margin-bottom: 10px;
color:#EFBA61;
text-shadow:2px 2px 0px #444;
}
#main {
text-align:initial;
......@@ -55,8 +56,8 @@ body::after {
}
#XMLCode {
position: relative;
width: 600px;
height: 350px;
width: 760px;
height: 300px;
resize:both;
text-shadow:none;
font-size:14px;
......
......@@ -9,7 +9,7 @@ function createWindow() {
win = new BrowserWindow({
titleBarStyle: 'hidden',
width: 900,
height: 700,
height: 600,
icon: path.join(__dirname, '/favicon/android-chrome-192x192.png')
});
win.loadFile('index.html');
......
......@@ -89,7 +89,7 @@
village (Tai Hom Village)
village2 (Choi Hung Village)
-->
<bgid>story07a</bgid>
<bgid>story03b</bgid>
<!--
Use x, y and z to set the player's initial position.
......@@ -103,15 +103,15 @@
TODO: Figure out how we can measure this unit
-->
<x>1700</x>
<z>800</z>
<x>20000</x>
<z>810</z>
<y>0</y>
<!-- Direction that the player is facing. 0 - right, 1 - left -->
<facing>0</facing>
</bg>
<!-- Use <left> and <right> to set the limits of the map. -->
<left>0</left>
<right>9000</right>
<right>20400</right>
<!--
Use <effect> for effects, usually after a <bar> or during a drama.
......@@ -204,18 +204,23 @@
z_wrestler
-->
<s>lucas</s>
<!-- Whatever name you want to give to your character -->
<!--
Whatever name you want to give to your character, it should
be a unique name so that if we have many characters of this
type we can identify each uniquely in order to perform actions
later on.
-->
<id>Apprentice</id>
<!-- 0 or 1 (the character will face right or left) -->
<f>1</f>
<f>0</f>
<!--
The character's position. y is optional and won't have
any effect unless there is a platform for the character
to step on.
-->
<x>1150</x>
<z>980</z>
<x>19350</x>
<z>810</z>
</o>
<!--
......@@ -223,11 +228,23 @@
example we put "y" as -622. If we do not, the character will
not be on top of the castle, but in front of it.
-->
<o><s>yaga</s><id>Master</id><f>0</f><x>254</x><z>1100</z><y>-622</y></o>
<o><s>yaga</s><id>Master</id><f>1</f><x>20130</x><z>900</z><y>-622</y></o>
<!--
use <c>-3</c> so that the camera does not consider these characters
when for setting it's position. In other words, these characters won't
show on the screen because they will be out of bounds.
TODO: I don't know why the value is -3. Other value seen in the official
stages is -2 but it makes the camera consider the character for its position.
<o><s>z_wrestler</s><id>z_wrestler</id><f>1</f><x>2124</x><z>980</z></o>
<o><s>z_bandit01</s><id>z_bandit01</id><f>1</f><x>1924</x><z>1500</z></o>
<o><s>z_bandit01</s><id>z_bandit01</id><f>1</f><x>1924</x><z>900</z></o>
Use <a>b</a> to give this character a skin. Other skinds available
are 'a', 'b', 'c'... depending on the character the number of skins available
varies.
-->
<o><s>z_wrestler</s><id>z_wrestler</id><a>b</a><f>0</f><x>18000</x><z>980</z><c>-3</c></o>
<o><s>z_bandit01</s><id>b1</id><f>0</f><x>18250</x><z>1060</z><c>-3</c></o>
<o><s>z_bandit01</s><id>b2</id><f>0</f><x>18250</x><z>900</z><c>-3</c></o>
</drama>
</bar>
......@@ -237,7 +254,6 @@
in order to give some action to our characters.
-->
<bar>
<bot>0</bot>
<drama>
<!--
To make a character talk.
......@@ -300,36 +316,177 @@
<a>
<id>Master</id>
<!--
To perform a special action we can use <ac>, it is optional
kneel
TODO: Describe each action
To perform a special action we can use <ac>, it is optional.
Here are some known actions that we can use (depending on the char):
_rid_attack1
3
36
43
50
63
72
79
83
84
3knife
attack
attack1
attack2
attack3
attack4
attack5
attack5_jump
ball
ball1
ball2
ball3
ball4
ball2to1
bat
big_ball
boom
breakguard
brk0
brknow
clone
creobj
dizzy
dragon_punch
drama_lie1
drama_lie2
drama_poison1
drama_poison2
drama_poison3
drama_pushup
drama_sing
fall
fall1
fall5
fire_big_ball
fire_explode
five_shots
guard
heal
hp0
hp1
run_fixed_speed
icecol
iceland
inv
inv0
inv50
jump_attack
jump_d_attack
jump_land
jump_start
k
kneel
laser
lie
lie_flip
lie_turn
many_punch
redcol
roll
run
run_attack
run_attack2
run_fixed_speed
run_stop
run_super_attacks
shield
sing
sky_roll
somersault
stand
superA
superwhip
to_jump_attack
up_attack
-->
<ac>attack1</ac>
<ac>attack2</ac>
<!-- you might insert other actions here by making more codes
like the second <a> to the first </a>. If you did, the
actions will be done in the same time. -->
</a>
</a>
<!--
<wac> seems to be used for standing, thus delaying the start of
the next action
-->
<a><a><id>Master</id><wac>stand</wac></a></a>
<a><a><id>Apprentice</id>
<!-- Change direction that the character is facing -->
<f>0</f>
</a>
</a>
<a><a><id>Apprentice</id><wac>stand</wac></a></a>
<a>
<a><id>z_wrestler</id><x>1724</x><z>980</z></a>
<a><id>z_bandit01</id><x>1924</x><z>1500</z></a>
<a><id>z_bandit01</id><x>1724</x><z>900</z></a>
<!-- Perform 3 actions simultaneously -->
<a><id>z_wrestler</id><x>18700</x><z>980</z></a>
<a><id>b1</id><x>18900</x><z>1060</z></a>
<a><id>b2</id><x>18900</x><z>900</z></a>
</a>
</drama>
</bar>
<!-- Fade to black -->
<bar>
<effect>fadeToBlack</effect>
</bar>
<!-- Set map boundaries for fighting -->
<bar>
<left>16500</left>
<right>20500</right>
</bar>
<!-- End drama -->
<bar>
<drama>
<state>end</state>
</drama>
<effect>fadeFromBlack</effect>
</bar>
<!-- Playable scene -->
<bar>
<!-- Use <obj> to start a new character -->
<obj>
<!--
id is the character code of the character that you wish to use,
unlike in the drama scenes. This id is the equivalent of <s>
in drama.
-->
<id>z_wrestler</id>
<!--
Use <hp> to give the character a base hp value that differs from the
default. This is optional.
-->
<hp>120</hp>
<!-- Use <grp>1</grp> to make the character boss of Army 1. This is optional.-->
<grp>1</grp>
<!--
Use <a>a</a> to give this character a skin. This is optional.
Other possible values for <a> are 'b', 'c', 'd'... and possible
more depending on the character.
-->
<a>a</a>
</obj>
<obj>
<id>z_bandit01</id>
<times>12</times>
<!-- Optionally use <ratio> for the quantity, multiplied by players'. -->
<ratio>1</ratio>
<bossGrp>1</bossGrp>
</obj>
<obj><id>z_bandit01</id><times>2</times><h>o</h><a>c</a><grp>2</grp><bossGrp>1</bossGrp><po>potion_puppet</po></obj>
</bar>
<bar>
<drama>
<a><t>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment