This repository has been archived on 2022-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
JavaProgressia/README.md
Sergey Karmanov e8cec807bc
Update README.md
Updated instructions for IntelliJ IDEA
2020-07-29 22:54:54 +03:00

1.4 KiB

Optica

A free, open source sandbox survival game currently in early development.

Contributing

For now, contact @Javapony in Telegram for details. Contributing is completely allowed, but we don't have any set guidelines yet.

Building

  1. $ git clone https://github.com/OLEGSHA/Optica.git
  2. $ gradlew build

Additional setup for Eclipse IDE

If you have Buildship plugin installed, use File - Import - Gradle - Existing Gradle Project. Main class is ru.windcorp.optica.client.OpticaClientMain.

Alternatively do the following:

  1. Add id 'eclipse' into build.gradle inside plugins { ... }:
plugins {
    // Apply the java-library plugin to add support for Java Library
    id 'java-library'
    id 'eclipse'
}
  1. $ gradlew eclipse
  2. Import the project with File - Import - Existing Projects into Workspace

Additional setup for IntelliJ IDEA

  1. Open the project with File - Open Project
  2. Press button 'Add configuration...' and open 'Application' in templates list
  3. Add 'ru.windcorp.optica.client.OpticaClientMain' in Main class text field
  4. Choose 'Optica.main' in 'Use classpath of module' drop-down list
  5. Click 'Create configuration' and press Apply

Libraries

  • LWJGL - OpenGL, OpenAL, GLFW and several more libraries ported to Java
  • Google Guava
  • Trove4j
  • java-graphics/glm - GLM ported to Java. Maven Central contains an outdated version, a custom repository used instead
  • Apache Commons Math (not currently used)