Sha256: 4818af547087aedd2988458ede554996c35136e2f28b536ec7760299bfa6a809
Contents?: true
Size: 377 Bytes
Versions: 5
Compression:
Stored size: 377 Bytes
Contents
/* The home scene is the entry point of the game. It creates a new controls entity and a starting arrow to play with. */ re.scene('home') .enter(function(){ console.log('entering home scene. . .'); //add controls re.controls = re.e('controls'); //add first arrow re.controls.addArrow(); }) .exit(function(){ console.log('exiting home scene. . .'); })
Version data entries
5 entries across 5 versions & 1 rubygems