Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Dark Clouds: Always night Cycle

Author
Message
DigitalFury
15
Years of Service
User Offline
Joined: 30th Jul 2010
Location: United States
Posted: 24th May 2012 04:06
I've been playing around with dark clouds for a while now. I can't seem to figure out how to get it to always be night. It cycles though day and night like it is suppose to but I can't seem to change the time without it refreshing dark clouds freezing the game.

Anyone have any clue how to do this?

Thanks,

DigitalFury

Get Out Alive (Zombie WIP): My latest zombie game I am working on.
Kezzla
17
Years of Service
User Offline
Joined: 21st Aug 2008
Location: Where beer does flow and men chunder
Posted: 24th May 2012 08:49
maybe try making the time really slow and balance it out by making the wind really fast.

that could give you much longer before you have to set the time back to the start of night.

as for permanent night, i'm not sure either.
would be a good feature to add though simul are impossible to contact.



Sometimes I like to use words out of contents
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 24th May 2012 14:28
Simul I believe work on one project at a time and as DC is no longer in their site navigation although the pages can be found via google... It appears as they have discontinued DC and left it partially broken which is a shame though their new product TS looks amazing... I highly doubt it will be coming this direction anytime soon...

As mentioned above try to set your devide time by a massive number to slow it right down... And hope that the player does not play for too long lol...

But I am re-experimenting with DC today I might find a solution...

DigitalFury
15
Years of Service
User Offline
Joined: 30th Jul 2010
Location: United States
Posted: 24th May 2012 22:28 Edited at: 24th May 2012 22:37
I tired the really small number and it causes the clouds to stay still. I guess that is the best I can do so I'll just keep the clouds static.

I was hoping they would add stars too but I guess they aren't working on it anymore.

DigitalFury

Get Out Alive (Zombie WIP): My latest zombie game I am working on.
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 24th May 2012 22:39 Edited at: 24th May 2012 22:43
I just set the update time to 0.0 and it stayed static... and remained updated so that should do the trick or a very low 0.000000001..... or something if you want them to change...

EDIT

Typo r in bold

EDIT

In other words

Quote: " dc update 0.0"


inside your loop

DigitalFury
15
Years of Service
User Offline
Joined: 30th Jul 2010
Location: United States
Posted: 24th May 2012 23:28
Thanks I'll just have to make it static.

DigitalFury

Get Out Alive (Zombie WIP): My latest zombie game I am working on.
zeroSlave
17
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 24th May 2012 23:30
I haven't messed with Dark Clouds, but I noticed these commands for it in the sample code . Don't know for sure what they do, but it could be worth looking into?

rem set sky brightness to 1
DC SET BRIGHTNESS 1

rem init with texture number 1, and number of keyframes per day
DS INIT 1,10

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.
DigitalFury
15
Years of Service
User Offline
Joined: 30th Jul 2010
Location: United States
Posted: 25th May 2012 00:08
@zeroSlave - I played around with the brightness and it doesn't seem to do anything. I also turned auto brightness of and it doesn't seem to make much of a difference. The DC Init I can't do much with.

Thanks,

DigitalFury

Get Out Alive (Zombie WIP): My latest zombie game I am working on.
Kezzla
17
Years of Service
User Offline
Joined: 21st Aug 2008
Location: Where beer does flow and men chunder
Posted: 25th May 2012 01:04
if you want stars, I just make an inverted sphere and texture it with the stars and turned ghost mode on. anchor it to the player and rotate very slowely. it looks pretty good and the white of the clouds usually hides the stars in front of it.

Sometimes I like to use words out of contents
DigitalFury
15
Years of Service
User Offline
Joined: 30th Jul 2010
Location: United States
Posted: 25th May 2012 01:11
@Kezzla - Thanks, I'll try that!

DigitalFury

Get Out Alive (Zombie WIP): My latest zombie game I am working on.
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 25th May 2012 01:22
There is a built in effect umm cirrus clouds?

I just played around with the various installs of DC that I have and I found my clouds do not remain turned off once I go over them ... One dll keeps them displayed while above and one turns them off but back on when I am below... One allows some extra stuff while the other removed some features...

