Skip to content
houseofbitsPublic

About

Interactive display for The Latvian Museum of Natural History exposition

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Volcano3D

Project Structure

The project is split into two main Gradle modules:

  • core — platform-independent game logic and resources.
  • desktop — desktop launcher and LWJGL backend.

The desktop application is launched by:

com.volcano3d.desktop.Volcano3DDesktop

Technology Stack

  • Java
  • libGDX 1.9.6
  • LWJGL 2.9.2
  • Gradle 2.14.1
  • Java 8

The project uses an intentionally old toolchain because it was originally developed with an older version of libGDX and Gradle.

Requirements

For the original build configuration, use:

  • JDK 8
  • Git
  • Windows for the desktop build/run configuration

The included Gradle wrapper (gradlew.bat) provides the required Gradle version, so Gradle does not need to be installed separately.

Building

Clone the repository:

git clone https://github.com/houseofbits/Volcano3D.git
cd Volcano3D

Make sure Java 8 is active:

java -version

The expected version is similar to:

java version "1.8.0_231"

Build the project:

gradlew.bat clean build

A successful build produces the desktop JAR under:

desktop/build/libs/

Running

Run the desktop application directly through Gradle:

gradlew.bat desktop:run

The desktop launcher is:

com.volcano3d.desktop.Volcano3DDesktop

Configuration

The application loads its configuration using:

VConfig.loadConfig("config.json");

Configuration includes settings such as:

  • Window resolution
  • Fullscreen/windowed mode
  • Other application/game settings

The desktop window configuration is created in Volcano3DDesktop.

To force windowed mode:

config.fullscreen = false;

To explicitly set the window size:

config.width = 1280;
config.height = 720;
config.fullscreen = false;

Development

The project can be imported into IntelliJ IDEA as a Gradle project.

When working on the original codebase, use JDK 8. Newer Java versions are not compatible with the project's Gradle 2.14.1 wrapper without upgrading the build system.

The project currently targets an older Java language level, so warnings such as:

bootstrap class path not set in conjunction with -source 1.6

may appear during compilation. These are expected with the legacy build configuration.

Gradle Commands

Build everything:

gradlew.bat clean build

Run the desktop application:

gradlew.bat desktop:run

Build only the desktop module:

gradlew.bat desktop:build

Clean build artifacts:

gradlew.bat clean

Legacy Build Environment

The current known-working environment is:

Gradle       2.14.1
Java         8
libGDX       1.9.6
LWJGL        2.9.2
OS           Windows

The project should first be kept reproducible with this environment before modernizing the Gradle/libGDX dependencies.

About

Interactive display for The Latvian Museum of Natural History exposition

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages