Preload of animated icons and sounds

Discussion of all aspects of the game engine, including development of new and existing features.

Moderator: Forum Moderators

Post Reply
User avatar
vonHalenbach
Translator
Posts: 398
Joined: May 3rd, 2006, 10:23 am
Location: united europe

Preload of animated icons and sounds

Post by vonHalenbach »

When a campaign is loaded into the memory the sounds an icons should be loaded too. They can be used in the game much faster then. It don't even uses much ram, because many units were used more than once.

I have thought about one bigger binary file, which will have all often used sounds in one .ogg file, which will be preloaded into the ram. The sounds have to be referenced in that file.

Same with the pictures.
Look how the font is safed.

greetings
Stefan
Post Reply