Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (SBGuy, dr_panther, Ayumi, Quad, AndrewAMD), 920 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Lighting on ENTITIES #382719
09/11/11 23:00
09/11/11 23:00
Joined: Mar 2009
Posts: 186
V
Valdsator Offline OP
Member
Valdsator  Offline OP
Member
V

Joined: Mar 2009
Posts: 186
Is it possible for an ENTITY* object to have lighting? By ENTITY* object I mean:
Code:
ENTITY* name
{
stuff
}


I'd like to use this to display a gun in front of the screen. Thanks!

Re: Lighting on ENTITIES [Re: Valdsator] #382724
09/12/11 04:45
09/12/11 04:45
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
sure, just set it's lightrange

Re: Lighting on ENTITIES [Re: bart_the_13th] #382787
09/12/11 18:53
09/12/11 18:53
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Emr? Is it possible to have lightning on view entities? confused


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Lighting on ENTITIES [Re: 3run] #382799
09/12/11 21:02
09/12/11 21:02
Joined: Mar 2009
Posts: 186
V
Valdsator Offline OP
Member
Valdsator  Offline OP
Member
V

Joined: Mar 2009
Posts: 186
As in, is it possible for a view entity to be affected by nearby lighting/the sun, rather than being a fullbright entity?

Re: Lighting on ENTITIES [Re: Valdsator] #382801
09/12/11 21:08
09/12/11 21:08
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
No, view entities are only available in camera space, not in world space. You can have view entities without a level, too (see manual).
As a result, they are not affected by any light source in your level. Have a look at the ZNEAR flag, instead.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Lighting on ENTITIES [Re: Superku] #382806
09/12/11 22:22
09/12/11 22:22
Joined: Mar 2009
Posts: 186
V
Valdsator Offline OP
Member
Valdsator  Offline OP
Member
V

Joined: Mar 2009
Posts: 186
Alright, thanks. The only reason I wanted to use view entities is because I could move the gun around much easier if it was just stuck to the screen.

Re: Lighting on ENTITIES [Re: Valdsator] #382820
09/13/11 06:06
09/13/11 06:06
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
As far as I know, view entities are affected by sun light only.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung

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