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

    Question about Spritesheets

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    184
    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.
    • Ultra RobotU
      Ultra Robot
      last edited by Ultra Robot

      Greetings. I have recently downloaded a file with a ton of graphics ready for use. However, they are all in a spritesheet, and the background is not transparent. Here's what it looks like:
      0_1504292785481_spritesheet.png

      My main question is: how could I extract all of these sprites from the spritesheet while also making them transparent, given the background is non-transparent? Once I figure that out, I also have to figure out how to enlarge them so they don't look blurry when I have to enlarge them with hyperPad's object editor. Any ideas?

      1 Reply Last reply Reply Quote 0
      • MurtazaM
        Murtaza Admin
        last edited by

        I wouldn't use that spritesheet. First of all, I don't think it's the real sprite sheet. I think it is just an example of what's included in the art pack. That's why the background is not transparent.

        Typically with sprite sheets there should be a accompanying meta data file that tell the game engine the location of each tile on the sheet. Since I'm guessing this is just a generic image, it wouldn't include that metadata file. And more importantly, it most likely wouldn't be a spritesheet compatible with hyperPad any ways. hyperPad uses sprite sheets and metadata plist files compatible with Cocos2D. So anything for cocos2D should work with hyperPad.

        The good news is, you can find most, if not all of those tiles in their original format on the original creators web site: https://kenney.nl/assets
        We use Kenney's stuff for hyperPad because it's awesome and versatile :).

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