summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrexim <reximkut@gmail.com>2024-03-22 05:28:03 +0700
committerrexim <reximkut@gmail.com>2024-03-22 05:28:03 +0700
commit00e48e00a17d0387ffbf4043af593423b07e6aa0 (patch)
tree7a7e02ba46b960bc293a8244f80bba9740f29a67
parentfbb3c72ab595e73ee7f6ecaaaacc22ec16c6bf06 (diff)
Touching father start NG+
-rw-r--r--game.adb6
-rw-r--r--map.pngbin1041 -> 1044 bytes
2 files changed, 4 insertions, 2 deletions
diff --git a/game.adb b/game.adb
index 3d7e953..a3e2b91 100644
--- a/game.adb
+++ b/game.adb
@@ -943,7 +943,10 @@ procedure Game is
Game.Eepers(Me).Prev_Position := Game.Eepers(Me).Position;
Game.Eepers(Me).Prev_Eyes := Game.Eepers(Me).Eyes;
case Game.Eepers(Me).Kind is
- when Eeper_Father => null;
+ when Eeper_Father =>
+ if Inside_Of_Rect(Game.Eepers(Me).Position, Game.Eepers(Me).Size, Game.Player.Position) then
+ Load_Game_From_Image("map.png", Game, True);
+ end if;
when Eeper_Guard | Eeper_Mother =>
Recompute_Path_For_Eeper(Game, Me, GUARD_STEPS_LIMIT, GUARD_STEP_LENGTH_LIMIT);
if Game.Eepers(Me).Path(Game.Eepers(Me).Position.Y, Game.Eepers(Me).Position.X) = 0 then
@@ -1412,7 +1415,6 @@ end;
-- So it will search the resources there.
-- TODO: Eyes for the Player.
-- The denote last direction of the step.
--- TODO: Touch father starts NG+
-- TODO: Eeper should attack on zero just like a bomb.
-- TODO: Desaturate the colors
-- TODO: Properly disablable DEV features
diff --git a/map.png b/map.png
index fae422d..edff3a4 100644
--- a/map.png
+++ b/map.png
Binary files differ