]> _ Git - aichan-platformer.git/commitdiff
more levels... (next: 'start game' and 'end screen' lol)
authorparking_turkeys <roya1060wien@gmail.com>
Thu, 23 Jul 2026 17:09:39 +0000 (13:09 -0400)
committerparking_turkeys <roya1060wien@gmail.com>
Thu, 23 Jul 2026 17:09:39 +0000 (13:09 -0400)
level_data.h
main_v2.c

index 7b1f6fd..5cc96ff 100644 (file)
@@ -1,8 +1,8 @@
-#define STAGECOUNT 7
-#define DIALOGUECOUNT 18
-#define PLATFORMCOUNT 23
-#define DANGERCOUNT 12
-#define OBJECTCOUNT 1
+#define STAGECOUNT 10
+#define DIALOGUECOUNT 31
+#define PLATFORMCOUNT 61
+#define DANGERCOUNT 30
+#define OBJECTCOUNT 2
 
 #include "game.h"
 #include <stddef.h>
@@ -39,6 +39,22 @@ struct dialogue dialogues[DIALOGUECOUNT] = {
        {"The dialogue in this game keeps getting lower-effort...", "Context", "dialogue-img/context.png", BLACK},
 
 
+       {"This seems a bit ominous...", "Ai-chan", "dialogue-img/aichan-neutral.png",GREEN},
+       {"...lazy game design.", "Context", "dialogue-img/context.png", BLACK},
+
+
+       {"Senti is over there... you could talk to her but well, it might not be the best idea :/", "Ai-chan", "dialogue-img/aichan-neutral.png", GREEN},
+       {"Senti stands for \"Herrscher of Sentience\", she is well known for scamming people and being overall mischevious", "Context", "dialogue-img/context.png", BLACK},
+
+       {"ALL HAIL THE HERRSCHER OF SENTIENCE!!! oh hi Ai-chan", "Senti", "dialogue-img/senti.png", GRAY},
+       {"...", "Ai-chan", "dialogue-img/aichan-neutral.png", GREEN},
+       {"So do you want a brick. it's really awesome i swear. it's like a divine key, trust me bro", "Senti", "dialogue-img/senti.png", GRAY},
+       {"Dear god the writing here is lazy. \"Divine Key: Brick\" is a real weapon in honkai impact btw", "context", "dialogue-img/context.png", BLACK},
+       {"Seriously??? What kind of scam is this this time", "Ai-chan", "dialogue-img/aichan-angry.png", GREEN},
+       {"It's so beautiful!!", "Senti", "img/brick.png", GRAY},
+       {"SENTI!!! >:(((", "Ai-chan", "dialogue-img/aichan-angry.png", GREEN},
+
+
        {"YOU WIN!!", "Ai-chan", "dialogue-img/aichan-smile.png", GREEN}
 };
 
@@ -77,7 +93,56 @@ struct platform platforms[PLATFORMCOUNT] = {
        {{0,440,640,40},GREEN},
        {{320,320,10,100},GREEN},
        {{390,320,10,120},GREEN},
-       {{390,320,160,10},GREEN}
+       {{390,320,160,10},GREEN},
+
+
+       {{0,460,200,20},GREEN},
+       {{180,160,20,300},GREEN},
+       {{100,120,20,320},GREEN},
+       {{200,160,160,20},GREEN},
+       {{400,90,20,50},GREEN},
+       {{360,20,20,80},GREEN},
+       {{460,80,60,20},GREEN},
+       {{480,140,80,20},GREEN},
+       {{580,0,60,300},GREEN},
+       {{480,320,80,80},GREEN},
+       {{540,460,100,20},GREEN},
+
+
+       {{0,400,160,80},GREEN},
+       {{480,400,160,80},GREEN},
+
+       {{160,400,20,80},PINK},
+       {{180,400,20,80},YELLOW},
+       {{200,400,20,80},MAROON},
+
+       {{240,400,20,80},GRAY},
+       {{260,400,20,80},BLUE},
+
+       {{300,400,20,80},GREEN},
+       {{320,400,20,80},RED},
+
+       {{360,400,20,80},PURPLE},
+
+       {{400,400,20,80},YELLOW},
+       {{420,400,20,80},MAROON},
+       {{440,400,20,80},GREEN},
+       {{460,400,20,80},PINK},
+
+
+       {{0,400,640,80},GREEN},
+       {{200,380,40,20},GREEN},
+       {{235,360,5,20},GREEN},
+       {{60,340,160,10},GREEN},
+       {{60,160,20,180},GREEN},
+       {{120,240,20,60},GREEN},
+       {{120,220,160,20},GREEN},
+       {{280,80,20,160},GREEN},
+       {{220,80,20,100},GREEN},
+       {{280,80,80,20},GREEN},
+       {{340,0,20,80},GREEN},
+       {{40,60,200,20},GREEN},
+       {{40,0,20,80},GREEN}
 
 };
 
@@ -99,11 +164,37 @@ struct platform danger[DANGERCOUNT] = {
 
        {{150,430,19,10},RED},
        {{420,310,10,10},RED},
-       {{500,310,19,10},RED}
+       {{500,310,19,10},RED},
+
+
+       {{205,155,9,9},RED},
+       {{260,155,9,9},RED},
+       {{355,155,5,5},RED},
+       {{400,80,20,10},RED},
+       {{570,0,10,300},RED},
+
+
+       {{220,400,20,80},PINK},
+       {{280,400,20,80},BLUE},
+       {{340,400,20,80},PURPLE},
+       {{380,400,20,80},YELLOW},
+
+
+       {{240,390,65,10},RED},
+       {{160,330,18,10},RED},
+       {{150,210,10,10},RED},
+       {{190,210,10,10},RED},
+       {{190,50,10,10},RED},
+       {{150,50,10,10},RED},
+       {{400,395,19,5},RED},
+       {{510,390,10,10},RED},
+       {{560,395,5,5},RED}
+
 };
 
 struct object objects[OBJECTCOUNT] = {
-       {{440,418,15,22}, "Sin Mal", "img/sin_15_22.png" ,dialogues+13,4, 0}
+       {{440,418,15,22}, "Sin Mal", "img/sin_15_22.png" ,dialogues+13,4, 0},
+       {{60,38,15,22}, "Herrscher of Sentience", "img/senti_15_22.png", dialogues+21,7}
 };
 
 struct stage stages[STAGECOUNT] = {
@@ -113,5 +204,8 @@ struct stage stages[STAGECOUNT] = {
        {"(level)", platforms+4, 5, NULL,0,danger+4,1,NULL,0},
        {"Wall-jumping", platforms+9, 3,dialogues+9,1,danger,0,NULL,0},
        {"(level)", platforms+12, 7, NULL,0,danger+5,4,NULL,0},
-       {"Interact", platforms+19,4, dialogues+10,3,danger+9,3,objects,1}
+       {"Interact", platforms+19,4, dialogues+10,3,danger+9,3,objects,1},
+       {"(level)", platforms+23,11,NULL,0,danger+12,5,NULL,0},
+       {"Ominous", platforms+34,14,dialogues+17,2,danger+17,4,NULL,0},
+       {"Senti", platforms+48,13,dialogues+19,2,danger+21,9,objects+1,1}
 };
index 277e772..a299b3b 100644 (file)
--- a/main_v2.c
+++ b/main_v2.c
@@ -10,7 +10,7 @@
 #include <math.h>
 #include <stdio.h> // seems useful
 
-int level = 6;
+int level = 9;
 int frozen = 0; //0:game, 1:stage dialogue, 2+:object[frozen-2] dialogue
 
 int main(void)