Skip to content

jMonkeyEngine-archive/jme-calendar-jayfella-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jme-Calendar

A Calendar for jMonkeyEngine. The calendar has a timeframe from 1700's to 2300's. You can set the time, date and speed multiplier.

// create and attach the calendar
GameCalendarState calendarState = new GameCalendarState(2019, 9, 3, 0, 0, 1200);
stateManager.attach(calendarState);

// optionally add the GUI state to play around with the settings.
stateManager.attach(new CalendarGuiState());

The calendar also provides positions for the Sun and Moon in the form of a direction. This allows you to set the direction of a DirectionalLight, and optionally set the location by multiplying the direction.

Please see the main class for an example including a sun, moon and GUI.

About

Mirror of jayfella/jme-calendar from github

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages