• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

stage3d/starling 2d spritesheet control, how to? or..converting a 2d app to use stage3d

Guest
Mar 27, 2012 Mar 27, 2012

Copy link to clipboard

Copied

Ls,

Looking into porting my 2d game to the stage3d environment.

The ol'approach works fine  until a lot of stuff starts appearing on the screen at the same time.

At that point I believe it to be the displaylist that starts to clog or seriously draw resources.

So.... stage3d then.

Question:

I cannot find any "advanced" sprite control methods.

In my old app. im using MC''s and use gotoandplay to direct them to the current walk position and/or a deathsequence and such.

In starling i can spritesheet em, then juggle em, start em and stop em. But not specificly target any frame i want it to be on.

shaks!

So I could strip em apart into sub sequence spritesheets i.e: walking, running, taking, dying, throwing.

and then add and remove/replace em from the scene whenever a change occurs.

Would that be the way to do it?

Im fearing that this will nullify the stage3d speed enhancements.

All this beeing a seriously daunting task if it leads to nothing, I'm am seriously hoping someone can enlighten me on this.

Extreme regards,

Mac

TOPICS
ActionScript

Views

955

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Mar 27, 2012 Mar 27, 2012

For all with the same question.

I think it will be explained in here

http://www.adobe.com/devnet/flashplayer/articles/creating-whack-with-starling.html

Votes

Translate

Translate
Advocate ,
Mar 27, 2012 Mar 27, 2012

Copy link to clipboard

Copied

I'd recommend looking over http://www.gotoandlearn.com/play.php?id=147

the example only has 1 animation sqeuence in it but he does breifly mention how you would go about adding additional animation sqeuences

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 27, 2012 Mar 27, 2012

Copy link to clipboard

Copied

_spoboyle,

Thank you, I've been surfing a lot already.

Hope this one hits the mark,

cheers for the assist,

Mac

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 27, 2012 Mar 27, 2012

Copy link to clipboard

Copied

Ha!

well i've seen this one.

Its the one that made me consider porting my game to stage3d.

Nevertheless, thanks for the assist.

I guess ill just have to try on the fly and make a small test.

Mac

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 27, 2012 Mar 27, 2012

Copy link to clipboard

Copied

LATEST

For all with the same question.

I think it will be explained in here

http://www.adobe.com/devnet/flashplayer/articles/creating-whack-with-starling.html

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines