The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
1answer
247 views

Do SpriteBuilder's Smart Sprite Sheet need to be loaded to memory?

When I create an Smart Sprite Sheet Folder using SpriteBuilder and publish it, must I load that SpriteSheet into memory "FrameCache" with code or does SpriteBuilder do this automatically (so I just ...
1
vote
1answer
183 views

How can I ensure a Unity game continues to run in RAM, even if the disk it loaded from is removed?

I'd like to make a game with Unity, put the build with all the data on a USB key, plug it in another Windows computer, and run the game from the USB drive, then remove the USB drive, but keep the game ...
2
votes
0answers
85 views

SDL2 SDL_CreateTexture returns pointer to existing texture

I have an initialized renderer in SDL2 that works fine. I create some textures from images using SDL_CreateTextureFromSurface and store them in a vector. Afterwards, I create an empty texture so as ...
2
votes
0answers
487 views

Find References In Scene of scriptable object unity asset shows incorrect results

I'm trying to work out why my game is loading a large sprite atlas that I don't think it should be. The snapshot view of the profiler shows that the atlas is loaded. The references pane shows that it'...
1
vote
0answers
28 views

Animated Typing Memory Usage with Immutable Strings

Right now I'm programming a game that has an animated typing effect typically seen in older 1980's and 90's role-playing games. An example can be seen here. The typing effect is generated by taking a ...
0
votes
0answers
17 views

Cocos2d - update() cannot acces child object

I'm writing simple game in c++ using cocos2d. I created 2 objects of class Physicist in my HelloWorld class and I added them as child nodes. In update() function of HelloWorld class I'm trying access ...
0
votes
0answers
35 views

Discrepancy with Profiler.GetTotalAllocatedMemory() in Unity

I'm trying to calculate the memory usage of different parts of my game without using a Profiler. I have several textures loaded, and I get their memory consumption like this: Profiler....