PXScrollView?
  • MindJuiceMindJuice January 29
    Posts: 14

    Hi guys,


    We have a few places in our game that have information that needs to scroll up and down (e.g., list of levels, list of store items, etc.).

    As we could not see any built-in scrolling feature, we made a bit of a hack where we draw display objects to a texture, and then change the clip rect of the texture as the mouse is moved to create a scrolling effect.

    This sort of works, but doesn't really scale well, especially since when the items in the list change, we need to rerender the texture, which causes the scrolling to jitter.  Also, we had to implement our own touch detection code, which is normally done by PW.

    Ideally PixelWave would have a PXScrollView or similar sort of class that is a container for objects that can be scrolled up/down or left/right.

    Do you have any near-future plans for a class like that or should I start writing my own?

    Thanks!


    Ken
  • oztuneoztune February 17
    Posts: 177

    Hey Ken,


    Not exactly a fully working list, but a solution for momentum scrolling:
    Pixelwave team
    // Founder

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Twitter Sign In with OpenID

Sign In Apply for Membership

In this Discussion

Top Posters