Skip to main content

Intro

Welcome to SuperCode!

Welcome to the official docs for SuperCode a free social gaming platform where friends can explore 3D Worlds and learn how to build their own. Players can "hack" objects to create custom experiences by applying a little programming know-how. If you can’t code yet, SuperCode is the perfect place to start!

This site is focused on documentation for hacking your own SuperCode games. If you're looking for tutorials on getting started or how to build your own games, check out the Learn page in the SuperCode app for a series of tutorials that will walk you through the process.

Getting Started

Getting started with hacking in SuperCode is easy! Most objects in the game can be hacked by clicking on them and selecting the "Hack" option. This will open up the SuperCode code editor where you can write code to customize the object's behavior.

There are two types of scripts you can write when hacking in SuperCode: Entity scripts and HUD scripts. Depending on what you want to do, you'll need to write one or the other. Some things can only be done with entity scripts, some things can only be done with HUD scripts, and some things can be done with either. The documentation will indicate whenever an item is only available in one type of script.

Entity Scripts

Entity scripts are attached to entities (i.e. objects in the game world). They can be used to customize the behavior of the entity. For example, you can write a script that makes a door open when a player walks up to it.

HUD Scripts

HUD scripts are attached to items in the player's Heads-Up Display (HUD) (i.e. the user interface a player sees when playing in your world). They can be used to customize the behavior of the item. For example, you can write a script that makes a button in the player's HUD open a door when clicked.