Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by Grant. 02/24/26 22:21
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
ZorroGPT
by TipmyPip. 02/23/26 21:52
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (TipmyPip, clint000, Grant, chsmac85, Martin_HH), 5,858 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Sprites are invisible #76812
06/06/06 08:55
06/06/06 08:55
Joined: Apr 2006
Posts: 29
cvanniekerk Offline OP
Newbie
cvanniekerk  Offline OP
Newbie

Joined: Apr 2006
Posts: 29
Hi

I just recently upgraded to v6405.
In WED when i add a sprite, it is not visible at all at runtime. I am using a black 128x128 PCX texture with a white circle in the middle to test it with. I also tried it with a TGA. Also there is no change if a set any of the sprites flags.

I'm probably just doing something wrong
Any help appreciated!

Re: Sprites are invisible [Re: cvanniekerk] #76813
06/08/06 12:47
06/08/06 12:47
Joined: Apr 2006
Posts: 29
cvanniekerk Offline OP
Newbie
cvanniekerk  Offline OP
Newbie

Joined: Apr 2006
Posts: 29
anyone?

Re: Sprites are invisible [Re: cvanniekerk] #76814
06/08/06 20:25
06/08/06 20:25
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
The only thing I can come up with is that the overlay flag is on. This changes any black pixels into a fully transparent pixel. To fix this, you have two options:

1. Turn the overlay flag off (has to be done via script - my.overlay = off; in an action).
2. Change all black areas into something that isn't black. For a 24 or 32-bit texture, the closest to black is the color 000001, the absolute darkest blue and blue is the darkest of all colors. For a 16-bit texture, use 000008 (set blue to 8 with the others at zeros).


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: Sprites are invisible [Re: ulillillia] #76815
06/12/06 10:24
06/12/06 10:24
Joined: Apr 2006
Posts: 29
cvanniekerk Offline OP
Newbie
cvanniekerk  Offline OP
Newbie

Joined: Apr 2006
Posts: 29
thanks man, but it seems its a problem with the textures i am using.

Told you it would be something stupid!!!


Moderated by  HeelX, rvL_eXile 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1