On Sun, Sep 28, 2008 at 11:05 PM, timball <[EMAIL PROTECTED]> wrote:
>
> cocos2d rox! it seems really easy even for someone (like me) who's
> also learning python. I'm trying to familiarize myself w/ the lib and
> ran into some really newbie-ish questions about layers
>
sure, lets take a look.

> below is a sample doodle. My questions are:
>  - can I make adjust a layers size other than using scale?

not sure what other kind of resize you want. we have a planned feature
of having scale_x and scale_y, but no one did it yet.

>      - how did you find that answer in: http://cocos2d.org/doc/api/

well, id like to say "if its not in the docs, it does not exist" but
im not so sure about anything in my old age.

>  - is it possible to apply actions (like
> cocos.actions.grid3d_actions.Ripple3D()) to just a layer?

yes, you should. if it doesnt work, file a bug.

>  - how can I always assure that child objects to a layer have their
> 0,0 set to the lower left corner of the layer (or is this just the
> default)?

assert node.children_anchor == 0,0
its the default, but i can make no promises as how some others nodes
will behave. why would you care?

Lucio.
ps: i didint read the code. if theres something i should take a look
at, let me know.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to