Tap or click to play
Toolbox
Workspace
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
setBackground();setMap();setDroid();setDroidSpeed();playSound();function () {}function () {}function () {}function () {}endGame();
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
setDroid("R2-D2")setDroidsetDroidsetDroidsetDroidsetDroidsetDroidsetDroidsetDroidsetDroidsetDroidsetDroidsetDroidsetDroidSpeed("fast")setDroidSpeedsetDroidSpeedsetDroidSpeedsetDroidSpeedsetDroidSpeedsetDroidSpeedsetDroidSpeedsetDroidSpeedsetDroidSpeedsetDroidSpeedsetDroidSpeedsetDroidSpeedsetBackground("Hoth")setBackgroundsetBackgroundsetBackgroundsetBackgroundsetBackgroundsetBackgroundsetBackgroundsetBackgroundsetBackgroundsetBackgroundsetBackgroundsetBackgroundsetMap("blank")setMapsetMapsetMapsetMapsetMapsetMapsetMapsetMapsetMapsetMapsetMapsetMapgoRight()goRightgoRightgoRightgoRightgoRightgoRightgoRightgoRightgoRightgoRightgoRightgoRightgoLeft()goLeftgoLeftgoLeftgoLeftgoLeftgoLeftgoLeftgoLeftgoLeftgoLeftgoLeftgoLeftgoUp()goUpgoUpgoUpgoUpgoUpgoUpgoUpgoUpgoUpgoUpgoUpgoUpgoDown()goDowngoDowngoDowngoDowngoDowngoDowngoDowngoDowngoDowngoDowngoDowngoDownplaySound("R2-D2sound1")playSoundplaySoundplaySoundplaySoundplaySoundplaySoundplaySoundplaySoundplaySoundplaySoundplaySoundplaySoundendGame("win")endGameendGameendGameendGameendGameendGameendGameendGameendGameendGameendGameendGameaddPoints(100)addPointsaddPointsaddPointsaddPointsaddPointsaddPointsaddPointsaddPointsaddPointsaddPointsaddPointsaddPointsremovePoints(100)removePointsremovePointsremovePointsremovePointsremovePointsremovePointsremovePointsremovePointsremovePointsremovePointsremovePointsremovePointsaddCharacter("PufferPig")addCharacteraddCharacteraddCharacteraddCharacteraddCharacteraddCharacteraddCharacteraddCharacteraddCharacteraddCharacteraddCharacteraddCharactermoveFast("PufferPig")moveFastmoveFastmoveFastmoveFastmoveFastmoveFastmoveFastmoveFastmoveFastmoveFastmoveFastmoveFastmoveNormal("PufferPig")moveNormalmoveNormalmoveNormalmoveNormalmoveNormalmoveNormalmoveNormalmoveNormalmoveNormalmoveNormalmoveNormalmoveNormalmoveSlow("PufferPig")moveSlowmoveSlowmoveSlowmoveSlowmoveSlowmoveSlowmoveSlowmoveSlowmoveSlowmoveSlowmoveSlowmoveSlow
Commands
Events