Hello,
Does anyone know how I can define the sprite + dat file path in the source and not through things.lua?
I'm pretty sure it's relating to this line in spritemanager.cpp
has anyone got an idea?
Does anyone know how I can define the sprite + dat file path in the source and not through things.lua?
PHP:
file = g_resources.guessFilePath(file, "spr");
m_spritesFile = g_resources.openFile(file);
// cache file buffer to avoid lags from hard drive
m_spritesFile->cache();
I'm pretty sure it's relating to this line in spritemanager.cpp
has anyone got an idea?