You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
matricks edited this page Dec 30, 2011
·
3 revisions
The intention for doing the system is to make the engine more modular in order to do other games then very teeworlds like games. The ability to transfer resources from the game server to the client opens up the engine for loads of new possibilities. It also reduces the need for protocol changes when adding new media.
Features
Loading resources from a simple string
Reference counted resources
Multiple sources like disk, cache and game server. more can be added with ease
Multi-threaded design, almost lock-free
Server can reference a resource in net objects and messages
Disadvantages
Code complexity is much higher due to all threading
Does little for the Teeworlds game itself
Future work
Custom sprites on the client
Make the map into a resource and remove the map download feature
Remove the ability for maps to have embedded images