Now have a simple camera system that I can configure in json for different motion effects.
This commit is contained in:
parent
8345097e10
commit
5b57fb2033
11 changed files with 173 additions and 128 deletions
|
|
@ -13,6 +13,7 @@
|
|||
#include "events.hpp"
|
||||
#include "constants.hpp"
|
||||
#include "gui/event_router.hpp"
|
||||
#include "camera.hpp"
|
||||
|
||||
void craft_weapon() {
|
||||
auto world = GameDB::current_world();
|
||||
|
|
@ -28,6 +29,7 @@ int main(int, char*[]) {
|
|||
ai::init("ai");
|
||||
animation::init();
|
||||
GameDB::init();
|
||||
cinematic::init();
|
||||
|
||||
sf::RenderWindow window(sf::VideoMode({SCREEN_WIDTH, SCREEN_HEIGHT}), "Bossfight Testing Arena");
|
||||
window.setVerticalSyncEnabled(VSYNC);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue