Wednesday, November 13, 2013

Physics: Circle to Circle Collision

In this post, I'm showing off my newest application: accurate (and fairly fast!) circle to circle collisions.  I'll also give a brief explanation of the physics involved.

Platformer Engine with Editor

      This is a simple Super Mario clone, along with a humble level editor.  You can add and remove bricks from the background using the mouse, and reset the level by clicking the reset button. 

Water Particle Simulation

      This is a pixel-particle based dynamic water simulation I made from scratch.  The background (the black areas) is entirely customizable, and there's even a rudimentary editor built into the application as it stands now.  There aren't any real physics involved; just a short set of rules governing each pixel.
Warning: Take it easy on the lightning.

Introduction

Hi everyone, welcome to my humble blog.  Here, you'll find a seemingly random assortment of flash applications that I designed and programmed from scratch.  Don't expect professional-grade software here; I'm a self taught, curiosity-driven, amateur programmer.
I've been programming in ActionScript since I was 14, and have never truly picked up a new language.   In fact, I still use the now-archaic ActionScript 2 in the Macromedia Flash 8 development environment.  Be that as it may, I still hit on some very interesting tidbits from time to time, and I think the core elements of object oriented programming extend beyond the syntax and speed of any particular language.
Stick around and see some of my work.  I like working on physics simulations and other game-related content.  I'll be posting my old bits and pieces of applications that I found interesting, and briefly explaining how it all works.
As a self-taught programmer, I'm sure the vast majority of methods I use in my coding have more efficient counterparts that are well known; however, it's interesting to think that I may have come up with a new and better way of doing something that no one has ever thought of before.  Keep your eyes open!
Thanks for reading.

Adam