Feature Complete Roblox Typescript Game

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 :slight_smile:

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

23 Likes

I looked at the github… do you have a .rbxl file of the end results of the working game or a demo showing all the progress / working things?

Thanks

Also in the game , where are the examples of the gui using flipbook?

I don’t have a game example with a .rbxl file, that wasn’t really the intention of the repositories however I’m not against adding in an example in the future. Or if someone wants to submit a pr/fork the repo with an example they made functional. All the components are included

As for the flipbook integration, you can check more on that here:

Ok, thanks.

Just is nice to be able to check out a whole .rbxl file that has working examples, then we can build off them or see what they do.

Regards,

This is a great resource. I intend to do the same and open source some code for fast action combat systems Ive been working on (similar to Blade and Soul Online)

Though like you I am still experimenting a lot on the side. I only have 1 year experience with Roblox but I have a good chunk in others (4 years in Unity non-professionally and I have 7 years professional experience in the industry doing other things like network architecture and design/multithreaded systems primarily in C++ and java. And 2 years fullstack with typescript+java.)

So roblox and rojo is a new ecosystem Im evaluating. I hear roblox will have their own official VScode support announced last year from their thread What We Announced At RDC 2023 It states they intend to release VSCode support later “this year” being 2023. So now mid 2024 I hope they release it soon.

I also hear Rojo is funded by roblox. Do you think this VSCode sync is finally the official Roblox VSCode plugin we’ve all been waiting for to officially integrate Rojo into Studio?