how to set exact position for sprites (should work on all devices)

  • abhishek
    Likes 0

    Problem Description

    hi,
    i want to make a drag and drop game wherein player has to drag sprites and drop them on top of their cut outs (holders).
    here is a sample screen of what i want to make:

    so my question is, what method should i use to ensure that every shadow is placed in the exact correct position as designed by the artist.
    i am using your method described in the multi-device support series where you shared photoshop files that has boxes for all different devices.
    my main gameplay design is inside the red box (960 x 640), but now how do i set the position of sprites? 

    my artist has made only 2 sets of images:
    1. shadows of the animals
    2. actual images of the animals

    and i have many such screens, so i need to have a system in place to implement this for every screen.
    so is there a system/tool using which i can save the x,y co-ods (in percentage format as you pointed out in one of your videos) and then use these values in code?
    thanks  


     


  • Sonar Systems admin
    Likes 0

    You will have to work the values out relatively yourself.

Login to reply