Sprite-sheet to animation question.(Solved)

For questions about using Classic.

Post » Mon Mar 07, 2011 2:25 pm

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)

[url:3oqnhvc0]http://dl.dropbox.com/u/22173473/Spritetoanim.cap[/url:3oqnhvc0]

Heres a pic showing the guide -



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

Thanks in advance
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Mon Mar 07, 2011 3:55 pm

Using ImageManipulator, if you set a pixel's color to rgb(255,0,255) it will become transparent.
B
79
S
24
G
54
Posts: 4,741
Reputation: 40,745

Post » Mon Mar 07, 2011 4:15 pm

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 :)
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,843
Reputation: 48,287

Post » Mon Mar 07, 2011 8:16 pm

[quote="R0J0hound":1txcbyv9]Using ImageManipulator, if you set a pixel's color to rgb(255,0,255) it will become transparent.[/quote:1txcbyv9]

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

thanks
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Mon Mar 07, 2011 8:24 pm

[quote="zenox98":x20g6ruv]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 :)[/quote:x20g6ruv]


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

cheers.
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Mon Mar 07, 2011 9:14 pm

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.
B
12
S
4
G
3
Posts: 426
Reputation: 2,458

Post » Tue Mar 08, 2011 5:58 pm

[quote="MrMiller":2tcnt45t]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.[/quote:2tcnt45t]


I can't even get this one working yet! :oops:

Have you read the post by 'Horrendous Games' ?
He has included a download link for a free for a 'Sprite sheet stitcher'

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

Do you have any example XNA sprite sheets i could look at to check the spec?
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Wed Mar 09, 2011 2:56 pm

Here is all the sample info for xna sprite sheets:

http://create.msdn.com/en-US/education/ ... rite_sheet
B
12
S
4
G
3
Posts: 426
Reputation: 2,458

Post » Thu Mar 10, 2011 12:01 am

[quote="MrMiller":2tisen3y]Here is all the sample info for xna sprite sheets:

http://create.msdn.com/en-US/education/ ... rite_sheet[/quote:2tisen3y]



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.
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Thu Mar 10, 2011 1:42 am

[quote="MrMiller":1nlointi]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.[/quote:1nlointi]
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)
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests