forked from jaildesigner-jailgames/jaildoctors_dilemma
Trabajando en la precarga de animaciones
This commit is contained in:
@@ -213,11 +213,17 @@ void Director::loadResources(section_t section)
|
||||
|
||||
else if (section.name == SECTION_PROG_CREDITS)
|
||||
{
|
||||
// Texturas
|
||||
std::vector<std::string> textureList;
|
||||
textureList.push_back("shine.png");
|
||||
textureList.push_back("smb2.png");
|
||||
|
||||
resource->loadTextures(textureList);
|
||||
|
||||
std::vector<std::string> animationList;
|
||||
animationList.push_back("shine.ani");
|
||||
|
||||
resource->loadAnimations(animationList);
|
||||
}
|
||||
|
||||
else if (section.name == SECTION_PROG_GAME || section.name == SECTION_PROG_DEMO)
|
||||
|
||||
Reference in New Issue
Block a user