JAMSPOOK-13 - Positioned track pieces

- Repositioned the track pieces to resemple a level.
This commit is contained in:
Fredrick Amnehagen 2020-08-19 22:02:52 +02:00
parent f225990f6b
commit c10f39ed21
1 changed files with 14 additions and 14 deletions

View File

@ -95,7 +95,7 @@ JamSpookGame::JamSpookGame():
// 16.0f/9.0f, // 16.0f/9.0f,
// mCamera = camFactory->createPerspective(vec3(-40.0f, 40.0f, 40.0f), // mCamera = camFactory->createPerspective(vec3(1.0f, 100.0f, 0.0f),
mCamera = camFactory->createPerspective(vec3(-60.0f, 40.0f, 60.0f), mCamera = camFactory->createPerspective(vec3(-60.0f, 40.0f, 60.0f),
vec3(0.0f, -20.0f, 0.0f), vec3(0.0f, -20.0f, 0.0f),
vec3(0.0f, 1.0f, 0.0f), vec3(0.0f, 1.0f, 0.0f),
@ -242,17 +242,17 @@ void JamSpookGame::set()
// delete floorFactory; // delete floorFactory;
// //
// // Create 2 jump180s // Create 2 jump180s
// unique_ptr<Jump180Factory> jump180Factory = make_unique<Jump180Factory>( unique_ptr<Jump180Factory> jump180Factory = make_unique<Jump180Factory>(
// dynamic_pointer_cast<AssetSystem>(findSystem(IDCache::get("AssetSystem"))), dynamic_pointer_cast<AssetSystem>(findSystem(IDCache::get("AssetSystem"))),
// graphicsSystem, graphicsSystem,
// dynamic_pointer_cast<PhysicsSystem>(findSystem(IDCache::get("PhysicsSystem"))), dynamic_pointer_cast<PhysicsSystem>(findSystem(IDCache::get("PhysicsSystem"))),
// renderLayerGame); renderLayerGame);
//
// jump180Factory->createJump180(vec3(0, 0, 0), vec3(0, 0, 0)); jump180Factory->createJump180(vec3(0, 0, 0), vec3(0, 0, 0));
// jump180Factory->createJump180(vec3(18,-10, 12), vec3(0, 180, 0)); jump180Factory->createJump180(vec3(25,-15, 14), vec3(0, 180, 0));
//
// jump180Factory.reset(); jump180Factory.reset();
// Create the goal // Create the goal
unique_ptr<GoalFactory> goalFactory = make_unique<GoalFactory>( unique_ptr<GoalFactory> goalFactory = make_unique<GoalFactory>(
@ -261,8 +261,8 @@ void JamSpookGame::set()
dynamic_pointer_cast<PhysicsSystem>(findSystem(IDCache::get("PhysicsSystem"))), dynamic_pointer_cast<PhysicsSystem>(findSystem(IDCache::get("PhysicsSystem"))),
renderLayerGame); renderLayerGame);
// goalFactory->createGoal(vec3(0, -25, -10)); goalFactory->createGoal(vec3(-1, -30, -12));
goalFactory->createGoal(vec3(0, 0, 0)); // goalFactory->createGoal(vec3(0, 0, 0));
goalFactory.reset(); goalFactory.reset();