Harder then I though
Jump to navigation
Jump to search
Revision as of 18 February 2013 at 23:48.
The highlighted comment was edited in this revision. [diff]
The highlighted comment was edited in this revision. [diff]
It really shouldn't be hard to get such a simple concept to work. I thought I had to working too. But apparently it was a number of flukes all happening in a row.
I am not particularly surprised I failed. I mean come on, its me. But I have a few more ideas.
Got it, this time I am sure. I will post some code for everyone to peruse soon. Darn off by 1 errors.
Here you go, enjoy! https://gist.github.com/Chase-san/7edb0974df656bec12d8
Sorry that it is a mess and for all the custom/internal class usage. But I don't think it is anything to foreign.
Vector is Point2D on steroids. Line is just Line2D with custom initializer. MintState tracks all data. It updates energy according to HitByBullet and BulletHit as well.