]> _ Git - aichan-platformer.git/commitdiff
more coins. haha.
authorparking_turkeys <roya1060wien@gmail.com>
Sat, 25 Jul 2026 19:29:41 +0000 (15:29 -0400)
committerparking_turkeys <roya1060wien@gmail.com>
Sat, 25 Jul 2026 19:29:41 +0000 (15:29 -0400)
level_data.h
main_v2.c

index 971c6b1..62b02dc 100644 (file)
@@ -1,10 +1,10 @@
-#define STAGECOUNT 13
-#define DIALOGUECOUNT 43
 #define PLATFORMCOUNT 83
 #define DANGERCOUNT 34
 #define OBJECTCOUNT 5
-#define COINCOUNT 153
-#define COINGROUPCOUNT 16
+#define COINCOUNT 211
+#define COINGROUPCOUNT 33
+#define DIALOGUECOUNT 41
+#define STAGECOUNT 13
 
 #include "game.h"
 #include <stddef.h>
@@ -279,8 +279,27 @@ struct coingroup coins[COINGROUPCOUNT] = {
 
 
        {{80,385},6,collected_coins+146,6},
-       {{175,400},1,collected_coins+152,5}
-       
+       {{175,400},1,collected_coins+152,5},
+       {{175,415},1,collected_coins+153,5},
+       {{225,380},1,collected_coins+154,5},
+       {{185,350},1,collected_coins+155,5},
+       {{225,320},1,collected_coins+156,5},
+       {{185,290},1,collected_coins+157,5},
+       {{240,305},5,collected_coins+158,6},
+       {{340,285},4,collected_coins+163,5},
+       {{440,305},4,collected_coins+167,5},
+       {{525,335},1,collected_coins+171,5},
+       {{560,395},5,collected_coins+172,6},
+
+
+       {{80,425},4,collected_coins+177,5},
+       {{170,425},9,collected_coins+181,5},
+       {{390,305},2,collected_coins+190,5},
+       {{420,295},1,collected_coins+192,5},
+       {{435,305},4,collected_coins+193,5},
+       {{520,305},2,collected_coins+197,5},
+       {{460,425},12,collected_coins+199,5}
+
 };
 
 struct object objects[OBJECTCOUNT] = {
@@ -297,8 +316,8 @@ struct stage stages[STAGECOUNT] = {
        {"Danger", platforms+3, 1, dialogues+8, 1, danger, 4,NULL,0,coins+4,2},
        {"(level)", platforms+4, 5, NULL,0,danger+4,1,NULL,0,coins+6,5},
        {"Wall-jumping", platforms+9, 3,dialogues+9,1,danger,0,NULL,0,coins+11,3},
-       {"(level)", platforms+12, 7, NULL,0,danger+5,4,NULL,0,coins+14,2},
-       {"Interact", platforms+19,4, dialogues+10,3,danger+9,3,objects,1,NULL,0},
+       {"(level)", platforms+12, 7, NULL,0,danger+5,4,NULL,0,coins+14,12},
+       {"Interact", platforms+19,4, dialogues+10,3,danger+9,3,objects,1,coins+26,7},
        {"(level)", platforms+23,11,NULL,0,danger+12,5,NULL,0,NULL,0},
        {"Ominous", platforms+34,14,dialogues+17,2,danger+17,4,NULL,0,NULL,0},
        {"Senti", platforms+48,13,dialogues+19,2,danger+21,9,objects+1,1,NULL,0},
index 63bbeb7..2e713ba 100644 (file)
--- a/main_v2.c
+++ b/main_v2.c
@@ -45,7 +45,7 @@ int main(void)
                                if (!frozen) {spielerzeichnen();};
                                DrawRectangle(1, 468, 45, 12, WHITE); 
                                DrawText(TextFormat("FPS: %2i", GetFPS()), 2, 469, 10, BLACK);
-                               DrawRectangle(1, 0,115, 12, WHITE); 
+                               DrawRectangle(1, 0, 115, 12, WHITE); 
                                DrawText(TextFormat("Seconds played: %5.2f", GetTime()), 2, 0, 10, BLACK);
                        ZeichnenAufhören();
                        };