DigitalFury
15
Years of Service
User Offline
Joined: 30th Jul 2010
Location: United States
Posted: 25th May 2012 02:00
@MrValentine - What would cirrus clouds do for me? Does it pertain to the night problem?

DigitalFury

Get Out Alive (Zombie WIP): My latest zombie game I am working on.
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 25th May 2012 02:19
oh well, it can be used to place an image above the clouds you should check the example for it you could use that to create stars... would not need a sphere that way... I can screenshot it if you like...

DigitalFury
15
Years of Service
User Offline
Joined: 30th Jul 2010
Location: United States
Posted: 25th May 2012 02:25
@MrValentine - Sure I would love to see it in action!

If you could post the code it would be a bonus

DigitalFury

Get Out Alive (Zombie WIP): My latest zombie game I am working on.
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 25th May 2012 02:46 Edited at: 25th May 2012 02:50
this code works with this installation version

DarkCLOUDS_150610.exe

its example should also contain the required media

as well as this code but I will add it here anyway...



and a beauty shot



I am certain you could work out how to use the cirrus.jpg as a stars layout

hope this helps...

EDIT

I had a go at setting the time to 7 [19] pm and it dissapeared... so experimenting time I guess...

the above image was set at 6am and also notice some of the code includes my adjustments like height as 8 instead of 3 and speed movement at 100 as i got bored of waiting to go above the clouds lol

DigitalFury
15
Years of Service
User Offline
Joined: 30th Jul 2010
Location: United States
Posted: 25th May 2012 02:49
@MrValentine - Nice. I'll try it thanks.

DigitalFury

Get Out Alive (Zombie WIP): My latest zombie game I am working on.
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 25th May 2012 02:50
aaaaa updated post above

Daniel wright 2311
User Banned
Posted: 25th May 2012 02:53
If you want it to be dark all the time and you want the counds to be static,then why use dark clouds? It seems you are using it when in turn you dont need to at all.

my signature keeps being erased by a mod So this is my new signature.
DigitalFury
15
Years of Service
User Offline
Joined: 30th Jul 2010
Location: United States
Posted: 25th May 2012 02:58
@Daniel wright 2311 - I still need the realistic clouds though.

DigitalFury

Get Out Alive (Zombie WIP): My latest zombie game I am working on.
Daniel wright 2311
User Banned
Posted: 25th May 2012 03:08
Quote: "I still need the realistic clouds though."


You still can with out the frame rate hogger, all you need to do is create 20 or so spears,texture them with cloud textures,ghost object them or make them transparent,then rotate there texutres and move them slowly over you.


my signature keeps being erased by a mod So this is my new signature.
DigitalFury
15
Years of Service
User Offline
Joined: 30th Jul 2010
Location: United States
Posted: 25th May 2012 03:20
@Daniel wright 2311 - True. I guess. If I want to save on frame rate i'll use another day-night system.

DigitalFury

Get Out Alive (Zombie WIP): My latest zombie game I am working on.
Daniel wright 2311
User Banned
Posted: 25th May 2012 03:28
Im just trying to help my friend,I think if you used diffrent textures for sprites on planes then moved them over head this to would look more real.

my signature keeps being erased by a mod So this is my new signature.
DigitalFury
15
Years of Service
User Offline
Joined: 30th Jul 2010
Location: United States
Posted: 25th May 2012 03:30
@Daniel wright 2311 - I don't know about more real but it would work

Thanks,

DigitalFury

Get Out Alive (Zombie WIP): My latest zombie game I am working on.
Daniel wright 2311
User Banned
Posted: 25th May 2012 03:48
I ment more real then spears is all.

my signature keeps being erased by a mod So this is my new signature.
DigitalFury
15
Years of Service
User Offline
Joined: 30th Jul 2010
Location: United States
Posted: 25th May 2012 03:51
@Daniel wright 2311 - Ok. I might try the sprite approach if I need the FPS.

DigitalFury

Get Out Alive (Zombie WIP): My latest zombie game I am working on.

Login to post a reply

Server time is: 2026-07-22 00:35:50
Your offset time is: 2026-07-22 00:35:50