-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Milestone
Description
if($this.scene.state()=="PLAY"){
window.alert("press space to crash your computer temporarily");
document.alert("also press the why key to stop");
if(isKeyPressed(Keys.space)){
while(true){
print("dummy text");
}
}
if(isKeyPressed(Keys.y)){
$this.stopCode();
}
}
THIS IS NOT RIGHT
- the closing curly brackets are worng
- these statements should not be nested
i tested it in a weak compiler for javascript and it said
"document.alert is not a function"
maybe it is too weak for the glitch
please give answers
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed