Sprite-sheet to animation question.(Solved)

This forum is currently in read-only mode.
From the Asset Store
- This pack is suitable for shooting games, running games, platform games, and side-scrolling...
  • ive been trying to build app for converting sprite-sheets to animations, im having problems

    with the 'transparency' part. (how can i make the white outer part transparent ?).

    I have searched the forums but had no luck.

    This is the cap - (its sort of 3/4 done)

    http://dl.dropbox.com/u/22173473/Spritetoanim.cap

    Heres a pic showing the guide -

    <img src="http://dl.dropbox.com/u/22173473/spritesheet.png">

    You might notice frame exporting at the end isn't working yet. Thats next.

    Thanks in advance

  • Using ImageManipulator, if you set a pixel's color to rgb(255,0,255) it will become transparent.

  • Has good possibilities. Suggestions:

    Only allow mouse to move in power of 2 increments(selectable?) e.g. 8, 16 or 32 pixels at a time, making selecting a frame easier; clamp mouse to within window boundary; sprite sheet selectable.

    That's a few of the things I'm hoping for in C2 BTW

  • Using ImageManipulator, if you set a pixel's color to rgb(255,0,255) it will become transparent.

    I will give it a try and and get back to you.

    thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Has good possibilities. Suggestions:

    Only allow mouse to move in power of 2 increments(selectable?) e.g. 8, 16 or 32 pixels at a time, making selecting a frame easier; clamp mouse to within window boundary; sprite sheet selectable.

    That's a few of the things I'm hoping for in C2 BTW

    Thanks for the feedback/ideas, they all would be usefull in this type of app, will keep you updated.

    cheers.

  • Chris,

    Is there any way you could make this app go both ways? For example, making it possible to turn animations into spritesheets that are compatible with xna? Gamemaker 8 exports spritesheets, but I'm not sure about its compatibility with C# and xna. I've just started using xna and this would be so helpful, and I know a lot of xna users that are REALLY wanting this.

  • Chris,

    Is there any way you could make this app go both ways? For example, making it possible to turn animations into spritesheets that are compatible with xna? Gamemaker 8 exports spritesheets, but I'm not sure about its compatibility with C# and xna. I've just started using xna and this would be so helpful, and I know a lot of xna users that are REALLY wanting this.

    I can't even get this one working yet!

    Have you read the post by 'Horrendous Games' ?

    He has included a download link for a free for a 'Sprite sheet stitcher'

    http://www.scirra.com/forum/viewtopic.php?f=23&t=8271&p=63297&hilit=sprite+stitcher#p63297

    Do you have any example XNA sprite sheets i could look at to check the spec?

  • Here is all the sample info for xna sprite sheets:

    http://create.msdn.com/en-US/education/ ... rite_sheet

  • Here is all the sample info for xna sprite sheets:

    http://create.msdn.com/en-US/education/ ... rite_sheet

    That upload does'nt appear to contain a sprite sheet? unless its the image with the green circles on it. I will investigate further and get back to you.

  • Chris,

    Is there any way you could make this app go both ways? For example, making it possible to turn animations into spritesheets that are compatible with xna? Gamemaker 8 exports spritesheets, but I'm not sure about its compatibility with C# and xna. I've just started using xna and this would be so helpful, and I know a lot of xna users that are REALLY wanting this.

    I'm not working with XNA, but isn't there already some tools?

    For example, Sprite Sheet Packer comes with an XNA exporter "which exports an XML file in XNA Content format" (quote from the description of the tool)

  • i managed to work out a way end up with transparent images. You have to start with a transparent sprite sheet! you can the edit it as much as you want and save out your frames

    http://dl.dropbox.com/u/22173473/sprite%20transparency.rar

    Heres a new cap for anyone who's interested, This isnt the finished version of the program but you can create a basic 8 frame set of transparent animations and the program automatically creates a sprite with the frames included and platform behaviour a the top of the screen.make sure you create the frames 1 to 8 first before using the other buttons.

  • Actual working example, save now working. (includes sprite-sheets)

    http://dl.dropbox.com/u/22173473/Sprite%20splitter.rar

  • > Chris,

    >

    > Is there any way you could make this app go both ways? For example, making it possible to turn animations into spritesheets that are compatible with xna? Gamemaker 8 exports spritesheets, but I'm not sure about its compatibility with C# and xna. I've just started using xna and this would be so helpful, and I know a lot of xna users that are REALLY wanting this.

    >

    I'm not working with XNA, but isn't there already some tools?

    For example, Sprite Sheet Packer comes with an XNA exporter "which exports an XML file in XNA Content format" (quote from the description of the tool)

    Thanks, tulamide. I wasn't even aware of that program. I'd used some others in the past and they never worked well so I guess I just gave up hope and quit looking for any more.

  • Actual working example, save now working. (includes sprite-sheets)

    http://dl.dropbox.com/u/22173473/Sprite%20splitter.rar

    Nice work!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)