Skip to content

varadgautam/scripter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scripter

a platformer where you control the character by writing short scripts; reach the end to complete.

single level now.

###how to play:

function use
walk() walk ahead a single step
jump() jump
stop() stop whatever you're doing

javascript syntax is allowed. loops, variables and conditionals.

example code:

var i = 3;
while(i-- > 0){
    walk();         /* walk i = 3 steps forward */
    if(i == 2){
        jump();     /* jump when i becomes 2 */
    }
}


built with [melonJS][1] engine
game art: thanks to [kenney wings][2]
editor: [ace][3]

TODO

  1. prevent js injection
  2. handle uncontrolled loops

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published