Relative Content

Tag Archive for code.org

Code.org gamelab collisions working spontaneously

I know it sounds stupid but it’s true, at least for me. For my FCOS class my final task was to make a game. I made a simple endless type game where a monkey has to avoid basketballs and collect bananas. For some reason, all of the collisions work about 1/3 of the time. I really can’t figure out why that is, neither can my teacher. Here’s the code (collisions in the pleasegodwork functions and game function).