Refactor & More.

Changed the entity system to utilize mix-ins.

Added instanced sprites.

Texture support.
This commit is contained in:
2025-01-03 19:28:58 -05:00
parent c9daae8d25
commit 6664925621
39 changed files with 503 additions and 310 deletions

View File

@@ -0,0 +1,11 @@
#pragma once
#include <Engine/types/scene/Scene.h>
class ControllableBox final : public Engine::Scene {
public:
void Init() final;
public:
explicit ControllableBox(const std::string& name) : Scene(name) {}
};

View File

@@ -0,0 +1,17 @@
#pragma once
#include <Engine/types/scene/Scene.h>
#include <JGL/types/RenderTarget.h>
class LoadingScreen final : public Engine::Scene {
protected:
float elapsed = 0.0f;
float angle = 0.0f;
Texture* RedactedSoftware = nullptr;
public:
explicit LoadingScreen(const std::string& name) : Scene(name) {}
void Init() final;
void Update() final;
void Render(JGL::RenderTarget* render_target = nullptr) final;
~LoadingScreen() final;
};