From 7f039aa4f2e5765be07f02cf79e6a9c0111d046b Mon Sep 17 00:00:00 2001 From: Bill Rossi Date: Fri, 24 Jan 2025 18:22:26 -0500 Subject: [PATCH] Very crude intro --- 01_text_adventure/img/made_by_bgb.aseprite | Bin 0 -> 9424 bytes 01_text_adventure/img/made_by_bgb.png | Bin 0 -> 7297 bytes 01_text_adventure/img/made_w_raylib.aseprite | Bin 0 -> 8229 bytes 01_text_adventure/img/made_w_raylib.png | Bin 0 -> 6718 bytes 01_text_adventure/intro.c | 40 +++++++++++++++++++ 01_text_adventure/intro.h | 18 +++++++++ 01_text_adventure/main.c | 7 +++- 7 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 01_text_adventure/img/made_by_bgb.aseprite create mode 100644 01_text_adventure/img/made_by_bgb.png create mode 100644 01_text_adventure/img/made_w_raylib.aseprite create mode 100644 01_text_adventure/img/made_w_raylib.png create mode 100644 01_text_adventure/intro.c create mode 100644 01_text_adventure/intro.h diff --git a/01_text_adventure/img/made_by_bgb.aseprite b/01_text_adventure/img/made_by_bgb.aseprite new file mode 100644 index 0000000000000000000000000000000000000000..db6f059ab4afda927811910a72289d63ed0bcbff GIT binary patch literal 9424 zcmeHsdt6gjzVEiSrKi&)eH_|qi4n17B&~vx+7KYEwxVdIDkP#jR4kcdM+=E=9wzY& zrTEb>__6Kkm8rzZ*aN zAbYL#`+a}k-(#)4ytNF1eyyGdEt&tzyd}^)2!i&3pWi;4u=COI8E<+3zEOOe2K?SxhAZsmXW` z$ieT^fHYn^3#5JOLm(?gz5p^^8Uo~+?+yUD>8q7MZrijB$W;*}ASo0kkRiMO1mvy* z4}eUqbOV{vGYsU-`wk%8-~&OGwLby*XLdf2U!|u5nLynJ zNyp~nXagS+H|i*$7sqDtXt3*pt};9 zps6N-!0WrtN5n>ZdrL1Y+$rtLP3E>f_s#VKsCLkvkn!k>z5xEZn(Jy#dRJpe^zYf& zQ64XpuHf#bV2)pZaPAhK zLFKGzUvPN)q1scWF%9P#FMf=pQNw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$-F%h~dUn#7>>jHz6Ap(%&TV^@>A!qk^*hD>zpb(U j`GLVw?q9!YTiB-YoqCN!yto5;F{Gz`{!G3m?#{mf!qnP$ literal 0 HcmV?d00001 diff --git a/01_text_adventure/img/made_w_raylib.aseprite b/01_text_adventure/img/made_w_raylib.aseprite new file mode 100644 index 0000000000000000000000000000000000000000..1a16efbce818cadefbdbc999ea4193f0d19edd05 GIT binary patch literal 8229 zcmcgv30PCtwmwKJueVm(T3b{o^g3|WT8$KCj)&hm*V=R4An0Ma9pq;JtDPHU2SLyd@cZ%u-r+Byx53Z<#i!gAf=t7&6INdb2Hpq1 z4sL|W3Ff-M|1;d&Y;VApS3ej8{nhPLAXoj(56E5KBp?gIe1ViF%>%OY%q}1`*G~g! z9$5zDsV83o8Pm7~$mKuA0~r{-7|4x*bAVjx=M5y8oC4&MZQlVI5&sBCS}_JBwXGk> z+uar*G4O$);;LF8zt1`dWOPgnkekCc0-5?*4v-g@E(NkPoCc&coeyNe$#p>HBrL&V zz)4=i{q6?-0fzu50Pq2J034tOkO5u*79a&M0Y(52paakVE&vK30&s9F7zR)P2*5rt z4lDz+z$P#VtN~N5xFt7xAjdxd0^|U#|0Zqc9ygNnhY<9-oAoPf()bcQE%uhEWq&`` zza)R|@43af`WXXg1$(Rb>)_6h*7`tn>otSpLz6GBsUnshz5WMh6G+S=(OhUZd1E@%3NJ$WZoz zkdc8yRr}(8j`t5UI6^^>PW6bC%i{c|SMAHQy+dU;qE2RTdfS(!?G|j&?=voImLRIX zCdJ!rd#sC96s2BO7KP;+i&ITwtQw`KJ}#GImacl-GigOk*4>?chvFU=`Eskv!VpHf zd$S~SXhjLM_Q#TQDNcdgi+u+2RUem!V(Q*QNpx4=x80$4%N6q(qK(sqQy1-Q4NW$s zSR}B+w3O4@_8V_xf6mxKXUUz`?6j~W3?xR8)V+^~Miia79m#MHg68nM*=8hVie#9x z+eKsnjmgikwkmCy{4TAPkxY?^^OGtyvmr|xyQ7XJFx|)1!Z)|9Jxr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87l&&f<_4s0zs5`h$og=+2-jX8+T4PMXPTy`v6*lhA>|dJcXA zuno_D34lXFh2_L73`REgiD5L{M=xTGvm8hn%zZERQ>kPsg?+Wzk7kH$t1_JKhG99+ED;To# zTH$mJIdK`mS|-cC9}4y;9slc*Sph*pK9l1Ge|X(k>=Z1wUJi&UidM#g$G+`1nb#AU z^*;{TeP+e{eFMVaKMt{Aplid2+Qieu{69XFf!W`X@WV@*23Hb4m|$H$e|Ty?8wJ+d z!JW{Uf%=u24zH7_c-A}ZvHF3E0A9Mh)f78NrM+amGwahND@No_5^w{wUYa*4$Wr{W z0qzS{RUTkAjoyWZwK`1L;wH) literal 0 HcmV?d00001 diff --git a/01_text_adventure/img/made_w_raylib.png b/01_text_adventure/img/made_w_raylib.png new file mode 100644 index 0000000000000000000000000000000000000000..eb57d699035130f36aecfc6e74c82e4f87058818 GIT binary patch literal 6718 zcmd5>X;f3$nmzX>fe@z1pr{O?9Dsm=h_7Ul01gPqm;{trM66Ov3BK%VoQNik&MLMBI$pI-t9WU)%Ze37rmf~%T6Xo?uim?Zb~+@|>Z$#b zs{{Y>&|!9JS`h#d@#6s*2_8P}#Q*^NPKyda=pqskfD0QD1c2+_|2vN_J&X$hVE1H` z!^hcfhj;fq8@5zwfJKL=CYwT%8>YVjRXwL)yzMX67_A#%W`g#eip0?HNViR?zg|3h zJ&>|0t51b2N}qlEu%SWsk>-(gKvqsbg-S;eOxu_yT2^~bm}&Y`lf&#}oJ<4r)uL8y z4fm2=n@Ji%N_Kr1{!2UY@*N!#aeklDyIT(^z_j~Fo72fP6wyKondm|}Sa`HIF1|0& zM5a-{{8htd(V-9X&B&*zgPO&scUQ@PZiFH+_2BDf_l6H+0Xs@Z>`~!AY-!Y;ZH%hd z2lhWRcbNHy){7zpWO^}Zt=~KDs~mV<>)_UO{_VhcL5CiqUOM!EBFx8Y*Y zd<|oq-kQgl>^xIW1GPs`G$L(X@!ysF!@6}HwzJ>%HUClXCmDbz#YE6LSM9MFIzIkQ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mCep=i{cKct#apnM`!3k z#rx>^uD*w6ME}76i%!=VKosPbUC_Bu+cf0Pt6CPY!?l=;Or&KMT$|cx{Ygz)p$pD` z66nS6nL&X3Hfg&fQZ-uTD)nN(MU%$#U=Mbg^0W9HV|<;0TO+tkwK^*xGrqwIep2oB zEf(d#vx1faOizB1P*7invC3wFeAy{TEV=Q;+RJYy2D7z~q(7-MCBWSaII(cC1qbDe zK4<1bZ%JGT3aIzg$a8m$U*C5Ekrli-l3zXk|9<@7BU1V2*^i2mn(!|~0BqjivA) +#include "intro.h" + +#define FONT_SIZE 36 + +void display_loading(void) { + int window_width = GetRenderWidth(); + int window_height = GetRenderHeight(); + int loading_width = MeasureText("Loading...", FONT_SIZE); + BeginDrawing(); + DrawText("Loading...", window_width - loading_width, window_height - FONT_SIZE, FONT_SIZE, RAYWHITE); + EndDrawing(); +} + +Intro *load_intro(void) { + Intro *i = malloc(sizeof(Intro)); + i->textures = malloc(sizeof(Texture) * 2); + + Image bgb = LoadImage("img/made_by_bgb.png"); + i->textures[0] = LoadTextureFromImage(bgb); + UnloadImage(bgb); + + Image ray = LoadImage("img/made_w_raylib.png"); + i->textures[1] = LoadTextureFromImage(ray); + UnloadImage(ray); + + i->texture_count = 2; + i->timer = 0.; + return i; +} + +void intro_display(Intro *intro) { + for (int i = 0; i < intro->texture_count; i++) { + intro->timer = GetTime() + 2.0; + BeginDrawing(); + DrawTexture(intro->textures[i], 0, 0, WHITE); + EndDrawing(); + while(GetTime() < intro->timer) {} + } +} diff --git a/01_text_adventure/intro.h b/01_text_adventure/intro.h new file mode 100644 index 0000000..f1889c8 --- /dev/null +++ b/01_text_adventure/intro.h @@ -0,0 +1,18 @@ +#ifndef _FD_INTRO_ +#define _FD_INTRO_ + +typedef struct Intro Intro; + +#include + +struct Intro { + Texture *textures; + int texture_count; + double timer; +}; + +void display_loading(void); +Intro *load_intro(void); +void intro_display(Intro *i); + +#endif diff --git a/01_text_adventure/main.c b/01_text_adventure/main.c index fd79c16..cd0aaee 100644 --- a/01_text_adventure/main.c +++ b/01_text_adventure/main.c @@ -4,12 +4,17 @@ #include +#include "intro.h" #include "game.h" -int main(void) { +int main(int argc, char** argv) { InitWindow(800, 450, "Text Adventure"); SetTargetFPS(60); + display_loading(); + Intro *i = load_intro(); + intro_display(i); + Game *g = game_create(); game_run_until_close(g);