Skip to content
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

Open
joeldart opened this issue Aug 13, 2013 · 4 comments
Open

Callbacks and animation #1

joeldart opened this issue Aug 13, 2013 · 4 comments

Comments

@joeldart
Copy link
Contributor

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.

@jonnolen
Copy link
Member

@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.

@shipstar
Copy link
Member

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:

@shipstar (https://github.com/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.


Reply to this email directly or view it on GitHub (#1 (comment)).

@shipstar
Copy link
Member

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:

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:

@shipstar (https://github.com/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.


Reply to this email directly or view it on GitHub (#1 (comment)).

@joeldart
Copy link
Contributor Author

Might also be worth using scratch to implement custom blocks. Have kids write
their own "if on edge bounce" block

On Tuesday, October 22, 2013, Kyle Shipley 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:

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:

@shipstar (https://github.com/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.


Reply to this email directly or view it on GitHub (
#1 (comment)).


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-26808869
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants