From 2726785d64aa117aff0791d4591046c442709aac Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Sun, 5 Jan 2025 16:36:38 +0100 Subject: improved hud --- game/GameScene.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'game/GameScene.cpp') diff --git a/game/GameScene.cpp b/game/GameScene.cpp index 2073a1e..57cb8c4 100644 --- a/game/GameScene.cpp +++ b/game/GameScene.cpp @@ -10,6 +10,7 @@ #include "background/BackgroundSubScene.h" #include "hud/HudScript.h" #include "hud/HudSubScene.h" +#include "hud/SpeedScript.h" #include #include @@ -43,6 +44,8 @@ void GameScene::load_scene() { camera.add_component().set_script(); camera.add_component().set_script(); camera.add_component().set_script(); + camera.add_component().set_script(); + camera.add_component(Rigidbody::Data{}); PlayerSubScene player(*this); -- cgit v1.2.3