Log In  


Cart #32670 | 2016-11-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

This is an experiment to test my understanding of handling collision detection for a large number of items on the screen. I'm proud to say that this cartridge can handle ~90 large bubbles or ~200 small bubbles before skipping draw frames (visible slowdown). The code is kind of messy, so if you need help interpreting what it does, let me know.

Controls:
Up and Down: adds or removes 1 bubble
Left and Right: adds or removes 10 bubbles
X button: switches between large and small bubbles
O button: resets the program

4



[Please log in to post a comment]