2d game project


#1

@will

I saw your pong game and I am thinking of making one too but not really into forking your project. How did you make a 2d game in a 3d engine?


#2
  • Set your camera to have Projection set to ‘Orthographic’.
  • Position objects in the XY plane and ignore the Z (or set Z for objects to 0). Or you can use Z to control whether 2D objects are in front or each other or not.
  • If you use the physics engine, lock rigid body movement to 2-dimensions using the ‘linearFactor’ property of the rigid body component.