View Full Version: sprite corruption

lassie >>Technical support >>sprite corruption


<< Prev | Next >>

Karens- 05-31-2007
sprite corruption
I created my own character sprite, but I have noticed that if I nest movies they come out (in lassie) with other colors (greyer and less color value) and some colors even disappear..see my pic below,, is there something I can do to correct this? (frames without nesting dont appear to loose quality in lassie, they look perfect (I even tried putting in png individual files for the nesting too, doesn't work, or resized the small sprites, still they look quite different) now the sprite looks weird while, so I can't really use it like this, colors jumping when the character is talking/walking and in macromedia the nested movies look fine too, it's just when they're exported to lassie (is this is a bug perhpas?) http://s140.photobucket.com/albums/r26/Karenssss/?action=view&current=ingame.jpg Karen

fatbuoy1- 05-31-2007

just a thought... would an RGB/CMYK setting be to blame? If your sprite was created in CMYK it may render strange in another program like LASSIE... or is that a load of rubbish Greg?

Karens- 05-31-2007

no ,the other staic sprite frames (not nested) work perfectly,,they're all the same format

NigeC- 05-31-2007

i noticed something similar in 2D Assassin, it was as if the character was slightly transparent i just figured it was something I'd done wrong, the character was Poser render on a black background, as you know flash makes the black alpha channel transparent in PNG's it looked fine in flash but in Lassie there was a drop in definition

Karens- 05-31-2007

yeah, but I also converted them from photoshop to swf files before nesting them macromedia (lotsa different approaches),, it's really strange :(, and if I can't solve this I can't make the fan game in lassie, I have to go with ags (which is very akward graphics wise) *sobs*

NigeC- 05-31-2007

i'm sure Greg will have an answer, i never bothered asking to tell you the truth :oops:

fatbuoy1- 05-31-2007

have you tried tracing the png's (turning them into vector graphics)?

Karens- 05-31-2007

yeah,, I suspected I needed some kind of conversion..I'll try that, thanks fatbuouy!

fatbuoy1- 05-31-2007

the 'trace bitmap' tool is in the 'modify' menu btw, ul need to play about with the settings a bit probably to get it to look the way you want

Karens- 05-31-2007

but they still get greyish and blurry (especially the outer semi transparent edges), tracing the bitmaps (on 1 pixel min area) seem to wash out the colors too (these char. sprites are very small).. but yeah,, the problem is due to lassie converting the png files to vectors (I should think), but I wonder if there is anyway around this (but it still doesn't sound right that lassie converts only the nested frameline and not the static single png files (you'd think lassie would convert only some of the frames to vector,,cause other frames (same format) are fine!?,, I must be doing something wrong or this has to be a bug or something,, I'll do some more research

Matt Kempke- 06-01-2007

Hi there. What means "nesting"? using it in lassie? When you compare the pictures you can see that the pixels are quite identical just the color palette is different ... so it's not a problem of blurring I think. It doesn't seem to be transparent either. The problem is about programs that interprete the color information in different ways, I think. And from what I've learned while working with Lassie (shockwave version) I can tell you that Lassie doesn't do anything with your objects that you import ... My guess would be that the export settings of Flash change your file ... Try importing the gif/png that you use in flash directly into lassie just to see if the color changes. Then look at an exported swf from flash using that file individually. And then look at it after importing it into Lassie. If it only looks different in Lassie then you might be right about it being a problem of the best engine in the world :) ... but then again ... I'd bet the problem is not Lassie. If you find a way to trace it by using just these pixels and colors and keeping them you shouldn't get any problems at all. And I bet there's a way to do that ... somehow :)

Karens- 06-01-2007

hey Matt,, yeah,, there is something strange going on..because some of the frames look fine and some do not--(nesting is just inserting movieclips into frames in flash,, and it's weird because all frames that have movieclips are washed out and grey while most single frames are not (maybe it's just the color thing that makes it look blurry,,but if I trace (the bitmap) in flash crisp png files instantly goes a bit blurry (color wise) and you're right!, (I just did a -*test*-('")) it's macromedia flash that causes the problem (if I scale up the sprite in flash the color still change (like the eyes),, I'm not an expert in flash but I tried alot of export configs (with no result),, maybe I should try adobe flash instead, I heard it's easier to use too,, (I've never had this problem exporting swf's before in macromedia, ,but then I never exported these tiny (very pixel sensitivte) sprites or characters before (one way around it would probably be to scale the sprite up in photoshop -or the original animation app good to know the problem isn't inside lassie,, phew,,yay :) thanks

NigeC- 06-01-2007

in 2DA the cartoon strip part, images that where rescaled down did become fuzzy in flash, ok you do get a bit of fuzzyness anyway, but once in Flash it doubled it i tend to do characters bigger than they need to be.. but i guess if your going classic, smooth edges is going to look all wrong

Karens- 06-01-2007

ok,, I solved it,, intead of exporting the movie as files(png) or swf into flash I converted the files into layers in photoshop in beforehand,, then openend them all (in a psd file) in flash,, there you could choose to use 'lossy' or lossless (for import options),, that solved it, no more weird washed out colors and blurry effects also, a much easier and quicker (more predictable way) of importing graphics (and sprites) from animation apps (photoshop especially) into flash with no compression loss (to image quality) ---> is going into image ready, export it there to an swf using high compressed jpg format (not png) and since photoshop compresses the jpg MUCH better than flash you'll get the same image result when you import that file to flash and then export it again (the jpg quality now is the same as the photoshop jpg quality) - because (like I did) import graphics into flash using other formats than jpg flash will (always-it's the default) convert it to a jpg swf file (which it does horribly), and you'll have the best of both 'worlds' :) or,,if you happen to import png's in the first place..you can go to the library (flash) double click each image and select 'png/gif lossless' in the compression menu and flash will export it that way,,pretty cool! a perfect (identical) swf flash result (down to the smallest pixel) thanks, Karen

bigmac- 06-03-2007

Sorry I don't get to this one sooner. Yes, you need to set those lossy settings inside Flash. Incidentally, for future reference to those who may experience graphics-specific issues: they are NOT Lassie problems. Lassie has no proprietary graphics engine. It is totally dependent upon the Flash renderer. When graphics go wonkey, don't waste your time looking for magic settings within Lassie that will fix the problem. Look in Flash.

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.