I’ve been experimenting throughout the past year or so with Roblox typescript, testing out a lot of game dev aspects from a perspective way different than just plain Roblox development. My thoughts on this are I think it’s incredibly beneficial to use a language such as TS for this. I use TS pretty much every day so I was already familiar with it, and I have 10+ years of experience when it comes to Roblox.
Enough about my experience, this release stands as one I wish I had when starting this project. One that demonstrates a good way to do most trivial tasks. So that’s why I am so for the idea of open-sourcing entire Roblox games as learning material.
What is included:
- ECS system using Matter
- Framework built using Proton
- Client/Server side state handling
- Player data saving
- Rewards, Badges, Gamepasses, and Dev products handling
- GUI system using React & React spring w/ Flipbook
- Miscellaneous internal libraries such as soundtrack & radial progress (which have both been edited to fit this specific need)
What isn’t included:
- The entire game file containing all the assets required to run this as a functioning game
- The idea isn’t to copy 1:1, but to inspire new rbxts creations and possibly more open-source game code
- Direct support, There have been plenty of instances where I needed to get help from a third-party discord, so I recommend doing the same and visiting the Roblox OSS Community discord.
Disclaimer
You’ll notice that even though it may seem like I’m a wizard and know everything, I don’t, and so I recommend doing your own research when implementing something from this code. I by no means am saying that everything in here is done absolutely perfectly, and you should do it that exact way. One example I can provide is the GUI system. That is something that is rather imperfect, but it is a relatively new topic for me and so I welcome anybody willing to contribute to the repo
And finally, here are the resources:
Game Link
GitHub Repository
EDIT: I posted another game, this time using React lua and react-spring.
Other GitHub Repository