Hey, I appreciate you enjoyed the game so much that you want to make your own version, I understand the sentiment. But for obvious reasons I am not going to share the whole unity project as this used to be a commercial endeavour and in any case it costed me months of hard work. I can although point you in the same direction I took when I started making the game:
For the physics simulation I used this framework: https://github.com/TomorrowTodayLabs/NewtonVR?tab=readme-ov-file This framework is quite outdated nowadays, but it should still work with some tweaking, I don't necessarily reccommend it as it is really old, but you can find some really good code in there!
For the shaders, I had to make my own "Lightsaber" shader with custom mesh generation. It works similarly to Unity's trail renderer. I can't share my own source code, but a quick Google search finds this project that could be good for you: https://github.com/jjxtra/UnityLaserSword?tab=readme-ov-file
FInally, for the enemy AI, it's all custom built, it's a physics-based model that predicts the next hit from the player and tries to intercept it to parry, mixed with a regular animation for the swinging. The drones are much more basic than that.
I hope that points you in the right direction. Alongside this I also released a full devlog on how I made most parts of the game and you can find them here: Playlist
I will do my best to make this work within AppLab so it will be easier to install in the future, keep me updated if you manage to install it, otherwise, hold tight, I'm on it!
Thank you so much! I have released this as a finished product, but in the next few months I will be working on a sequel where you will have your own spaceship and you will be able to go through environments in a dungeon crawler style. It will take a long time before that's done though...
← Return to Path of Light
Comments
Log in with itch.io to leave a comment.
How have you made the lightsaber mechanics work? would love to see source code/unity project. thanks
Hey, I appreciate you enjoyed the game so much that you want to make your own version, I understand the sentiment.
But for obvious reasons I am not going to share the whole unity project as this used to be a commercial endeavour and in any case it costed me months of hard work.
I can although point you in the same direction I took when I started making the game:
This framework is quite outdated nowadays, but it should still work with some tweaking, I don't necessarily reccommend it as it is really old, but you can find some really good code in there!
I can't share my own source code, but a quick Google search finds this project that could be good for you: https://github.com/jjxtra/UnityLaserSword?tab=readme-ov-file
I hope that points you in the right direction. Alongside this I also released a full devlog on how I made most parts of the game and you can find them here: Playlist
Thank you so much!
How do I install this to Oculus? It doesn't seem to recognize that it can play it.
that's weird, is your device in developer mode?
If you haven't, try using side quest, it should be fine installing from there.
Thanks for replying! I'm still messing around with Sidequest to try to make it work. And yes, developer mode is on.
I will do my best to make this work within AppLab so it will be easier to install in the future, keep me updated if you manage to install it, otherwise, hold tight, I'm on it!
This is pretty damn cool mate, now I'm just waiting for some updates to see where ya take it!
Thank you so much!
I have released this as a finished product, but in the next few months I will be working on a sequel where you will have your own spaceship and you will be able to go through environments in a dungeon crawler style.
It will take a long time before that's done though...