Day and Night Cycle - How to Make a 2D Game in Java #46

Channel:
Subscribers:
27,900
Published on ● Video Link: https://www.youtube.com/watch?v=DuWrjg5EbU8



Category:
Tutorial
Duration: 23:20
3,490 views
147


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







Tags:
topdown
2dActionRPG
zelda
stardewvalley
sandbox
retro
nes
fromScratch
gameenginedevelopment
beginner
gui
swing
awt
gameprogramming