Open Source (nickworks)
About
Premise
Open Source is a classic metroidvania with a twist: the player must reprogram the game. At any time, the player can pause Open Source and edit the game's actual source code. The game plays like MegaMan X with unique code-based puzzles!
Input
This game requires the use of a keyboard.
Post-Mortem
This game was created as a submission for the Meta Game Jam.
The idea was to create a game that allows the player to play a game while manipulating its source code.
The game seems to have some potential as a learning tool.
Tutorial
Press TAB to change to the console.
Type the following and press ENTER.
sceneThe console should output a string that looks something like this:
{ modal:null, cam:[Camera Object], player:[Player Object], platforms:[Array], npcs: [Array], doors: [Array], bullets: [Array], items: [Array], }This output is a detailed report of all of the values that exist inside of the scene object. It is in a format called JSON.
If you click on any game object, the console will output a variable. You can use that variable to access the game object.
Click on your player avatar. Notice the following output:
you clicked on scene.playerInteresting. Let's take a peek into the player object. If you type in scene.player in console, you'll see the following output:
{ canDoubleJump:false, pawn: [Pawn Object], hp:100, hpMax:100, dead:false, friend:true, }Let's change some of these values... Try the following commands in the console:
scene.player.canDoubleJump=true scene.player.hp=50