Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
want a sprite to look solid show blacks #81797
07/16/06 01:50
07/16/06 01:50
Joined: Feb 2006
Posts: 124
Dallas,TX
Delirium Offline OP
Member
Delirium  Offline OP
Member

Joined: Feb 2006
Posts: 124
Dallas,TX
I'm using a big sprite outside a window as a backdrop. Its to provide scenery, the illusion of a world outside the narrow window. It works, except the sprite is dark as if unlit, and the dark parts are transparent. I tried setting it to bright. How do I set it so it isn't transparent? Can I do that in WED? What should I set?

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 Offline
Senior Expert
ulillillia  Offline
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 Offline OP
Member
Delirium  Offline 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: Delirium] #81800
07/16/06 16:23
07/16/06 16:23
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
Look up my.oriented, my.facing, and my.decal in the manual for this.


"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] #81801
07/17/06 01:41
07/17/06 01:41
Joined: Feb 2006
Posts: 124
Dallas,TX
Delirium Offline OP
Member
Delirium  Offline 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 Offline
Senior Expert
ulillillia  Offline
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

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