White Noise

Wiebo de Wit's thoughts about game development and more…

Framework progress

Whee. Finally got my collision system working properly with the quadtree and camera systems.

When I ask which entities collide with a certain entity, the quadtree returns the entities in the same quad tree node space. Then, a hit-box check is done to see which of those entities overlap the hit-box of my entity. The hit boxes scale with the entity, btw. Last, an image check is done on the remaining entities.

screenshot or it didn’t happen! :) As you can see in the screenshot, there is only one hit at image level. (HIT*1)

I’m happy! Next thing to do is importing and exporting entity worlds.

Image

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 166 other followers

%d bloggers like this: