logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    How to import SpriteSheets and their plist?

    Scheduled Pinned Locked Moved
    Help and Support
    3
    26
    922
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • HamedH
      Hamed Admin
      last edited by

      Can you email us the images that you're using so I can re-create this and see whats going on?

      D 1 Reply Last reply Reply Quote 0
      • D
        Deeeds @Hamed
        last edited by

        @Hamed try these: https://www.dropbox.com/sh/jq2iedb8aw1gw1w/AAAoOxfVzrhc7GTVn-c0VKMha?dl=0

        1 Reply Last reply Reply Quote 0
        • D
          Deeeds @Murtaza
          last edited by

          @Murtaza I can't get this to work the way I want. Placement issues abound. And very time consuming.

          1 Reply Last reply Reply Quote 0
          • HamedH
            Hamed Admin
            last edited by Hamed

            So here are the steps I took:

            1. Import one of the images. It will have a graphic label in the assets library.

            2. Press and hold the graphic. Tap on Add animation.

            3. Since each image is 256 x 256 px, this means you can only select 8 images (Max 2048 x 2048 px).

            4. create a name for your your animation and press save.

            This creates a sprite sheet with your 8 images.

            If you wanted all 40 of the images, aim for 51px per image

            D 1 Reply Last reply Reply Quote 0
            • D
              Deeeds @Hamed
              last edited by

              @Hamed How is 256x256x8 getting you to 2048x2048?

              1 Reply Last reply Reply Quote 0
              • HamedH
                Hamed Admin
                last edited by

                Its x :256 * 8, y: 256 * 8

                The axis are independent.

                D 1 Reply Last reply Reply Quote 0
                • D
                  Deeeds @Hamed
                  last edited by

                  @Hamed So you fill the sprite sheet in a diagonal line?

                  1 Reply Last reply Reply Quote 0
                  • HamedH
                    Hamed Admin
                    last edited by

                    Oh i see the confusion. Its not actually multiplying 2048 and 2048. Your final image must be less than 2048 on the x direction and 2048 in the y direction.

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      Deeeds @Hamed
                      last edited by

                      @Hamed So you're doing this?

                      0_1513271259809_grid8x8.png

                      1 Reply Last reply Reply Quote 0
                      • HamedH
                        Hamed Admin
                        last edited by

                        Hmmm. No, but I see what you mean. I should definitely be able to fill up a 2048 by 2048 area.

                        This is the final image its producing 0_1513271460638_IMG_0008-hd.png

                        1 Reply Last reply Reply Quote 0
                        • HamedH
                          Hamed Admin
                          last edited by Hamed

                          And I can only add 7 and not 8.

                          D 1 Reply Last reply Reply Quote 0
                          • HamedH
                            Hamed Admin
                            last edited by

                            Another bug to add to the list!

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              Deeeds @Hamed
                              last edited by

                              @Hamed Cheers, if you can, aim for wrapping, like this:

                              0_1513271708563_Screen Shot 2017-12-15 at 1.14.07 AM.png

                              1 Reply Last reply Reply Quote 1
                              • D
                                Deeeds @Hamed
                                last edited by

                                @Hamed In the most basic version, just force users (me) to use square images, in square values (64x64, 128x128, 256x256, 512x512 etc) as this is a pretty common limitation. Most designers and artists for games are used to this limitation.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post