-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Callbacks and animation #1
Comments
@shipstar and I spoke briefly about a need to focus on some basics. I think that there isn't a great understanding of what a function is, and understanding that maybe important in order to understand callbacks. |
I still think that LightBot has a fun, practical introduction to functions: http://armorgames.com/play/2205/ Basically, you make a robot move around and light up blue tiles. There's certain levels where describing the move set would take dozens of highly repetitive moves, and there's only space for 12 moves plus two 8-move functions. Having the kids play the first 10 or so levels (until functions are introduced) might be a good way to kick off a lesson on functions. On Monday, October 21, 2013 at 1:25 PM, jonnolen wrote:
|
Also, there's at least one callback in the first Word Scramble fiddle, then a few slightly more advanced functions in the second one (choose a random word, shuffle the inputs, etc.). I could write up a full-fledged tutorial around it a la Breakout if we want. On Tuesday, October 22, 2013 at 10:40 AM, Kyle Shipley wrote:
|
Might also be worth using scratch to implement custom blocks. Have kids write On Tuesday, October 22, 2013, Kyle Shipley wrote:
|
It would be good to have a discussion about callbacks as an intro to the Harlem shake animation project. We could have a mentor acting as the program, do actions, and call back when finished. Goal maybe to pick up an object and put it on the table?
After this it may be easier to help debugging callbacks in settimeout and jquery effect.
The text was updated successfully, but these errors were encountered: