Traditional Selector box with marching ants

0 favourites
  • 1 posts
From the Asset Store
Enemy ant game assets in nine fully animated variations
  • Hi all,

    Here is a way to make the classic selection box, with marching ants.

    It is composed of:

    Sprite to mark the corners and hide the ugly overlap if the ants.

    Animated sprite of pixel panning over 3 frames center set to the absolute left on every frame.

    To get rid of it just destroy the ants and corners when the user does a mouse up, inverted in-touch, or they hit a button. (the 3 scenarios I see the most)

    [attachment=1:3swfqjmy][/attachment:3swfqjmy]

    Here is another version that is not as generic as the marching ants one.

    This was my first attempt, where I use Corner point sprites, and a background so it registers a collision to what ever you want to select.

    I also used a scaled sprite to try and mimic the classic marching ants look. unfortunately it scales and distorts the animations quite a bit.

    This is still my favorite version

    [attachment=0:3swfqjmy][/attachment:3swfqjmy]

    If you use them in your game please PM the game link to me so I can see them in action 8)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)