Using:
Creating a Minecraft-esque game because I felt like it. This came about because my friends couldn't run Minecraft modpacks, so I sought out to create a literal clone and emulate various mods (with permission) to create an enjoyable experience that can run on lower-spec machines via the Roblox Game Engine.
This is not an intended replacement for our favourite Blocky Game, nor will it accompany it in any way, and needless to say, I am not affiliated with Microsoft or Mojang AB in any way.
In the Root folder there'll be a file named Changelog.md
, where the commits will have a more in-depth explanation to them and where pondering questions and solutions will be presented, in a dated format.
If you plan to compile the source code on your machine, be sure to:
- First, create a Roblox account, if you don't have one
- Second, install Roblox and Roblox Studio
- Install the Rojo extension for Visual Studio Code
It'll also provide the option to install the Rojo Plugin, select the option "Manage it for me", this will allow the Extension to install the plugin to your Studio Plugins folder, meaning no hard work on your part. - Setup the Roblox-Ts environment using these commands:
user ~/NewFolder/$ rbxtsc init
? Select template » - Use arrow-keys. Return to submit.
> _game_
model
plugin
package
√ Select template » game
? Configure Git » (Y/n)
√ Configure Git ... yes
? Configure ESLint » (Y/n)
√ Configure ESLint ... no
? Configure VSCode Project Settings » (Y/n)
√ Configure VSCode Project Settings ... yes
Initializing.. ( xxxx ms )
Building.. ( yyyy ms )
user ~/NewFolder/$ _
Additional help can be found at Roblox-Ts' Setup Guide
Also be sure to include these additional packages:
user ~/NewFolder/$ npm i --save @rbxts/services @rbxts/object-utils
- (There may have been some things I've forgotten to include in initial setup. Take a peek at the code and you'll gain an intuition for it.)
To do a proper compilation, run command
user ~/NewFolder/$ rbxtsc -w
[xx:yy:zz] Starting compilation in watch mode...
[xx:yy:zz] Found 0 errors. Watching for file changes.
- Open Roblox Studio and create a new Place, I'd recommend using preset "Baseplate 2021" for clean look. Or regular "Baseplate" works too.
- If the Rojo Plugin is missing from Studio's Plugins tab, reload the application, if it's not there a second time around, begin manual installation by drag'n'dropping the release into your Studio Plugins folder, instructions found here.
- In Visual Studio Code, either use
Ctrl + Shift + P
and type in "Rojo" and then "Initialize", or use the little button at the bottom reading "Rojo vX.Y.Z [default], both options will open a local Rojo server which you'll be able to link into Roblox Studio using the Rojo Studio Plugin. Hit "Connect", and after a few ms, all your compiled code in/out
will be magically teleported into Roblox Studio in the form of "Scripts" or "Local Scripts" or "Module Scripts". - Now all that's left to do is enjoy the fruits of your labour. Hit "Play", or click "Run" under the dropdown in the topbar "Test" tab.