Thursday, August 16, 2012

Updated Level Editor!

Alright, so today's update is with the level editor.  I'm going to be doing some more updates, and posting more pics.  The update I made recently is with the collision data, and how it shows the edges, and vertices for the collision polygon.

The picture below shows a simple image of the editor.  the right hand side is the image that XNA loads for the level, and if you look at the second square from the left, it's kinda got a series of blue lines, and red dots around it.  The lines represent edges (of course), and the dots represent vertices.  I got the algorithm to work right so it just draws a series of single pixel images I made (blue ones!) in a line based on whether the X or the Y distance is greater, so it creates a more accurate line...>.>


I got other updates coming soon, this is just one of many, stay tuned!

Oh, and I also set up a word press account, so I'll be updating that too later.  Before bed, methinks...

No comments:

Post a Comment