From 5eb23c4e8ac4180b28b90749a423b50b04956723 Mon Sep 17 00:00:00 2001 From: TheoryOfNekomata Date: Sat, 17 Sep 2022 13:59:43 +0800 Subject: [PATCH] Update mechanics document Some contents for deliberation. --- docs/mechanics.md | 13 +++++++++++-- src/packages/game/geometry/IZ_point2d.h | 1 + 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/mechanics.md b/docs/mechanics.md index 8f3ebd4..9187dd0 100644 --- a/docs/mechanics.md +++ b/docs/mechanics.md @@ -1,5 +1,14 @@ * Starts in a random section in a map -* Player/s must retrieve package/s from random sections in the map * Each section has different mechanics (outdoors open area - survival, machine gunning, sometimes no enemies spawn here; warehouse - platforming, machine gunning, boss battle; electrical/computer room - puzzle, library with vault - puzzle, boss room - boss battle, lobby - no enemies spawn here, unless the packages are retrieved, etc) * Player/s must go to the extraction point (helicopter or runaway vehicle) -* Sometimes, crate boxes paradrop on open areas, rooftop, in warehouse areas crates are delivered by trucks \ No newline at end of file +* Sometimes, crate boxes paradrop on open areas, rooftop, in warehouse areas crates are delivered by trucks +* There are some minigames triggered on certain circumstances, such as when exiting the map via helicopter, there could be a "survive from gunfire from ground in X mins" minigame + +Possible objectives per game: +* Player/s must retrieve/destroy package/s from random sections in the map. +* Player/s must kill boss/es scattered around the map. + * Bosses could appear when killing certain number of enemies. +* Player/s must escort a VIP out of the map to the extraction zone. +* Player/s must eliminate a number of enemies. + * Could have machine gun mounted in the map +* Player/s must defend a convoy passing through the map. diff --git a/src/packages/game/geometry/IZ_point2d.h b/src/packages/game/geometry/IZ_point2d.h index 175ad57..3908bec 100644 --- a/src/packages/game/geometry/IZ_point2d.h +++ b/src/packages/game/geometry/IZ_point2d.h @@ -3,6 +3,7 @@ #include "../../common/IZ_common.h" +// TODO: unify with vector2d typedef struct { f32 x; f32 y;