Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: MrColossal on Sat 28/04/2007 05:27:43

Title: Suggestion? 256 Colour Mode and pasting over sprites in the editor
Post by: MrColossal on Sat 28/04/2007 05:27:43
256 Colour mode! I still use it! I think I'm the only one!

Anyway I'm curious if it would be possible at all to allow pasting over sprites from clipboard in the sprite manager like you can in the other modes. I usually import all my animations using FLCs and sometimes my animations get up into 13 or 14 frames, if I have to change something in say a death animation I'd have to import the animation again, replace the view slots with the new animation and then delete the old sprites. I'd love to just be able to copy and paste the new art right on top of the old sprites.

Or, as a random thought, you import a FLC and it gives you all the frames as individual sprites but there is also a sprite that represents the entire FLC... If that makes sense. So if I import over that it updates all the sprites associated with the representation... Or, ya know, just clipboard paste would be great.

I figured since you were updating the editor anyway you might take pity on a poor 8bit robot and look into it.

Thanks!

Eric
Title: Re: Suggestion? 256 Colour Mode and pasting over sprites in the editor
Post by: Shane 'ProgZmax' Stevens on Sat 28/04/2007 05:48:04
It would be nice to import animations as animations and not as separate frames.  This would make doing what you want easy, and I often have the same problem with tweaking a frame in a gif and then either saving the edited frame separately or deleting and reimporting the whole thing again.  This would certainly save time!
Title: Re: Suggestion? 256 Colour Mode and pasting over sprites in the editor
Post by: Gilbert on Sat 28/04/2007 06:27:40
Quote from: MrColossal on Sat 28/04/2007 05:27:43
256 Colour mode! I still use it! I think I'm the only one!

Why would you think like that?! You must have forgotten someone!

A problem is that, I think window$ clipboard could not handle 8-bit images properly, so pasting over 8-bit sprite might never work (especially when the sprite was copied from some other programmes, like stupid PS).

The FLC import over ONE sprite idea is interesting though, but in that case I think it should also apply to animated GIF's if implemented, and last but not least, should apply to GENERAL sprites (16/32 bits), maybe CJ can consider adding MNG import suport (tough it's not very popular...).
Title: Re: Suggestion? 256 Colour Mode and pasting over sprites in the editor
Post by: zabnat on Sun 29/04/2007 00:13:46
I'm not sure if this is related, but when I was tweaking my sprite animations I felt that a "reimport selected sprites" would be a nice feature. When you import a sprite or multiple sprites the filename would be saved and could be used to import the same file again easily.
Title: Re: Suggestion? 256 Colour Mode and pasting over sprites in the editor
Post by: Pumaman on Mon 30/04/2007 20:00:47
As far as I've been able to find out, the windows clipboard doesn't support 8-bit images as Gilbert says -- which means that copy & pasting one would effectively upscale it to 32-bit when copied and then re-palettize it to 8-bit when pasted, and you'd lose your palette as a result.
Title: Re: Suggestion? 256 Colour Mode and pasting over sprites in the editor
Post by: MrColossal on Mon 30/04/2007 20:41:25
Ah poops...

What do you think of the idea of a sprite that represents the entire FLC or GIF?
Title: Re: Suggestion? 256 Colour Mode and pasting over sprites in the editor
Post by: Shane 'ProgZmax' Stevens on Mon 30/04/2007 20:54:34
Importing the images with their original filenames instead of incremented numbers would also allow you to easily overwrite them when importing a new image.  Like ags could check to see if an image or selection (in the case of animated gifs, etc) begin with the same prefix and ask if you want to overwrite or create a new image.  I'd rather have descriptive names than numbers anyway because I tend to have to check and recheck the sprite manager for the proper image number when I want to set the Graphic variable.
Title: Re: Suggestion? 256 Colour Mode and pasting over sprites in the editor
Post by: Pumaman on Tue 01/05/2007 18:43:17
Yes, there's an outstanding feature request for AGS to remember the filename of where you imported sprites from to give you an easy "update this sprite" option, it's probably the best way to handle this.