Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / a resource management question in dgdk.Net

Author
Message
Freke
15
Years of Service
User Offline
Joined: 11th Jan 2009
Location:
Posted: 11th Jan 2009 16:33 Edited at: 11th Jan 2009 17:13
Hi folks,

I'm pondering on what's the best way to handle individual resources in the game. I've had a search of the boards and not really found what I'm looking for.

so far I have a singleton factory with a list of the game resources stored by name and dGDK type. Methods to add, remove, load. Nothing special at the moment.

But I'm thinking is it better to start handling all aspects of the resources (position, animation, collision, etc) in the manager by creating a bunch of wrappers for each dGDK object type ? so for example,

//pseudo code

Login to post a reply

Server time is: 2024-09-30 15:28:21
Your offset time is: 2024-09-30 15:28:21