Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (fairtrader, AndrewAMD, 3run), 576 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
shadow left on the terrain after setting the entity to invisible #286383
08/25/09 05:00
08/25/09 05:00
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
I've got this annoying problem, after publishing my game, during collisions/event_impact I'm setting an entity to be invisible since it will be used again after level reset but its shadows will not be removed/hide... On SED compiler it works fine, it's just after publishing the game app this problem occurs..

Any idea why?

Last edited by seecah; 08/25/09 09:10.


Can't is not an option™
Re: shadow left on the terrain after setting the entity to invisible [Re: seecah] #286398
08/25/09 07:16
08/25/09 07:16
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
set CAST off as well...

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: shadow left on the terrain after setting the entity to invisible [Re: Helghast] #286413
08/25/09 08:28
08/25/09 08:28
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
Still not working.. Any other work around?



Can't is not an option™
Re: shadow left on the terrain after setting the entity to invisible [Re: seecah] #286424
08/25/09 09:20
08/25/09 09:20
Joined: Oct 2007
Posts: 306
Austria
A
Alan Offline
Senior Member
Alan  Offline
Senior Member
A

Joined: Oct 2007
Posts: 306
Austria
I would have a workaround, although I'm not sure what causes this error...

1) Save the entitie's position in 3 of the entitie's skills.
2) After making the entity invisible, move it far away from the player (the shadow should be gone by now)
3) When you re-load the level, move the entity back to the position you stored in the skills earlier on.

Simple, but should hopefully do the trick.

Re: shadow left on the terrain after setting the entity to invisible [Re: Alan] #286441
08/25/09 10:41
08/25/09 10:41
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
What shadow actually do you used?
I have the same problem but with decal shadow on liteC Free... But using stencil shadow that doesnt happen...

Re: shadow left on the terrain after setting the entity to invisible [Re: bart_the_13th] #286464
08/25/09 12:28
08/25/09 12:28
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
I'm using decal shadow (shadow_stencil = 0) - PRO edition..

I've got problem with using stencil shadow, it'll not produce shadows on entities when using as such.. frown

Last edited by seecah; 08/25/09 12:31.


Can't is not an option™
Re: shadow left on the terrain after setting the entity to invisible [Re: seecah] #286467
08/25/09 12:46
08/25/09 12:46
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
reset(my, CAST); does not work?
I tried that before, and here it does...

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: shadow left on the terrain after setting the entity to invisible [Re: Helghast] #286470
08/25/09 12:56
08/25/09 12:56
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
Well, if you're using decal shadow, try to set my.shadow=Null. Not like reset(my,shadow), but:
Code:
my.shadow=NULL//my shadow entity= NULL



Re: shadow left on the terrain after setting the entity to invisible [Re: bart_the_13th] #286478
08/25/09 13:30
08/25/09 13:30
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
@Helghast,
reset(my, CAST); doesn't work..

@bart_the_13th,
it works.. but is there any explanations why?

Thanks all...



Can't is not an option™
Re: shadow left on the terrain after setting the entity to invisible [Re: seecah] #286484
08/25/09 13:50
08/25/09 13:50
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Quote:
is there any explanations why?

CAST is all about stencil shadows, so if stencil shadows were your problem, Helghast's solution would've nailed it.

Decal shadows work differently. If you have a decal assigned, it'll be used, so you simply need to tell the program that you don't want it anymore the say Bart said.

I hope that covers what you were asking.

If the manual's anything to go by, you should also be able to fix it with "reset(my, SHADOW);".

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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