|
Post by DarkTonic Dev on Aug 30, 2015 7:23:58 GMT
Well then I would just make a really long single wave, with no repeating.
10,000 seconds or whatever it allows.
|
|
|
Post by gegagome on Aug 30, 2015 8:09:45 GMT
Ahh
I really wanted to use CGK in this scene.
Will there be a mode in which you can spawn things uninterruptedly and consistently?
Thanks
|
|
|
Post by DarkTonic Dev on Aug 30, 2015 10:43:11 GMT
That depends on a lot of things. I don't know for instance if your pool is large enough or if you're getting errors in the Console about pool item limits.
I'm not sure why a "really large wave" wouldn't work for you. That's what I'm suggesting. Does it need to be a small repeating wave for some reason?
|
|
|
Post by gegagome on Aug 30, 2015 18:51:24 GMT
I could make a very long Wave duration, but that means I need to also increase the pool of game objects accordingly, right? Which will take more resources I assume.
In my view why do I need a super large pool amount when only 10 would do the trick, and even though I could get away with a lag in my waves (but I won't), why is Wave duration equal to Time To Spawn All not possible? I think it should be a choice. Heck, even a little randomization of the wave's spawn frequency would be nice.
To be honest, I am so super bummed that something so minor is preventing me from using CGK!
On the plus side, I am learning how CGK works and can't wait to use it for my next game, which doesn't really need what I mentioned above.
To be fair the application of CGK in my case may be a little unorthodox, but I am so loving it that I have to ask!
Cheers
|
|
|
Post by DarkTonic Dev on Aug 30, 2015 19:25:17 GMT
No, it does not mean you need to increase the pool. That should be exactly the same. That only depends entirely on how fast you're spawning things vs how fast they are despawning. You need as many of an object in a pool as there will be simultaneously active game objects (spawned). No more.
For instance if you make things have a "death timer" of 5 seconds, then you only need a pool of "how many spawn in 5 seconds" for that item plus 1 or 2 for margin of error, regardless of how long the wave is or how many items spawn over time.
|
|
|
Post by gegagome on Aug 31, 2015 4:44:47 GMT
What you suggested in your latest response makes a lot of sense. Only the wave won't run more than once during its duration no matter what I do or try.
It's time to drop this and move on.
Thanks a lot!
|
|
|
Post by DarkTonic Dev on Aug 31, 2015 4:51:03 GMT
I was suggesting a single wave, that doesn't repeat, that's very very long. So I don't think you totally understood what I said. It doesn't need to run more than once because it effectively never ends because it's so long.
|
|
|
Post by gegagome on Sept 15, 2015 16:38:40 GMT
Hey, not sure if you are interested, or maybe you already have your own resource.
I am getting an Apple TV Developer Kit to test out Unity 5 apps, and was wondering if you have a demo app you'd like to see working on the new Apple TV.
You may even send a demo with the solution you listed above.
Just checking in case you are interested.
Thanks
|
|
|
Post by DarkTonic Dev on Sept 15, 2015 17:21:19 GMT
That's interesting. We're currently working on a PC game though. Thanks!
|
|