Fling The Ball

Published 2023-06-12


(v01 12-25-22)
TO LOAD THIS PICO-8 CART, in immediate mode, type: load #flinger

Hello.

This is especially for @Dawnoboo who earlier asked how can launch slime with mouse.

From what I can tell they want where you can grab an object and release it quickly with the mouse giving it a "flinging" effect.

This then is the heavily documented code I wrote for it this Christmas morning. It also demonstrates how you can pick up an object dragging it with the mouse.

If you found this code to be helpful for you or if have any questions, please let me know.

Thanks ! 🎅