x


Multiple camera in iphone project expensive?

Howdy all, and thanks for your attention.

I am doing a top down camera (non-orthographic to get some parallax scroll) 2d game and am using multiple cameras as children of a parent cam to render different objects in layers in the scenes to stop the object from tearing and sorting through each other. Is this an expensive thing to do?

Thanks,

-Goody!

more ▼

asked Jun 13 '10 at 01:31 AM

Goody! gravatar image

Goody!
516 24 31 46

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I've got several cameras in my iphone game as well as a load of physics and particle effects and it runs fine, go nuts.

more ▼

answered Jun 13 '10 at 02:36 AM

spinaljack gravatar image

spinaljack
9.1k 18 31 92

Thanks for your response. Can you give a more technical answer? Like how many cameras? I'm not concerned with physics or particle effects either.

Jul 06 '10 at 07:00 PM Goody!

I have one camera for each HUD display and splat effect, they're set to only render a single layer so it doesn't really cause much a resource drain. I don't know the actual numbers as I've not tested it but I've got at least 3 cameras in most scenes

Jul 07 '10 at 12:40 PM spinaljack
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3131
x2014

asked: Jun 13 '10 at 01:31 AM

Seen: 1827 times

Last Updated: Jun 13 '10 at 01:31 AM