Miner's Haven open-sourced: everything you need to make your own factory game

Hello developers!

Today I open-sourced the factory-building game Miner’s Haven by uploading all of the scripts and the minershaven.rbxl place file to a GitHub repo. It is made available for public use under the Apache 2 license.

My second game on Roblox (before Miner’s Haven) was a mod I made of @BrokenBone’s game The Conquerors. I learned so much of what I know today by working on that game, so I wanted to pay it forward by releasing my own game for people to learn from and make their own creations come to life in.

Head on over to the GitHub repo and take this game for a spin in Roblox Studio:

Useful Modules

MoneyLib: the module I wrote to harness crazy large numbers into a readable format such as $10DD (10 duodecillion)

PlacementModule (written by @Locard), this is the code that controls the item placing preview with its cool bounciness and what not:

You can read some of my thoughts about making such a big game open-sourced on my medium article:

License Info

:white_check_mark: You may use materials from the source file, including source code, to create commercial projects with original intellectual property.

:white_check_mark: You may create and upload mods and edits of Miner’s Haven if the brand property is not used commmercially.

:x: You are prohibited from using the “Miner’s Haven” name and other brand property commercially without explicit written permission.


Cheers!

128 Likes

I remember my sibling playing Miner’s Haven for hours on end. It’ll be interesting to see how this legendary game was constructed.

11 Likes

Wow, just wow, this is going to be an amazing resource to learn from and look at assets. thank you so much for this contribution!

6 Likes

Bruh that game is the worst thing I’ve ever scripted. But I’m happy it helped launched your most successful game(until Vesteria takes that title).

19 Likes

Wow… After months of developing my own Sandbox tycoon with a friend of mine, this becomes open sourced. Welp, looks like we’re going to have lots of competition now :frowning:

5 Likes

Cool, thanks this might give me a idea how to set up games etc… I’m a noob when it comes to scripting and functions etc I’m mainly just a builder, with a little knowledge in very basic property changing scripting, to me the “new way of doing things” with remote functions and and all that is a bit confusing to learn Lua for the first time. I need to get more into scripting.

This will hopefully help me out some :+1:

I feel more Developers should make open source templates or starter games for various types of games, it might help people get started with learning how different games work etc.

7 Likes

Thank you so much! This will definitely help many new developers!

4 Likes

This will be a perfect example of a professionally developed, complex project on this platform. Thank you for making this public and hopefully others consider doing this as well :partying_face:

4 Likes

Thanks for this, Creating a tycoon and this may come in handy!

4 Likes

I was thinking the same thing. Last night I wrote a block generation script and was prepared to start developing a mining game, and then I see this. Now I’m just sitting here like rip.

Edit: However, I do really appreciate making such a professional game open source. So many things to learn from this.

3 Likes

Thank you so much Andrew. Your work and games are truly inspiration. Your creativity and generosity are remarkable. I hope to pay it forward someday as you have today.

3 Likes

image
i cri everytim
Anyway, thanks for making this open-sourced. It’s cool to see how this game works.

5 Likes

Nice release now I can see what makes the game tick. :smiley:
Also, I know this reply is very very late.

1 Like

Yeah, it’s nice to see how one of the bests makes games!

1 Like