Crosshair sprites with inventory items not working properly [SOLVED]

Started by Shockbolt, Sat 04/04/2009 18:33:06

Previous topic - Next topic

Shockbolt

I've made a sprite to be used as a crosshair sprite with my inventory items.

Trouble is that when I apply this sprite in the game settings(having set the option and
selected the .png file for the crosshair), the crosshair sprite area(the crosshair sprite) is subtracted
from the inventory item sprite image, leaving an empty space where it(the crosshair sprite) should've been.
Not a single pixel from the crosshair is seen.

What's causing this problem?

Scummbuddy

Are importing the sprite with the transparent color already selected within ags editor? Or is part of the crosshair in one of the corners of the import box?

Another thing to try, save the crosshair image as a gif allowing for transparencies and import that image, while selecting the appropriate color as the transparent color.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Shockbolt

I went back to the PSD file and saved the crosshair sprite as a transparent GIF instead.
When I imported it, using the new Gif sprite instead of the PNG, it worked as it should.

Thanks!

SMF spam blocked by CleanTalk