Zelda Scrolling

This forum is currently in read-only mode.
From the Asset Store
All popular touch mechanics - scrolling, zooming, swiping
  • Oh. Heh, you can tell that i've never used these forums before. <img src="smileys/smiley9.gif" border="0" align="middle" />

  • dpyellow

    There's nothing to stop you installing the last build of CC and then you could open the .cap.

    For reference, the .cap has 2 sprites called Sprite and Sprite2 and the events look like this:

    + System: ScrollX Lower than int(Sprite.X) - ((int(Sprite.X) % 640 )) + 320

    -> System: Scroll to X ScrollX + 16

    -> System: Set time scale to 0

    + System: ScrollX Greater than int(Sprite.X) - ((int(Sprite.X) % 640 )) + 320

    -> System: Scroll to X ScrollX - 16

    -> System: Set time scale to 0

    + System: ScrollY Lower than int(Sprite.Y) - ((int(Sprite.Y) % 480)) + 240

    -> System: Scroll to Y ScrollY + 16

    -> System: Set time scale to 0

    + System: ScrollY Greater than int(Sprite.Y) - ((int(Sprite.Y) % 480)) + 240

    -> System: Scroll to Y ScrollY - 16

    -> System: Set time scale to 0

    + System: ScrollY Equal to int(Sprite.Y) - ((int(Sprite.Y) % 480)) + 240

    + System: ScrollX Equal to int(Sprite.X) - ((int(Sprite.X) % 640 )) + 320

    -> System: Set time scale to 1

    The Project size is 6000x6000 and the Layout is 640x480.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks! I'll keep that in mind.

  • dpyellow

    If you still need an example for C2, here's one I converted from CC. It may give you the basic idea.

    https://dl.dropboxusercontent.com/u/34306693/zelda.capx.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)