View Single Post
Old 04-29-2010, 02:08 PM   #34
Protector one
Moderator

Activity Longevity
2/20 17/20
Today Posts
1/11 ssssss692
Location: Netherlands
Default

You guys. Lazer thingy is working super smoothly now. Stoked. Now to get some frigging game elements in there! :P
Oh btw, reflecting beams turned out to be super easy. For vertical mirrors, I can just invert the value to get the reflected beam, that is, f(x) = -x. So for rotated mirrors, I can just subtract the rotation of the mirror of the rotation of the beam (to virtually rotate the mirror in vertical position), invert the value, and add the rotation back again. Thus: f(x) = -(x-mirrorRotation)+mirrorRotation = -x + 2*mirrorRotation. Crazy easy! Just FYI.


Quote:
Originally Posted by bob View Post
I know I was really pumped about this challenge when it was announced, but I probably won't turn anything in.
That's too bad. Care to show us what you got so far? I love seeing prototypes; gives me an impression of how others tackle the development process.
I wish the big game devs would give us peaks at their prototypes more often. They rarely do!
__________________
My name is Louis. Hi!
Uh oh! The princess is in another signature!
Protector one is online now