Sunday, September 29, 2013

Undeads do never die!

Hello World!

Back from a break that felt like a life time. Anyway rough time lays behind me for the moment and i finally got myself into my game project again.


Today and yesterdays work were a lot of debug feature that just display the bounding boxes (blue) of all sprites, there weight points (yellow dots - they are just the center of each sprite - no weight based on amount of opacue pixels or something like that so far), the weight point one get if all points are combined (yellow circle connected with to weight points via lines) and all anchor points that connect the individual sprites (red dots).

I also added a small lib of vector calculation i hoped SFML would already provide but no...

Anyway now i also got to implement the Graham Scan that builds me a convex hull from the weight points... Makes no sense? Yeah kinda. But i will be able to use that on any cloud of points to transform it into a convex polygon! Beside i kinda like the idea of having a collision area for missiles and such that is smaller then the object. Currently looks good on the walker... sadly a bit awkward on the player character.

The good part! I'm finally closer to having actually things in my world... that... that will be able to interact! Yea!

Next will be a very rough MUR Bounding Box and as said the first collision tests.

And after that... maybe first test together with terrain!

Also good a few more idea how to handle the terrain! =)

Hope i will have more result a lot sooner...

Byebye!