Jemgine

31Jan/100

1-31

I hacked an 'affected by gravity' flag into Box2d.XNA so that my bullets could fire slow and not fall to the ground. They are supposed to be energy weapons, or something. I also hacked in a way to pass a parameter to an entity's OnSpawned event, and then I removed it, because I found a better way. I can attach a function to the entity's OnSpawned event that does what I want, instead of passing something to some script on the entity that was just passed. Also, I used Reflection to clone components without having to write a virtual clone function in every component.

About Bleck

No description. Please complete your profile.
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


Trackbacks are disabled.