playMaker

Author Topic: Load and Unload textures to save memory.  (Read 870 times)

markettounity

  • Playmaker Newbie
  • *
  • Posts: 30
Load and Unload textures to save memory.
« on: September 09, 2022, 05:00:47 AM »
hi all guys!

I'm working on a virtual arcade with first person view, so I have a room with about 60 cabinets.

each cabinet has a texture  .png for the marquee and a videotexture .mp4 for gamesnap.

The problem is that when I start the compiled game, the gamesnaps are all blocked, surely it's a memory problem that can't handle all the videos at the same time.

My question is :

how can i make the videotexture with the mp4 video load ONLY when i'm near the object and get destroyed when i walk away again?

I'm using PLAYMAKER of course ...

thank you so much for your help! : D