From 01d9a9417dbea9e0e8225c0216b426c483875621 Mon Sep 17 00:00:00 2001 From: Sara Date: Fri, 24 Nov 2023 16:23:24 +0100 Subject: [PATCH] feat(game): renamed fencer to beat-em-up and added SpawnPlayer to play --- game/src/{fencer.c => beat-em-up.c} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename game/src/{fencer.c => beat-em-up.c} (78%) diff --git a/game/src/fencer.c b/game/src/beat-em-up.c similarity index 78% rename from game/src/fencer.c rename to game/src/beat-em-up.c index 050c644..f21c64d 100644 --- a/game/src/fencer.c +++ b/game/src/beat-em-up.c @@ -1,7 +1,10 @@ #include "program.h" +#include "Player.h" static -void play() {} +void play() { + SpawnPlayer(ZeroVector); +} static void tick() {} @@ -11,7 +14,7 @@ void draw() {} int main(int argc, char* argv[]) { struct ProgramSettings config = { - .target_fps = 240, + .target_fps = 80, .title = "fencer", .view_resolution = {1920, 1080}, .on_play = &play,