ScratchData LogoScratchData
Back to Java_Programmer's profile

Fun with Line Collisions

JAJava_Programmer•Created October 8, 2017
Fun with Line Collisions
27
16
254 views
View on Scratch

Instructions

Move your mouse around to aim the dots, and watch them bounce around! See if you can get some of the dots stuck in a corner or room. USE THIS IF IT LAGS: https://phosphorus.github.io/#178739159

Description

I got the idea immediately after fixing the line collision project, and since I had plenty of spare time today, I made this. :) The dots don't actually bounce correctly off straight lines (not sure how to reflect the velocity vector without slowing things down a ton), but they follow the normal vector instead, which is close enough for a fun effect.

Project Details

Project ID178739159
CreatedOctober 8, 2017
Last ModifiedOctober 10, 2017
SharedOctober 8, 2017
Visibilityvisible
CommentsAllowed