updateMouseBorderControl

This commit is contained in:
2022-06-22 00:08:14 +00:00
parent cee2e30230
commit 736a1982b4
5 changed files with 37 additions and 6 deletions

View File

@@ -97,4 +97,5 @@
->{FlxG.keys.pressed.LEFT}
->{FlxG.keys.pressed.RIGHT}
->{FlxG.keys.pressed.UP}
->{FlxG.keys.pressed.DOWN}))
->{FlxG.keys.pressed.DOWN})
(worldCamera.updateMouseBorderControl elapsed CAMERA_SPEED 0.15))

View File

@@ -159,6 +159,7 @@ class Scenario {
stream.tracePosition();
var townIdx = 0;
// TODO find an end condition for this loop
while (true) {
var name = stream.readCString();
@@ -170,7 +171,10 @@ class Scenario {
towns[townIdx++] = map;
scen.towns[townIdx++] = map;
// TODO don't
break;
}
// 1E274: Fort Talrus (name of town 0)

View File

@@ -29,7 +29,7 @@ class TileMap {
public function wallSheet(num:Int) {
return switch (type) {
case Town(det):
case Town(underground, det):
if (num == 1)
det.wallSheet1;
else