JAMSPOOK-13 - Positioned track pieces
- Repositioned the track pieces to resemple a level.
This commit is contained in:
parent
f225990f6b
commit
c10f39ed21
|
@ -95,7 +95,7 @@ JamSpookGame::JamSpookGame():
|
|||
|
||||
// 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),
|
||||
vec3(0.0f, -20.0f, 0.0f),
|
||||
vec3(0.0f, 1.0f, 0.0f),
|
||||
|
@ -242,17 +242,17 @@ void JamSpookGame::set()
|
|||
// delete floorFactory;
|
||||
//
|
||||
|
||||
// // Create 2 jump180s
|
||||
// unique_ptr<Jump180Factory> jump180Factory = make_unique<Jump180Factory>(
|
||||
// dynamic_pointer_cast<AssetSystem>(findSystem(IDCache::get("AssetSystem"))),
|
||||
// graphicsSystem,
|
||||
// dynamic_pointer_cast<PhysicsSystem>(findSystem(IDCache::get("PhysicsSystem"))),
|
||||
// renderLayerGame);
|
||||
//
|
||||
// jump180Factory->createJump180(vec3(0, 0, 0), vec3(0, 0, 0));
|
||||
// jump180Factory->createJump180(vec3(18,-10, 12), vec3(0, 180, 0));
|
||||
//
|
||||
// jump180Factory.reset();
|
||||
// Create 2 jump180s
|
||||
unique_ptr<Jump180Factory> jump180Factory = make_unique<Jump180Factory>(
|
||||
dynamic_pointer_cast<AssetSystem>(findSystem(IDCache::get("AssetSystem"))),
|
||||
graphicsSystem,
|
||||
dynamic_pointer_cast<PhysicsSystem>(findSystem(IDCache::get("PhysicsSystem"))),
|
||||
renderLayerGame);
|
||||
|
||||
jump180Factory->createJump180(vec3(0, 0, 0), vec3(0, 0, 0));
|
||||
jump180Factory->createJump180(vec3(25,-15, 14), vec3(0, 180, 0));
|
||||
|
||||
jump180Factory.reset();
|
||||
|
||||
// Create the goal
|
||||
unique_ptr<GoalFactory> goalFactory = make_unique<GoalFactory>(
|
||||
|
@ -261,8 +261,8 @@ void JamSpookGame::set()
|
|||
dynamic_pointer_cast<PhysicsSystem>(findSystem(IDCache::get("PhysicsSystem"))),
|
||||
renderLayerGame);
|
||||
|
||||
// goalFactory->createGoal(vec3(0, -25, -10));
|
||||
goalFactory->createGoal(vec3(0, 0, 0));
|
||||
goalFactory->createGoal(vec3(-1, -30, -12));
|
||||
// goalFactory->createGoal(vec3(0, 0, 0));
|
||||
|
||||
goalFactory.reset();
|
||||
|
||||
|
|
Loading…
Reference in New Issue