In this video, we implement the day and night cycle. Also, we add a tent so we can sleep until the next morning.
Timestamps:
0:00 Creating day state
1:30 Switching the state of the day (Day/Dusk/Night/Dawn)
7:50 FIRST RESULT
8:52 Changing the darkness filter color
10:45 Adding a tent
13:10 Handling the Sleep state
19:05 Replacing the player image with the tent image
21:55 FINAL RESULT
#javagamedevelopment #actionRPG #tutorial
source
First. You always seems to amazes me
Very cool! Thanks for sharing, my dude!
Сool!!!
I have made several little games on java but people keep saying it's better to make games in c++. Do you know a good tutorial for making c++ games?
great video
Seeing you active is the scariest thing, but really nailed it.
My favourite thing about this is fixing one error and my entire thing is suddenly errors
Start making games with lwjgl
Im happy u came back
Amaizing!!!!! you are great Ryi!!!
Amazing!
This also wasn't in my initial roadmap (my plan was to apply the darkness effect only when you are in a dungeon) but it seemed many of you guys were interested in day and night implementation so I decided to tackle on. Now I'm happy that I did it. Thank you for the suggestions guys.
Is there a github for this? ☺️
I love the implementations you did in this episode! In my game sleeping is an important method of regarding your energy and the day night cycle is just an awesome thing to let a world feel more real add a different kind of environmental danger!
NICE!!!
amazing!!.greetings from Argentina
If the player walks to the borders of the map the cycle of light needs to be updated because he is not at the center of the screen
@RyiSnow san, what a beautiful effect 🙂 !
how would we do multiple lights? like for campfires or torches on enemies etc? i think we cant use this method as the borders would cross each other. any idea?
Dear Sir, Please can u share the code at this stage. Its my request to share the code at the end of each part so that we can compare it and rectify code if we get struck. also it will be helpful to rollback if we fail to follow you at any stage. otherwise we will not be able to make out what mistakes we did.
It would be nice if I cqn make the sqme game as you, but ever since part 5 the code just stopped working for me and I can't find the error even though I tried everything
Hello RyiSnow, I was wondering how I could convert the code we have written so far into OpenGL. Any easy ideas so I can utilize OpenGL in my game? Also thank you so much for this video, I waited so long for this!!!
The tent can be used during day time as well which is kind of strange. How to fix that?
Bro you are SO freaking cool thank you, this will be my java project this semester
this is the best tutorial on making games on the internet, you are amazing,thank you for all the help showing us whats possible with java,keep up the great work!!