Created
April 1, 2013 14:35
-
-
Save jteneycke/5285273 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="processing-1.4.1.js"></script> | |
<canvas data-processing-sources="codebase.pde hello-web.pde"></canvas> |
final int screenWidth = 200;
final int screenHeight = 200;
void initialize() {
addScreen("mylevel", new MyLevel(screenWidth, screenHeight));
}
class MyLevel extends Level {
MyLevel(float levelWidth, float levelHeight) {
super(levelWidth, levelHeight);
}
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
game_project
|--index.html
|--processing-1.4.1.js
|--codebase.pde
|--hello-web.pde