Game Events
Posted: Tue Jan 11, 2011 10:51 am
Well I'm having trouble on game events and was wondering if someone could lend a hand
Games usually have events in them, where you talk to someone and you get an item, you kill an enemy and the door opens, you get a certain item and a boulder moves, or you walk on a certain tile a secret passage opens. Now this seems like a pretty simple concept the only problem is I'd like to make events based off of the map. The map data would consist of a list of special events and then once the player completes it then it does something. But how would my program interpret that... without so much interpreting data for once in a lifetime events.
I might not have explained that perfectly but I'm having trouble with this concept.
I'm using XML for the map data and C# for my language if that matters so much.
Thanks, dnx
Games usually have events in them, where you talk to someone and you get an item, you kill an enemy and the door opens, you get a certain item and a boulder moves, or you walk on a certain tile a secret passage opens. Now this seems like a pretty simple concept the only problem is I'd like to make events based off of the map. The map data would consist of a list of special events and then once the player completes it then it does something. But how would my program interpret that... without so much interpreting data for once in a lifetime events.
I might not have explained that perfectly but I'm having trouble with this concept.
I'm using XML for the map data and C# for my language if that matters so much.
Thanks, dnx