Skip to main content

Prerequisites

Lua

Lua

The only thing you really need to know to get started is the Lua programming language. It's a very easy and popular scripting language that's used for modding in many games, such as Roblox. There should be tons of tutorials online, so go learn it!

Unity

Unity

Ye Olde Meme Game 2 is developed in the Unity game engine. Pretty much all of Unity's components should be available for you to create, access, modify, and destroy. So while you don't need to know Unity, it would be quite helpful. However, you can also get by by consulting the Unity Manual or asking ChatGPT or the community.

Unity uses C# as its programming language, so some knowledge of C# may be helpful for things like understanding how members of Components work, and better understanding the API Reference. But it's by no means required for basic modding, and you should be able to learn on the go. You must also be comfortable asking ChatGPT about Unity and C# stuff when needed. ModScripting is an opportunity for you to grow as a programmer if you aren't already a 10X 😒

MoonSharp

Moonsharp

So some absolute legend went and wrote an interpreter for Lua entirely in C#. That interpreter is called Moonsharp, and it's what we use to run Lua scripts in Ye Olde Meme Game 2. You don't need to know about it, but especially for advanced users, if you run into any weird issue or want to find out more about why you have to write your ModScripts the way you do, you can check out the documentation here.