Search results
Code.org Professional Learning Community, operated by Civilized Discourse Construction Kit, Inc.
17 gru 2020 · In place of that, you can use setTimeout. There are some other solutions like busy waiting (which eats up resources). Or await/async, which does not exist in es5, and especially not code.org. It is not uncommon for forum members to not answer questions because they don’t have a solution. (And in this case, they really don’t)
4 wrz 2024 · Unit 4 Lesson 7 Conditionals practice App Answers 2024 Is there a link to these new conditional app practice problems?
22 paź 2020 · This student created a game and we just can’t figure out how to do the last thing. He is wanting the laser that is moving to the left across the screen to follow the spaceship and move up and down with the spaceship instead of always just looping to the exact same spot. Basically, he wants the laser to follow or move along with the spaceship.
20 mar 2023 · I’d be interested to hear from anyone who went that route. Thanks in advance for any ideas you might have. Here is the link to the project: Scrolling Platformer. varrience March 20, 2023, 11:53pm 2. Documentation. Code.org. Link: Game Lab - Code.org. mwood March 21, 2023, 8:44pm 3.
30 maj 2018 · setTimeout(function() {},5); or instead, you could use the setInterval() function. //insert code here. this will run once every 5 milliseconds, while the setTimeout() function only does it once after 5 milliseconds. I have a program that plays notes and flashes the LEDs.
Welcome! This is a place for teachers who are implementing Computer Science Fundamentals. We see it as a space to share best practices, questions, thoughts, ideas and inspiration, and to build a professional learning community for all of you amazing educators who are making change each day in your classroom. 229.
4 kwi 2018 · I have assigned the Clicker Game to my High School students. The code has been working great and we are liking the App Lab. A student has used a for loop to control movement of an image with the mouse click, but we haven’t figured out how to have an image move once we change screens. I thought that putting in a for loop with a setPosition block that has y=y+1 for changing the y position ...
13 wrz 2023 · Here are guided notes I created for the problem solving process and teamwork videos in Unit 1. Hopefully they are helpful to others! U1L02 Video Guide - Problem Solving Process (the answer to question 2 is B) U1L03 Video Guide - Teamwork Also, as a bonus - if you add the lesson 3 video guide to the activity guide, the word search will no longer be the first page so you don’t have to worry ...
31 maj 2017 · For repeatedly executing some code on a timer you can check out the newly added timedLoop which can be found in the control tab. Here is an example from the documentation. var seconds = 0; timedLoop (1000, function () { seconds = seconds + 1; console.log (seconds + " seconds have elapsed"); }); Hope this helps.