Skip to content

Commit

Permalink
Map 8-1N fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
waicool20 committed Dec 18, 2023
1 parent 6d63d5d commit d615753
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 18 deletions.
32 changes: 16 additions & 16 deletions modules/assets/combat/maps/8-1N/map.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
[
{
"type": "Heliport",
"x": 143,
"y": 96,
"width": 81,
"height": 81
"x": 200,
"y": 187,
"width": 60,
"height": 60
},
{
"x": 255,
"y": 275,
"width": 81,
"height": 81
"x": 280,
"y": 315,
"width": 60,
"height": 60
},
{
"x": 36,
"y": 572,
"width": 81,
"height": 81
"x": 122,
"y": 529,
"width": 60,
"height": 60
},
{
"type": "Heliport",
"x": 62,
"y": 781,
"width": 68,
"height": 68
"x": 142,
"y": 680,
"width": 60,
"height": 60
}
]
Binary file modified modules/assets/combat/maps/8-1N/map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ class Map8_1N(scriptComponent: ScriptComponent) : HomographyMapRunner(scriptComp
)
delay(500)
}
val r1 = region.subRegion(292, 266, 126, 137)
val r2 = r1.copy().apply { translate(400, 200) }
repeat(2) {
r1.swipeTo(r2)
}
r2.swipeTo(r1)
gameState.requiresMapInit = false
}
delay((500 * gameState.delayCoefficient).roundToLong())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ class DebugView : CoroutineScopeView() {
}
}
windowBoundsButton.setOnAction {
xSpinner.valueFactory.value = 348
xSpinner.valueFactory.value = 255
ySpinner.valueFactory.value = 151
wSpinner.valueFactory.value = 1281
wSpinner.valueFactory.value = 1234
hSpinner.valueFactory.value = 929
}
saveButton.setOnAction {
Expand Down

0 comments on commit d615753

Please sign in to comment.