The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.39 / 5.00 38,635 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 15,161 ViewsI have this code for my ship to shoot:
if (Key.isDown(Key.CONTROL))
I did it like this because it's the only way I know how (pressing a button I mean)
I want to change it so all the things I have after this will be triggered by a left mouse click instead of pressing ctrl. What would I put? I think it's something like mouseDown or mousePress? I tried using those but it doesn't work.
AS: Main
Don't read this sentence.
onMouseDown=function(){
// your shoot code
}
AS: Main
Don't read this sentence.
or you could sya
if(Key.isDown(1)){
//whatever
}
cos 1 is the keycode for leftclick
The squirrel shall always triumph
nice one infallablesquirrel, (thats your name right) taught me something =)
=3