chris.software     development     reviews     feed

Config.ini

I just finished ripping out the configuration code I was using and replacing it with EasyConfig, so now I have a nice configuration file. Here’s a snippet of what that looks like:

[MenuControls]
# Keyboard Menu Controls
AcceptKey = "Enter"
BackKey = "Back"

# Xbox Menu Controls
AcceptButton = "A"
BackButton = "B"

[Video]
Width = 1280
Heigh = 720

So I really like that library, and it’s the kind of thing I appreciate most during development of anything - why re-write something that’s been done a million times if there’s a good library like EasyConfig that you can use instead?

What to do next… I think what I’d like to next is figure out how to script some really basic cutscenes. I just don’t know what the best way to do this is yet, so it’ll require some research. I hear that the C# “yield” keyword is pretty great, but I don’t yet understand it, so hopefully it won’t take me too long to figure out. What I’d like to be able to do is have some really basic script files that are perhaps referenced in my maps and triggered when the player gets to a certain point. For now I just want to get the first cutscene in the game going, with a title and little bit of audio/animation. It’s going to be really cool, I think, based on some of the sound effects I found, and there are many more to try.