Wednesday, February 29, 2012

Update

So it’s been a while since I’ve done an update and I should probably write a small blog of what I’ve accomplished since the past post.

I have since created a new class of primitives called Polygon which incorporates the GLEED2D path item with polygon property set to True. The class draws the item using the array of 2D vertices and then triangulates them into a TriangleList which can be drawn (and filled) with a specified texture. This will make drawing the levels easier. Can currently layout the the basic structure of the level using the textured polygons (grass, bricks, stone tiling, etc.) and then further more, add in the details using the GLEED2D texture items. If you’re familiar with the GLEED2D file format (which is XML) you’ll know what I’m talking about. From a level designing sense, you’d first plot out the terrain using vertices/points forming a triangle, specify the texture you want it filled with (tiled texture of grass, brick, rock, whatever) and then plot in some other texture items for details. I think this way of designing the level will work really well.

I haven’t shown any progress screenshots probably because I’m very particular about how basic the gameplay is right now. Don’t want any misconceptions regarding the gameplay. Soon I will have screenshots and possibly video as the platformer has evolved immensely in the past month or two.

No comments:

Post a Comment