Page 4 of 4 FirstFirst ... 234
Results 31 to 32 of 32

Thread: Andorra 2D - The Next Generation 2D Engine

  1. #31

    Andorra 2D - The Next Generation 2D Engine

    Hi,

    the first solution is to use the "TBackgroundSprite"-Class which owns a property "Depth". This property specifies how fast scrolling will be done.

    The second solution is to set the position of the background sprites dependent on the position of the camera. This can be achieved by overwriting the "DoMove" procedure of TSprite.

    I'll implement Sprite Layers in one of the next versions of Andorra 2D - they'll make it possible to create parallax scrolling with less effort.

    Thank you for your question,
    Andreas

  2. #32

    Andorra 2D - The Next Generation 2D Engine

    Any example?

    Thanks
    Sesilla

Page 4 of 4 FirstFirst ... 234

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •