Default device values, map scaling, face culling, avatars in results menu

Posted by Eugene / 10th November 2009 in IGFEB09 - Team A, Production Diaries

MDS - GamesBlog - HarvestInGame10

There was a couple of issues with the device enumerator when a device.ini was not present. The adapter ordinal being chosen was the one with the highest ID instead of being the default adapter (0). Also, the present interval vector was being filled backwards with the least desirable value first in the vector. Changed the default present interval to be the value at the end of the vector to combat this issue.

When changing the scale values in one of my maps the background got screwed up. I tried storing the unit width and depth variables but I accidentally stored them after I had intialised the background. I changed the order and now the level can be scaled successfully however, the level object collisions with the player do not work properly.

MDS - GamesBlog - HarvestInGame11

Had some trouble with the face culling on the ramp objects. A face was being drawn when the back of a ramp was up against a block. After some trial and error I realised that both the back face of the ramp object and the face of the block it is up against need to be culled.

Used the code from the player menu to add avatars to the results menu. Need to find out who won the level and display their avatar at the bottom in a larger size. Will not display any winner if there is a tie.

Leave a Reply

Search

Newsletter

View Sub Categories

Recent Posts

Connect With Us