1 registered members (TipmyPip),
18,449
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: want a sprite to look solid show blacks
[Re: Delirium]
#81798
07/16/06 02:08
07/16/06 02:08
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
Add this in your sprite's action:
my.overlay = off; // gets rid of transparency by black pixels
Either that, or change all areas exactly black to the darkest blue possible, 0, 0, 1, the closest possible to black without actually being black (0, 0, 8 for a 16-bit texture).
"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: want a sprite to look solid
[Re: ulillillia]
#81799
07/16/06 12:39
07/16/06 12:39
|
Joined: Feb 2006
Posts: 124 Dallas,TX
Delirium
OP
Member
|
OP
Member
Joined: Feb 2006
Posts: 124
Dallas,TX
|
Thanks. I didn't write an action for the sprite, I set the overlay off in wed. But I still seem to have show through. I think I'm going to have to lighten the blacks.
I have another question, The big sprite outside turns to face the player, and at a certain angle, it pokes through the wall and shows inside the room. How do I keep it from rotating?
Learning to write lite-C -- A8 commercial
|
|
|
Re: want a sprite to look solid
[Re: ulillillia]
#81801
07/17/06 01:41
07/17/06 01:41
|
Joined: Feb 2006
Posts: 124 Dallas,TX
Delirium
OP
Member
|
OP
Member
Joined: Feb 2006
Posts: 124
Dallas,TX
|
Thanks. I didn't know where to look.
Learning to write lite-C -- A8 commercial
|
|
|
Re: want a sprite to look solid
[Re: Delirium]
#81802
07/17/06 04:22
07/17/06 04:22
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
I just searched for "sprite" and looked at the results. I do find having these flags on by default for sprites annoying. All it takes is just going into WED and placing checks as needed when adding sprites that way.
"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
|
|
|
|