tutorial templates

This commit is contained in:
h4570
2022-08-23 09:57:34 +02:00
parent d469e78747
commit 3bbf3202ac
41 changed files with 610 additions and 24 deletions
+25
View File
@@ -0,0 +1,25 @@
/*
# _____ ____ ___
# | \/ ____| |___|
# | | | \ | |
#-----------------------------------------------------------------------
# Copyright 2022, tyra - https://github.com/h4570/tyra
# Licensed under Apache License 2.0
# Sandro Sobczyński <sandro.sobczynski@gmail.com>
*/
#include "engine.hpp"
#include "tutorial_08.hpp"
/**
* In this tutorial we will learn:
* - How to render skybox and what is "ALLPASS" rendering method
* - How to render debug lines and bboxes
*/
int main() {
Tyra::Engine engine;
Tyra::Tutorial08 game(&engine);
engine.run(&game);
return 0;
}
@@ -0,0 +1,24 @@
/*
# _____ ____ ___
# | \/ ____| |___|
# | | | \ | |
#-----------------------------------------------------------------------
# Copyright 2022, tyra - https://github.com/h4570/tyra
# Licensed under Apache License 2.0
# Sandro Sobczyński <sandro.sobczynski@gmail.com>
*/
#include <tyra>
#include "tutorial_08.hpp"
namespace Tyra {
Tutorial08::Tutorial08(Engine* t_engine) : engine(t_engine) {}
Tutorial08::~Tutorial08() {}
void Tutorial08::init() {}
void Tutorial08::loop() {}
} // namespace Tyra