diff options
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | index.js | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/index.html b/index.html index 80bef7b..5115aa6 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@ u.heading { color: #AAF; } -#help { display: none; width: 400px; } +#help { display: none; width: 300px; } #help:target { display: block; } </style> <p><a href="#help">Huh? <i>(Click me!)</i></a></p> @@ -55,5 +55,5 @@ Please use <u>Firefox</u>. It's the only browser where I've actually tested the <br><u class="heading">I WANT TO PLAY A BETTER VERSION OF THIS HECKING DEMO</u><br> Try Final Fantasy XIII?<br> <br><a href='#'>Close</a></p> -<canvas id="canvas" tabindex="1" width="400" height="240"></canvas> +<canvas id="canvas" tabindex="1" width="300" height="240"></canvas> <script src="index.js"></script> diff --git a/index.js b/index.js index be34775..a57f8af 100644 --- a/index.js +++ b/index.js @@ -1175,7 +1175,7 @@ class BattleCamera extends Camera { constructor() { super() - this.battlefieldCenterX = 20 + this.battlefieldCenterX = 40 this.battlefieldCenterY = 220 } @@ -1272,17 +1272,17 @@ class SlideacrossMessage { const battle = new Battle({ teamData: [ {characterData: [ - {x: -75, y: 190, name: 'Ren', hp: 400, maxHP: 400, knownActions: ['fire', 'fira', 'firaga', 'blizz', 'blizzara', 'cure']}, - {x: -95, y: 225, name: 'Fie', hp: 375, maxHP: 375, knownActions: ['fire', 'blizz', 'blizzara', 'blizzaga', 'aqua', 'aquara']} + {x: -55, y: 190, name: 'Ren', hp: 600, maxHP: 600, knownActions: ['fire', 'fira', 'firaga', 'blizz', 'blizzara', 'cure']}, + {x: -75, y: 225, name: 'Fie', hp: 475, maxHP: 475, knownActions: ['fire', 'blizz', 'blizzara', 'blizzaga', 'aqua', 'aquara']} ]}, {characterData: [ - {x: 100, y: 200, aiID: 'manasvinWarmech', name: 'Manasvin Warmech', hp: 1600, maxHP: 1600, knownActions: ['aqua', 'aquaga', 'manasvinSwipe', 'manasvinRecover']} + {x: 80, y: 200, aiID: 'manasvinWarmech', name: 'Manasvin Warmech', hp: 1600, maxHP: 1600, knownActions: ['aqua', 'aquaga', 'manasvinSwipe', 'manasvinRecover']} ]} ] }) battle.teams[0].characters[0].atbBar.segmentCount = 4 -battle.teams[0].characters[1].atbBar.segmentCount = 4 +battle.teams[0].characters[1].atbBar.segmentCount = 5 battle.teams[1].characters[0].image.src = 'img/warmech.png' const camera = battle.camera |