How do I properly stack sprites on top of each other?

0 favourites
  • 1 posts
From the Asset Store
Stacking tower is a game to try to make the tower higher
  • so i'm currently trying to make a game which involves stacking sprites (in this case, boxes) on top of each other by catching them, you can get the sample i made here

    onedrive.live.com/redir

    in summary, this is what i did :

    • generate the box on top of the canvas
    • when the box came in contact with the player or another box, it pins to the object it touches (in order to stick the box to the other object)
    • when the "stack" reaches 10 boxes, destroy the stacked boxes

    what i want to do :

    • how to make the box fall off when it only touches less than half of the box's width? i tried with the physics but doesn't work at all

    Yes, i know i'm not good at explaining and my english is not that good as well. So if there's something unclear just ask, I'll be glad to provide more information regarding this problem. Thanks

  • 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)