Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by EvanTJ. 11/28/26 18:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (EvanTJ, AndrewAMD, Quad), 5,237 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 1
Page 3 of 4 1 2 3 4
Re: Realistic fog in LiteC - Any sugestions? [Re: mikaldinho] #311438
02/19/10 19:26
02/19/10 19:26
Joined: May 2009
Posts: 5,378
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,378
Caucasus
It's awsome man! laugh


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Realistic fog in LiteC - Any sugestions? [Re: 3run] #311568
02/20/10 17:06
02/20/10 17:06
Joined: May 2009
Posts: 5,378
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,378
Caucasus
How to incrise number of sprites? And how make them appear right infront of the player? So it will looks, like player is walking in fog


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Realistic fog in LiteC - Any sugestions? [Re: 3run] #311667
02/21/10 11:04
02/21/10 11:04
Joined: Feb 2010
Posts: 457
Norfolk,England
mikaldinho Offline
Senior Member
mikaldinho  Offline
Senior Member

Joined: Feb 2010
Posts: 457
Norfolk,England
totally awesome.

Re: Realistic fog in LiteC - Any sugestions? [Re: 3run] #311710
02/21/10 12:54
02/21/10 12:54
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
Originally Posted By: 3run
How to incrise number of sprites? And how make them appear right infront of the player? So it will looks, like player is walking in fog


there is a define that says:
Code:
#define max_fog 250



change the 250 to be more sprites if needed... but, as I said, it will decrease the FPS i'm affraid.
(you can also try scaling the sprites up instead, and set the var cam_fog to be higher).

If you want the effect around your player instead, you'll have to find the function autofog.
And in that, change all the camera to player commands.

hope that helps you.

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: Realistic fog in LiteC - Any sugestions? [Re: Helghast] #311712
02/21/10 12:55
02/21/10 12:55
Joined: Feb 2010
Posts: 457
Norfolk,England
mikaldinho Offline
Senior Member
mikaldinho  Offline
Senior Member

Joined: Feb 2010
Posts: 457
Norfolk,England
could it look messy if the number of was about 970?

Re: Realistic fog in LiteC - Any sugestions? [Re: mikaldinho] #311715
02/21/10 13:00
02/21/10 13:00
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
Originally Posted By: mikaldinho
could it look messy if the number of was about 970?


Depends totally on the size of your level, and the scale of the sprite...
Often it will look better when you make the sprite a bit bigger, and use less entity's (also saves FPS).
in the autofog function, there's a line that writes:

Code:
vec_scale(my.scale_x, 0.8);



this changes the scale of the sprite. it's now being downscaled to 80% it's size, but you can fill in any number you want there.

try playing with those settings laugh

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: Realistic fog in LiteC - Any sugestions? [Re: Helghast] #311716
02/21/10 13:01
02/21/10 13:01
Joined: Feb 2010
Posts: 457
Norfolk,England
mikaldinho Offline
Senior Member
mikaldinho  Offline
Senior Member

Joined: Feb 2010
Posts: 457
Norfolk,England
thanks alot helghast. this will help me out with my game.

Re: Realistic fog in LiteC - Any sugestions? [Re: mikaldinho] #311721
02/21/10 13:11
02/21/10 13:11
Joined: May 2009
Posts: 5,378
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,378
Caucasus
Thank you again laugh One more question, is there any way to make sprites detect with level blocks? So if there is for example room and outdoor, if we enter the room, there will be no fog at all.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Realistic fog in LiteC - Any sugestions? [Re: 3run] #311724
02/21/10 13:14
02/21/10 13:14
Joined: Feb 2010
Posts: 457
Norfolk,England
mikaldinho Offline
Senior Member
mikaldinho  Offline
Senior Member

Joined: Feb 2010
Posts: 457
Norfolk,England
i am sure there is something like that but about rain in one of the aum magazines. you could change rain into fog.

Re: Realistic fog in LiteC - Any sugestions? [Re: mikaldinho] #311726
02/21/10 13:18
02/21/10 13:18
Joined: May 2009
Posts: 5,378
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,378
Caucasus
There were particles... I know how to make collusion for them...


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

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

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