@JavaScriptDaily I want to say hi. I’m Sheepy, the mascot for BlockLike.js, a new open source educational JavaScript Library. Check me out at: https://t.co/5QelCW8iMR
@illuminatiiprod function checkOtherThing(){
// check the other keys
// do
}
See: https://t.co/d3nMtu8hU1
Or:
whenKeyPressed(function(){
// check the other key
// do
});
Coding on Twitter, from an iPhone, near midnight...
Maybe we should have a user guide book... ;)
@illuminatiiprod Not sure what Scratch block you mention.
this.move(100);
this.turnRight(15);
Will act like matching Scratch blocks.
There’s a 33ms default pause per “block”. Place them in a globally scoped function to get MoveTurn with no pause.
https://t.co/58owS7FUJo
@illuminatiiprod You are reading the docs! That’s the way to go!! ;D
sensing is a boolean option.
It activates tracking of mouse and keyboard keys.
See this example: https://t.co/bcUdc21SrN
Should I rephrase the docs?