Skip to content

rvdleun/rogue-saber

Repository files navigation

rogue-saber

Learning Rogue Engine with lightsabers

  • This project is for trying out rogueengine.io
  • Building a lightsaber game to deflect lasers are my general go-to when it comes to experimenting with a new 3D engine.
  • Only tested on the Oculus Quest/
  • The VirtualReality components need some more work. The controller component only seems to work for the left controller at the moment on the Quest.
  • Noteworthy components
    • EnemyIndicator: Points to which remote is going to fire next, if the user isn't looking at it.
    • Laser: Moves a laser forward and checks if it hits the Lightsaber Collider object. If so, it will move back.
    • Lightsaber: Handles communication between the VirtualRealityController and the LightsaberBlade
    • LightsaberBlade: Responsible for extending the blade
    • LightsaberCollider: Assigns the object as the collider that the Laser component should check against.
    • MainMenu: Generates the main menu and adds it to the HTML body
      • TODO: Move to HTML template. See youtube video on top.
    • RemoteFire: Responsible for firing at the player
    • RemoteMovement: Moves and rotates the drone
      • TODO: Code is a bit hacky. Can use cleaning up.
    • RemotesController: Responsible for telling which remote gets to fire next.
    • VirtualRealityController: Syncs position and rotation with a XR controller
  • TODO
    • Replace lightsaber sounds with something a bit more... open-sourcey? Less liable to get attention?
    • Add some music. Suggesting that the players turn on the Wonder Woman theme does not count.
    • Add a scoring system.

Assets and credits

About

Learning Rogue Engine with lightsabers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published