Not that I have experience with this, but I'd imagine it's the same feeling. |
(this good news people!)
What exactly have I done? I've just implemented a few enemy movement differences that help enemies move smoother/smarter. The basics of what I did was smoothly adding velocity to enemies instead of adjusting their position by physically altering their X-and-Y positions every step of the game (which also made for pretty bad collision checking problems, too)
Movement, everybody, movement. |
Basically I used these thingys called "Vector2" 's in XNA which correspond to having an X and a Y value, as well as a length or magnitude or what will you (I hate to admit it, but yes, I do use math. Only a little bit, though, it's okay) This magnitude extends to an X and Y length. At each step in the program the sprite/image/object is moved X units by Y units in the game space by the length of my velocities X and Y. If you think back to trig... (oh no!) you can recall that having an X length and a Y length connected means, you can get a third length, called the hypotenuse that with the other two lengths forms a triangle. I basically fudged my way along to make sure I can alter this length or magnitude which is the number of steps X and Y my objects can move in a step.
That probably didn't make sense, but I tried. It was simple stuff regardless, just a bit time consuming.
I figured it's about time I drew something that WASN'T terrible violent... |
Stand back: THIS IS SCIENCE |
Well, minus the humidity. Something I've learned isn't so amazing about the midwest is humidity. Give me dry weather any day, man. Humidity just makes me sweat profusely.
So, uh, yeah that's it. Thanks for stopping by!
OH YEAH. My best friend from home, Terrence, finally got a phone so we can talk again.
Happyface! |
It would also include us just talking about things (Games, music, art, girls, things that concern guys, haha) and possibly stuff like short stories or philosophical writings. When me and T get together, you never know what's gonna happen!
Anyway, G'night interwebs.
- Kev
Don't you just hate it when that happens? |
No comments:
Post a Comment