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.
- Added FlatRenderProgram to render 2D graphics - Can be used as-is - Supports rectangular coordinate-aligned nested masks - Added AssembledFlatLayer to cache 2D graphics - Use RenderTarget for add elements during reassembly - ShapeRenderProgram now allows null textures (defaults to white BG) - Sprite now deduces size based on primitive's content size - unless given size explicitly - ShapeRenderHelper.*WorldTransform methods renamed to .*Transform
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
$ git clone https://github.com/OLEGSHA/Optica.git
$ 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:
- Add
id 'eclipse'
intobuild.gradle
insideplugins { ... }
:
plugins {
// Apply the java-library plugin to add support for Java Library
id 'java-library'
id 'eclipse'
}
$ gradlew eclipse
- Import the project with File - Import - Existing Projects into Workspace
Additional setup for IntelliJ IDEA
- Open the project with File - Open Project
- Press button 'Add configuration...' and open 'Application' in templates list
- Add 'ru.windcorp.optica.client.OpticaClientMain' in Main class text field
- Choose 'Optica.main' in 'Use classpath of module' drop-down list
- 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)
Description
Languages
Java
99.6%
NSIS
0.2%
GLSL
0.2%