Ultimate Amiga
Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Professional Forum => Topic started by: Brick Nash on June 02, 2016, 11:45:15 AM
-
Hey folks, sorry I know this is more a technical question relating to the software but I wonder if someone could tell me if I'm making a mistake.
I'm using the object ed. to grab and import some animation images and so far so good but I'm having an issue with transparency. My images have a background colour which is from the palette but isn't used anywhere in my sprite but I can't seem to get rid of it.
It says in the manual that in Object Ed. Colour 0 of the palette is the transparency colour but if I click on the Opaque button then the colour selected by the Right mouse button will become the colour used in colour 0. I've tried it and tested it with the cut/copy tool and by saving and using it in the program but it doesn't seem to work at all and I'm still left with this background colour and no way of removing it unless I change around my palette colours which I don't want to do as then I'd have to re-colour every one of the images. I can't set a universal transparency colour because I have other images that I plan to import which use the rest of the colours from the palette that this particular image doesn't use.
I tried a few combinations and even set all three mouse buttons to the background colour and set Opaque to 'On' but it's still not transparent.
I think I may be using it wrong but it looks like it requires me to set one colour aside out of 16 to be purely transparent.
Thanks!
-
I would suggest you use colour 0 as transparent in all images. This is usually set to black and if you need black to show up on other images then you'll need to have two blacks in your palette.
Deciding your universal palette is an important decision you should make before drawing any graphics.
-
I've actually discovered that if I use a colour from the palette which is used in background images only that doesn't appear in the bob/sprite images I can make it transparent but it still shows up in the background.
Bit of a lifesaver as I'm using some graphics from an old game for tests that seemed to use all 16 colours within the game itself!
The downside is that it makes the area outside my screen the same colour as the transparent colour and I've got that set to bright green at the moment because it doesn't appear in any of the sprites.
But hey it's a workaround! :)
-
Ah cool.
One good thing to learn if haven't already is using DPaint to do your graphics on and in particular, learn the Stencil commands. You can use them to create masks in your images so you can recolour very quickly if needed.
-
Excellent, I'll keep that in mind. I use PPaint because it's PNG compatible but it's just seems like Dpaint in disguise!