Skip to content

A fork of the original Rogue Saber by Ruben Van Der Leun

Notifications You must be signed in to change notification settings

BeardScript/rogue-saber

 
 

Repository files navigation

rogue-saber

This is a fork of the original Rogue Saber by Ruben Van Der Leun.

  • 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

A fork of the original Rogue Saber by Ruben Van Der Leun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 80.8%
  • JavaScript 14.8%
  • HTML 4.4%