Difference between revisions of "Contraption Maker Modding Guide"

From Contraptionmaker Wiki
Jump to: navigation, search
Line 10: Line 10:
 
First, you need to go into Make mode from the main menu. The screen will look like this.
 
First, you need to go into Make mode from the main menu. The screen will look like this.
  
[File:makemode.png|200px]
+
[File:makemode.png]
  
 
[http://jsdocs.contraptionmaker.net Javascript Docs]
 
[http://jsdocs.contraptionmaker.net Javascript Docs]

Revision as of 19:59, 4 September 2014

Modding

At Spotkin, we love many types of games. We realized early on that the platform we were building could easily be modified to make some of those game types. We started thinking about how to expose some of the platform even before we shipped our 1.0 version. Now we are finally opening up the hood a little bit to let you build new game types on top of our platform. In 1.1, we are just getting started with mods. We will rely on community feedback to see what other parts of the platform we should expose to scripting.

We chose Javascript as the modding language for two reasons. First, it is a fairly simple language to learn. There are tons of tutorials on the web for learning Javascript. Second, it is also a very useful language to know. Javascript is being used to build complex web applications and is now also even being used to build server applications. So while learning Javascript in the context of a Contraption Maker mod you are learning a practical skill.

Traditionally, when learning a new language or programming environment, the first program you learn to write is one that simply prints “Hello, World!”. Let’s see how to do that in Contraption Maker.

First, you need to go into Make mode from the main menu. The screen will look like this.

[File:makemode.png]

Javascript Docs