Hi,
I created a Resource Manager Module for Blitz3D that will be used for my future engine. This module, powered by briskvm, is build with efficiency in mind. Resource, are those media files such as sound, texture, mesh etc. that are used throughout the life time of a game. Normally, in a simple game, resource tends to be load all at once in the beginning. However, this might not work so well for larger games. This resource manager is used to manage this issue and dynamically loaded and free resource as needed.
The key features are:
- Pack resource files into data file for easy portability.
- It will load resource ONLY on demand.
- It will gracefully remove/free resource when it is no longer in use
http://dl.getdropbox.com/u/353102/ResourceManager.rar
I need some tester if possible to test this, maybe possible ways of improvement. Just run the main.bb to see how it works, should be simple enough.
The only files needed to run in your own project (if you want to test this) are:
- modules\
- resource\
- vm_files\
- cubicle_resourcemanager.bb
Feel free to tell me what you think!
Nack
I created a Resource Manager Module for Blitz3D that will be used for my future engine. This module, powered by briskvm, is build with efficiency in mind. Resource, are those media files such as sound, texture, mesh etc. that are used throughout the life time of a game. Normally, in a simple game, resource tends to be load all at once in the beginning. However, this might not work so well for larger games. This resource manager is used to manage this issue and dynamically loaded and free resource as needed.
The key features are:
- Pack resource files into data file for easy portability.
- It will load resource ONLY on demand.
- It will gracefully remove/free resource when it is no longer in use
http://dl.getdropbox.com/u/353102/ResourceManager.rar
I need some tester if possible to test this, maybe possible ways of improvement. Just run the main.bb to see how it works, should be simple enough.
The only files needed to run in your own project (if you want to test this) are:
- modules\
- resource\
- vm_files\
- cubicle_resourcemanager.bb
Feel free to tell me what you think!
Nack