player now a human with animation depending on direction and movement

This commit is contained in:
huaqo-games
2025-03-19 19:38:21 +01:00
parent 59b815fedf
commit 5d048a5269
30 changed files with 54 additions and 15 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ typedef struct {
int main(void)
{
Application app;
app.state.currentScreen = LOGO;
app.state.currentScreen = GAMEPLAY;
app.state.running = true;
app.state.gameStarted = false;
app.display.name = "The Last Hive";
@@ -31,7 +31,7 @@ int main(void)
InitLogo(&app.logo);
InitMenu(&app.menu);
InitGame(&app.game);
InitGame(&app.game,&app.display);
while (app.state.running)
{