playMaker

Author Topic: Array List Proxy: Video support  (Read 1534 times)

Alatriste

  • Full Member
  • ***
  • Posts: 193
Array List Proxy: Video support
« on: March 31, 2020, 10:21:01 AM »
I think right now it's not possible to create an array list prefilled with the video type. It would be nice to support this in a future update.

In my case, I have a bunch of videos I'd like to put in an ArrayList but I don't see an easy way to do it during runtime.

Thanks!
« Last Edit: March 31, 2020, 10:36:15 AM by Alatriste »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Array List Proxy: Video support
« Reply #1 on: March 31, 2020, 10:37:12 AM »
Hi.
Pre-fill other object types can indeed be useful in some cases.

But i am not sure if you want to set a list of videos as that might take up a lot of memory.
I am not sure about this tho, if they would be loaded in or not.

If so, it might be better to have a list of the Path strings inside Resources folder and load in the videos when needed (using resources load).

Alatriste

  • Full Member
  • ***
  • Posts: 193
Re: Array List Proxy: Video support
« Reply #2 on: March 31, 2020, 11:59:32 AM »
Mmmm... That might be another option!

Thanks djaydino!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Array List Proxy: Video support
« Reply #3 on: April 28, 2020, 02:31:58 AM »
Hi,

 indeed, yes always use Resources or streaming assets folder  and use their path to your assets that are not supported.

Bye,

 Jean