This appears to be a flash file, you cannot see a preview because flash player is no longer supoorted in browsers, but you can still download the file to study it's source code.
You can open/play the swf file with Flash Player exe
You can open/play the swf file with Flash Player exe
rstewart (3)
Flash Mini Golf
pixel-collision engine. This one is just under 100 lines in ActionScript 2. Reflect a ball off any shape.Listing url: rwstewart.wordpress.com/
644 downloads, 14268 views
mini golf mini-putt ball bounce reflection
Comments
You need to login to post a comment.
ball bounced out..
very nice. i wish i know how to make it myself
The bg looks like it's taken of an really early 2advanced site
...oh, and in an attempt to do it again (which I was able to do) I also found that it also hangs if the ball wants to travel through a gap it can't fit through. Again, power=1 it gets stuck at the top of the "x" and "e"
All this aside, I still think this is a very good example.
great example. I was surprised when it bounced off the letters in the word "Pixel" too. Good stuff.
BTW, power of 1 is adequate to cause an infinite loop if hit on the correct angle to result in perfectly horizontal travel between the top of the "i" and the top of the left serif on the "x" (FYI, I wasn't trying to find this, but as I did I thought I'd let you know)