aboutsummaryrefslogtreecommitdiff
path: root/game/coins/CoinSystemScript.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-29 15:34:23 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-29 15:34:23 +0100
commitb82c302e2eb5044ae966230a50aae9bdb698cf8c (patch)
tree49e6948b3110b01b6e4bb8855710f91f88be6357 /game/coins/CoinSystemScript.h
parentb758b2b20da8e3ab002dacc663237e1681ae973c (diff)
added more presets
Diffstat (limited to 'game/coins/CoinSystemScript.h')
-rw-r--r--game/coins/CoinSystemScript.h41
1 files changed, 36 insertions, 5 deletions
diff --git a/game/coins/CoinSystemScript.h b/game/coins/CoinSystemScript.h
index f17c160..8dcd793 100644
--- a/game/coins/CoinSystemScript.h
+++ b/game/coins/CoinSystemScript.h
@@ -17,6 +17,9 @@ private:
void spawn_coins();
float preset_1(const crepe::vec2 & begin_position);
float preset_2(const crepe::vec2 & begin_position);
+ float preset_3(const crepe::vec2 & begin_position);
+ float preset_4(const crepe::vec2 & begin_position);
+ float preset_5(const crepe::vec2 & begin_position);
private:
static constexpr float SPAWN_DISTANCE = 400;
static constexpr float DESPAWN_DISTANCE = 400;
@@ -34,12 +37,40 @@ private:
static constexpr int COLUM_AMOUNT_1 = 5;
private:
// preset two settings
-// ***** *****
-//
-//
-//
-// ***** *****
+//
+// ********
+// **********
+// ********
+//
static constexpr float ROW_OFFSET_2 = 25;
static constexpr float COLUM_OFFSET_2 = 25;
static constexpr int COLUM_AMOUNT_2 = 10;
+// preset three settings
+// ***
+//
+// ***
+//
+// ***
+ static constexpr float ROW_OFFSET_3 = 100;
+ static constexpr float COLUM_OFFSET_3 = 25;
+ static constexpr int COLUM_AMOUNT_3 = 3;
+// preset four settings
+// ***
+//
+// ***
+//
+// ***
+ static constexpr float ROW_OFFSET_4 = 100;
+ static constexpr float COLUM_OFFSET_4 = 25;
+ static constexpr int COLUM_AMOUNT_4 = 3;
+// preset five settings
+// ** **
+// ** **
+// **
+// **
+// ** **
+// ** **
+ static constexpr float ROW_OFFSET_5 = 25;
+ static constexpr float COLUM_OFFSET_5 = 25;
+ static constexpr int COLUM_AMOUNT_5 = 2;
};