The day-to-night effect really helps add a sense of passage of time. The day-to-night cycle is one in which, as the player plays your game, the environment changes depending on the time of day. The first part of developing this feature is to have some internal reference point for the time of day built into the game because in most games, the passage of time is independent of the real world time. The second part of this feature is to add some additional lightmaps that make the world feel as if it is occurring at a specific time of day, such as a dark lightmap with light sources we learned in the previous section, which gives the player the illusion of night.
Mastering LibGDX Game Development
By :
Mastering LibGDX Game Development
By:
Overview of this book
Table of Contents (18 chapters)
Mastering LibGDX Game Development
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
As the Prophecy Foretold, a Hero is Born
Welcome to the Land of BludBourne
It's Pretty Lonely in BludBourne…
Where Do I Put My Stuff?
Time to Breathe Some Life into This Town
So Many Quests, So Little Time…
Time to Show These Monsters Who's the Boss
Oh, No! Looks Like Drama!
Time to Set the Mood
Prophecy Fulfilled, Our Hero Awaits the Next Adventure
Index
Customer Reviews