Skip to content

Commit

Permalink
Corrected IntroScene to change to L1R1
Browse files Browse the repository at this point in the history
- Corrected IntroScene to change to L1R1
- Added builder configuration
  • Loading branch information
softdrawss committed Apr 16, 2024
1 parent d847daf commit 4c172a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions TheOneBuilder/BuilderDefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#pragma once

// CONFIGURATION -----------------------------------------------------------------
#define GAME_TITLE "Game name"
#define GAME_VERSION "v0.0"
#define GAME_TITLE "Alien: Nemesis"
#define GAME_VERSION "Alpha 1.5"
#define GAME_ORGANIZATION "Shadow Wizard Games"

// -------------------------------------------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion TheOneBuilder/BuilderSceneManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bool BuilderSceneManager::Start()
{
engine->N_sceneManager->currentScene = new Scene(0, "NewUntitledScene");
engine->N_sceneManager->CreateCameraGO("mainCamera");
engine->N_sceneManager->LoadScene("Level1");
engine->N_sceneManager->LoadScene("MainMenu");
engine->N_sceneManager->Start();

return true;
Expand All @@ -40,6 +40,7 @@ bool BuilderSceneManager::Update(double dt)
bool BuilderSceneManager::PostUpdate()
{
engine->Render(engine->N_sceneManager->currentScene->currentCamera);
engine->SetUniformBufferCamera(engine->N_sceneManager->currentScene->currentCamera);
engine->N_sceneManager->currentScene->Draw();
if (engine->N_sceneManager->GetSceneIsChanging())
engine->N_sceneManager->loadingScreen->DrawUI(engine->N_sceneManager->currentScene->currentCamera, DrawMode::GAME);
Expand Down
2 changes: 1 addition & 1 deletion TheOneScriptingEngine/IntroScene.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public override void Update()
timerScene >= durationScene)
{

SceneManager.LoadScene("Level1");
SceneManager.LoadScene("L1R1");
}
}
}
Expand Down

0 comments on commit 4c172a7

Please sign in to comment.