manuel777
Jul 23 2008, 08:37 PM
Well... the title says it, a day/night engine, with evening, quite easy to midify
> Gm6 version <
DOWNLOAD NEW VERSIONdoesnt make the older version obsolete!, its just a different way to achieve the same day/night effect, use the one that fits your needs
For a better exxplanation of the new code, go
HERE
ATOGAMES
Jul 24 2008, 12:17 AM
nice

i wish id finished mine sooner cause now everyone would think im copycat y'know
pepolshet
Jul 24 2008, 03:39 AM
Awesome!
Credit?
afsnyder
Jul 24 2008, 04:43 AM
Hopefully this is good! I need one. Do you need credit?
the Raven
Jul 25 2008, 05:16 AM
Oh, man. you really have something here!!
I cant use it though...I promised never to use engines that I didn't make :'(
You did a very nice job. good job son!
Potnop
Jul 25 2008, 07:30 PM
Who did you promise that to? That's not very smart... Using other people's work saves time and you can learn from it.
eafg2
Jul 25 2008, 10:20 PM
I think that it's a bit weird, but thats me.
gioscape
Jul 26 2008, 02:01 AM
How do you change the speed at which the time goes? Ive been trying but i cant figure it out.
TheReaperGrim
Jul 26 2008, 03:49 PM
The Link is Broken
EDIT: Soz my laptop just doesnt like the link. But i got it!
TheReaperGrim
Jul 27 2008, 01:13 PM
How can i slow the clock down to real time? and how can i stop it going red?
manuel777
Jul 27 2008, 06:09 PM
Wow, i didnt think this will get so many attention...
QUOTE (pepolshet @ Jul 24 2008, 12:39 AM)

Awesome!
Credit?
yeah, its the best, besides its not too much work to write "day/night engine by manuel777" a you games's topic
QUOTE (TheReaperGrim @ Jul 27 2008, 10:13 AM)

How can i slow the clock down to real time? and how can i stop it going red?
In the create event:
CODE
hour = date_get_hour(date_current_datetime())
minu = date_get_minute(date_current_datetime())
sec = date_get_second(date_current_datetime())
alarm[0] = room_speed
add an alarm[0] event:
CODE
hour = date_get_hour(date_current_datetime())
minu = date_get_minute(date_current_datetime())
sec = date_get_second(date_current_datetime())
alarm[0] = room_speed
and in the step avent change
CODE
minu += 2
for
CODE
sec += 0.04
thats what i do

to stop going red add:
CODE
red = 0
at the end of the step event
MadProductions119
Jul 28 2008, 03:49 PM
PLEASE post the gm.6 version!
lukesterspy
Jul 28 2008, 04:02 PM
QUOTE (MadProductions119 @ Jul 28 2008, 09:49 AM)

PLEASE post the gm.6 version!
Get gm7...even if you like to use gm6, you can have them both installed on the same computer, and if your gm6 is registered, gm7 will be free.
MadProductions119
Jul 28 2008, 04:25 PM
LOL I run windows 98 I cant even run gm7
morno
Aug 1 2008, 03:27 PM
whit the Gm 6 ver of Game Maker you can stop GM decompoiler. (tho i have both GM 6 and 7
manuel777
Aug 2 2008, 06:05 PM
QUOTE (morno @ Aug 1 2008, 12:27 PM)

whit the Gm 6 ver of Game Maker you can stop GM decompoiler. (tho i have both GM 6 and 7
really?? i didnt know that... is there any GM7 to GM6 converter?? i cant copy and paste 3000 codes XD (PM me, offtopic)
duelboy
Aug 2 2008, 06:06 PM
can you make a video torturial how to add it to a game. im very new to game maker and ill really need this, its awesome!
manuel777
Aug 2 2008, 06:18 PM
QUOTE (duelboy @ Aug 2 2008, 03:06 PM)

can you make a video torturial how to add it to a game. im very new to game maker and ill really need this, its awesome!
A video tutorial? damnit, u r a nood

(no effense hehe), just merge it in your game, change the depth from the merged object, add it in the room and Voilá! its easy, even for a noob... (you dont have to code practically anything, just delete the draw_text() function in the draw event, if you want)
duelboy
Aug 2 2008, 09:19 PM
QUOTE (manuel777 @ Aug 2 2008, 06:18 PM)

QUOTE (duelboy @ Aug 2 2008, 03:06 PM)

can you make a video torturial how to add it to a game. im very new to game maker and ill really need this, its awesome!
A video tutorial? damnit, u r a nood

(no effense hehe), just merge it in your game, change the depth from the merged object, add it in the room and Voilá! its easy, even for a noob... (you dont have to code practically anything, just delete the draw_text() function in the draw event, if you want)
dont get it :S. isnt it just to insert a object in my game as in the day and night engine that got the same functions and then also add the same excute code and then add the object to my lvl ? cuz that dosent work
manuel777
Aug 3 2008, 01:02 PM
use the "merge" option in the game maker's menu... so you dont have to copy anything!
manuel777
Aug 9 2008, 06:37 PM
ive uploaded tha gm6 version and added it to the first post... enjoy!
6th hokage naruto15
Aug 22 2008, 09:17 PM
AWSOME!!!!!!!!!!ive been looking for something like this for i dont know how long!!!!!!!
edit:how do i get it so that sprites(npc's,playerc,etc.)also get the same shading and all that?
manuel777
Aug 23 2008, 08:53 PM
QUOTE (6th hokage naruto15 @ Aug 22 2008, 06:17 PM)

AWSOME!!!!!!!!!!ive been looking for something like this for i dont know how long!!!!!!!
edit:how do i get it so that sprites(npc's,playerc,etc.)also get the same shading and all that?
change the depth of the controller, below the players depth
Fede-lasse
Aug 27 2008, 03:39 PM
I made this kind of thing, too, except the only thing missing was drawing that black rectangle with the correct alpha value. Oh well.
manuel777
Sep 10 2008, 07:16 PM
QUOTE (Fede-lasse @ Aug 27 2008, 12:39 PM)

I made this kind of thing, too, except the only thing missing was drawing that black rectangle with the correct alpha value. Oh well.
yeah, it isnt too complicated to make any way (there are many posts like yours)
Henley
Sep 17 2008, 06:03 AM
hey great work mate this is sweet as!
manuel777
Sep 21 2008, 07:00 PM
QUOTE (Henley @ Sep 17 2008, 03:03 AM)

hey great work mate this is sweet as!
thanx
Khanor
Oct 10 2008, 02:39 AM
how would i make it every minute it will go up 1 hour :S
and
make it follow real time
durge69
Oct 13 2008, 01:24 AM
lolz, i am a noob, i was just about to post a complaint because i couldn't get it to work in my new game, but it was not because it was faulty, it waas because my new game as a "Z" axis...
manuel777
Oct 13 2008, 08:06 AM
QUOTE (Khanor @ Oct 9 2008, 11:39 PM)

how would i make it every minute it will go up 1 hour :S
and
make it follow real time
mmmm... didnt i explaine this before?
Hellopayton
Oct 25 2008, 02:15 PM
EDIT:
Nevermind, I've got it now.
(Sorry if this is a bump, I opened the link from an e-mail)
How do I make it follow actual minutes, seconds and hours? I want actual time in my game.
<WOG>
Oct 25 2008, 06:44 PM
thanks this helped me alot,
but how do you make the night/day apply to objects??
manuel777
Nov 5 2008, 09:57 PM
QUOTE (<WOG> @ Oct 25 2008, 03:44 PM)

thanks this helped me alot,
but how do you make the night/day apply to objects??
duh??

what do you mean??
<WOG>
Nov 6 2008, 10:51 PM
obviously i mean that objects in my game dont get darker and lighter as like the background does, and i want to know how to fix this problem.
manuel777
Nov 6 2008, 11:21 PM
change the depth from the engine controller, over the objects
<WOG>
Nov 6 2008, 11:22 PM
alright
thank you
Poris
Nov 7 2008, 12:07 AM
Lengendarious!
manuel777
Nov 19 2008, 07:10 PM
QUOTE (Poris @ Nov 6 2008, 09:07 PM)

Lengendarious!
manuel777
Jan 17 2009, 05:29 PM
Ok im reauploading every single file i posted, so heres the GM6 ONLY, the gmk is useless if you have the gm6 right below
SilentxxBunny
Jan 18 2009, 02:44 AM
Just wondering... What sort of damage does this do to your FPS? I wanted to use it for my upcoming MMORPG but if it has a drastic effect on FPS I might not want to incorporate it. I ran some tests with it today and my FPS dropped below 30 for the first time ever.
manuel777
Jan 18 2009, 03:13 AM
QUOTE (SilentxxBunny @ Jan 17 2009, 11:44 PM)

Just wondering... What sort of damage does this do to your FPS? I wanted to use it for my upcoming MMORPG but if it has a drastic effect on FPS I might not want to incorporate it. I ran some tests with it today and my FPS dropped below 30 for the first time ever.

You shouldnt have ANY fps damage... it uses math functions and a ( stupidly simple ) draw rectangle function.... nothing else

edit: i just tested and the max FPS i get is 500...
SilentxxBunny
Jan 26 2009, 03:11 AM
QUOTE (manuel777 @ Jan 17 2009, 10:13 PM)

QUOTE (SilentxxBunny @ Jan 17 2009, 11:44 PM)

Just wondering... What sort of damage does this do to your FPS? I wanted to use it for my upcoming MMORPG but if it has a drastic effect on FPS I might not want to incorporate it. I ran some tests with it today and my FPS dropped below 30 for the first time ever.

You shouldnt have ANY fps damage... it uses math functions and a ( stupidly simple ) draw rectangle function.... nothing else

edit: i just tested and the max FPS i get is 500...
Hmm. This concerns me. We are completely re-coding our engine right now. So we will see what it does to the new (much more powerful) engine. Perhaps the lag was caused by another mistake in the coding. Possibly our emoticon system. I will keep you updated. Thanks by the way!
Schyler
Jan 26 2009, 03:17 AM
Good engine, not much lag here. Im sure it can't be from your emoticon system. How much CPU can that take?
EDIT: Unless ofcourse its ineffecently coded.
SilentxxBunny
Jan 26 2009, 03:20 AM
QUOTE (Schyler @ Jan 25 2009, 10:17 PM)

Good engine, not much lag here. Im sure it can't be from your emoticon system. How much CPU can that take?
Note that I said "perhaps" another mistake in the coding. Its most likely that our engine was just coded poorly overall. Thats why that we are doing a total re-write of it. I was just trying to pass blame on the emoticons because we added them at about the same time.
Schyler
Jan 26 2009, 03:27 AM
Love your sig =P
manuel777
Jan 30 2009, 02:50 AM
QUOTE (Schyler @ Jan 26 2009, 12:27 AM)

Love your sig =P
yeah, me too...
my engine CANT be the cause of the lag, its just a stupid math code and a draw rectangle function, if that ever has a fps damage, then theres something ive seriously missed all of this years
SilentxxBunny
Jan 30 2009, 02:53 AM
QUOTE (manuel777 @ Jan 29 2009, 09:50 PM)

QUOTE (Schyler @ Jan 26 2009, 12:27 AM)

Love your sig =P
yeah, me too...
my engine CANT be the cause of the lag, its just a stupid math code and a draw rectangle function, if that ever has a fps damage, then theres something ive seriously missed all of this years
You were right. It was a mistake on my end. Thank you for replying though.
manuel777
Feb 4 2009, 08:01 PM
QUOTE (SilentxxBunny @ Jan 29 2009, 11:53 PM)

You were right. It was a mistake on my end. Thank you for replying though.
Good to know
Sk8erFreek
Jun 3 2009, 08:31 AM
This was just what i was looking for!
Thnx!

8/10
Probably a noob question, but how do i get the time to stay in my view?
avivasban
Jun 4 2009, 10:07 PM
you can do slow time?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.