Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Akow, AndrewAMD, degenerate_762), 1,423 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Print Thread
Rate Thread
Flashlight code? #400241
04/27/12 12:49
04/27/12 12:49
Joined: Apr 2012
Posts: 62
wrekWIRED Offline OP
Junior Member
wrekWIRED  Offline OP
Junior Member

Joined: Apr 2012
Posts: 62
How do i make a flashlight in my game. My level has no light or only pitch black to make it more scary and character only have candle or flashlight. I search the AUM for the flashlight code but light is only cated on a targeted object like i have a chair in front of my but i'm pointing on a wall. light is made in the wall and chai's shadow is casted from the light source. Anyone can help me?

Re: Flashlight code? [Re: wrekWIRED] #400242
04/27/12 12:54
04/27/12 12:54

C
chris_oat
Unregistered
chris_oat
Unregistered
C



check out AUM 71, there you will find a good Flashlight (Shader).

Re: Flashlight code? [Re: ] #400276
04/28/12 01:21
04/28/12 01:21
Joined: Apr 2012
Posts: 62
wrekWIRED Offline OP
Junior Member
wrekWIRED  Offline OP
Junior Member

Joined: Apr 2012
Posts: 62
I Checked the demo out but doesn't work for me. I have to recomple the level to be able to run it with my A7 but when i run the script all i see is pitch black. Then check other AUM contents. I tried the spotlight code but it's kinda funny that there is no spotlight cone created. It just created a normal light. Any idea?

Last edited by wrekWIRED; 04/28/12 09:23.
Re: Flashlight code? [Re: wrekWIRED] #400315
04/28/12 17:10
04/28/12 17:10
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
shaders need commercial version


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Flashlight code? [Re: wrekWIRED] #400323
04/28/12 20:12
04/28/12 20:12

C
chris_oat
Unregistered
chris_oat
Unregistered
C



Originally Posted By: wrekWIRED
...but doesn't work for me....


ahhhh ---> 7.05 pro <--- erase your illegal copy of GS and get either the free one (no shaders) or the commercial version (shaders)

Re: Flashlight code? [Re: ] #400347
04/29/12 08:14
04/29/12 08:14
Joined: Apr 2012
Posts: 62
wrekWIRED Offline OP
Junior Member
wrekWIRED  Offline OP
Junior Member

Joined: Apr 2012
Posts: 62
Uhhmm. I'm using the latest A7.866. You're not the first person to doubt the copy i'm using. I didn't notice the version in my profile.
I know all the disadvantages of the leak version.

My graphic card doesn't support shaders thats why the AUM71 contrib doesn't work for me.

I tried the sample from AUM36 about physics sample but use spotlight.
http://www.coniserver.net/coni_users/web...htsub=spotlight

This is the code that doesn't create code light for me. Instead of making a cone shape light it just created a light in a radius.

A8 has a sample Spotlight without shader but not don't think it works with A7.

Last edited by wrekWIRED; 04/30/12 09:12.
Re: Flashlight code? [Re: wrekWIRED] #400348
04/29/12 08:26
04/29/12 08:26
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
With A8 you have a "spot.c" example under "samples" folder. May be you better think about using latest free A8 version.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Flashlight code? [Re: 3run] #400350
04/29/12 09:25
04/29/12 09:25
Joined: Apr 2012
Posts: 62
wrekWIRED Offline OP
Junior Member
wrekWIRED  Offline OP
Junior Member

Joined: Apr 2012
Posts: 62
I'm using A7. I tried A8 already but i'm having problem with rendering.

Last edited by wrekWIRED; 04/29/12 09:26.
Re: Flashlight code? [Re: wrekWIRED] #400351
04/29/12 09:38
04/29/12 09:38
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
good luck then


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

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