top | item 12187036

(no title)

deejbee | 9 years ago

From what I've experienced and read about, it seems the best approach is not to create/destroy objects at run time since it can be an expensive operation and cause frame rate issues. It's better to hide them and build as many as you can when the app is started up.

discuss

order

failrate|9 years ago

Yes, object pools are a good solution for elements like bullets in bullet hell games and similar applications.