playMaker

Author Topic: Array Maker vs Pool System?  (Read 2693 times)

Aaddiction

  • Full Member
  • ***
  • Posts: 166
Array Maker vs Pool System?
« on: July 28, 2014, 03:54:41 AM »
I'm a bit confused on what's the difference between array maker and any pooling manager. Aren't both preloading list of objects for pooling when needed? If so what the difference from having an array of objects and have pool of objects?

Sorry if its non sense to you. Thank you!

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Array Maker vs Pool System?
« Reply #1 on: July 28, 2014, 07:10:35 AM »
ArrayMaker just lets you make Arrays.

A Pool Manager will actually manage the arrays and have a bunch of features like which and how many of the objects you want to preload into the scene. It will reset the objects correctly with despawn and spawn them correctly as well. If there aren't any objects in the scene's pool for use, then it would automatically create new ones, add them to the pool, and circulate them correctly.

In other words, ArrayMaker is not a pooling tool, but you could use it in part to roll your own playmaker pooling system. Notably, you might want to wait for 1.8.0 as there are native Array variables added.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Aaddiction

  • Full Member
  • ***
  • Posts: 166
Re: Array Maker vs Pool System?
« Reply #2 on: July 29, 2014, 05:06:20 AM »
Thank you, looking forward.