Is it possible to create Z-moement (pushing toward/through sprites), with Cocos2d? I guess it can be simulated with scaling sprite layers, but is there a way to use the camera to achieve a forward type parallax effect? Like a multiplane effect.
Creating Z-movement?
(4 posts) (2 voices)-
Posted 1 year ago #
-
[parent reorderChild:child z:newZ];Unfortunately, that's as far as you'll get with cocos2d for now. I use it with scaling and my own schedule.
Posted 1 year ago # -
Thanks for the input. I figured that the '2D' portion of Cocos2d was there for a reason.
The scaling effect is a bit more of a handmade feel, but seems to be what they used in that Free Toy Story book in the iPad section of the App store. Good enough for the Mouse, guess I'll make do as well...best,
B.Posted 1 year ago # -
A thought... after reading the thread yesterday on cameras, could a camera be used to simulate forward motion 'though' sprite layers in a scene?
Parallax does this but from side to side. Moving the background layer slower that the foreground layers. I'm thinking of parallax from a camera but in z.
Posted 1 year ago #
Reply
You must log in to post.