Lightweight animation library

Overview

Blaze Release

Lightweight animation library made mainly for OpenGL usage

Installation

Maven:

<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>

<dependency>
    <groupId>com.github.MrExplode</groupId>
    <artifactId>Blaze</artifactId>
    <version>2.0.0</version>
</dependency>

Gradle:

repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
    implementation 'com.github.MrExplode:Blaze:2.0.0'
}

Building

You can build the project by running ./gradlew build

Usage

Create an Animator instance, and update it in every render loop:

Animator animator = new Animator();

//update in render loop
animator.update(partialTicks);

Creating and using animations:

Animation animation1 = Animation.animation(Eases.LINEAR);
Animation animation2 = Animation.animation(Eases.SINE_IN_OUT, AnimationType.bouncing(), 0.1);

animator.start(animation1);

//use animation value in render call
//...
double animValue = animation1.value();
//eg. translate the matrix
GL11.glTranslate2d(x, y + animValue);
//...

Built-in animation types:

AnimationType bouncing();
AnimationType bouncing(Ease backwardEase);
AnimationType once();
AnimationType once(Runnable runnable);
AnimationType loop(Ease backwardEase);

License

    Blaze
    Copyright (C) 2021  SunStorm (aka. MrExplode)

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.
You might also like...

A library that provide informations for minecraft servers (players, maxplayers and motd)

MinecraftServerInformations MinecraftServerInformation is a java library for retrieving informations about Minecraft Servers. Installation Download th

Sep 11, 2022

A Java user-interface library with support for Minecraft.

interfaces Building interfaces since 2021. interfaces is a builder-style user interface library designed to make creation of flexible user interfaces

Dec 24, 2022

Java mod library

Java mod library

GasLirary GasLirary is a Mindustry java mod library for making new content type: Gas. Usage/Examples Gas creating Gas is created in the same way as It

Jan 2, 2023

Java mod library

Java mod library

AdvancedContentInfo AdvancedContentInfo is a Mindustry java mod library for making out stats and stats categories. Usage/Examples You can initialize y

May 28, 2022

πŸš€Small java eventing library created to developer familiar with Bukkit,Nukkit and PowerNukkit...

FestivalKit πŸ‡ΊπŸ‡Έ Small event library for developers familiar with Bukkit,PowerNukkit and Nukkit πŸ‡§πŸ‡· Pequena libraria de eventos para desenvolvedores

Jan 2, 2022

Arnicalib-mcmod - Shared library for AH's Minecraft mods.

ArnicaLib Shared library for AH's Minecraft mods. For Developers There are two ways to use this mod in your workspace: GitHub Package (Recommended) Ad

Dec 15, 2022

TerraBlender is a library mod for adding biomes in a simple and compatible manner with Minecraft's new biome/terrain system.

TerraBlender is a library mod for adding biomes in a simple and compatible manner with Minecraft's new biome/terrain system.

https://discord.gg/GyyzU6T TerraBlender is a library mod for adding biomes in a simple and compatible manner with Minecraft's new biome/terrain system

Dec 12, 2022

πŸ’œ LiteSkullAPI Fast and extensive skull library for Bukkit/Spigot/Paper plugins

πŸ’œ LiteSkullAPI Fast and extensive skull library for Bukkit/Spigot/Paper plugins. Helpful links: Support Discord GitHub issues Eternal Repository (Mav

Dec 2, 2022

A library for mod dependencies.

MagicLib δΈ­ζ–‡ Warning: The project is still in the early development stage. A library for mod dependencies. Development Mappings We are using the Mojang

Jan 7, 2023
Comments
  • 2.0

    2.0

    Restructured the whole project:

    • You can create custom eases easily from now on
    • You can create custom animation types from now on
    • Removed unnecessary classes

    By semver, this should be a major update (because these commits completely break backward compatiblity).

    opened by marvintheskid 0
Releases(1.0.2-SNAPSHOT)
Owner
19 year old university student, interested in programming. Working with Java, C++, C#, Go and various JS/TS frameworks.
null
[LEGACY] LWJGL 2.X - The Lightweight Java Game Library.

[LEGACY] LWJGL - Lightweight Java Game Library WARNING This is the repository of the original LWJGL, which is no longer actively maintained. Unless yo

Lightweight Java Game Library 529 Dec 26, 2022
πŸŽ‡ lightweight JDA command library

? LightDrop LightDrop is a lightweight library that allows you to create decorator-based commands with JDA. Features Creating commands in a method. Ad

NeiiZun 11 Jun 27, 2022
Lightweight reflection based tab library supporting 1.7 - 1.17 servers and clients.

Lightweight reflection based tab library supporting 1.7 - 1.17 servers and clients.

Gleeming 2 Aug 23, 2022
Duck Library is a library for developers who don't want to spend their time to write same library consistently.

Duck Library is a library for developers who don't want to spend their time to write same library consistently. It has almost every useful feature to

null 5 Jul 28, 2022
Squaremap is a minimalistic and lightweight world map viewer for Minecraft servers, using the vanilla map rendering style

squaremap squaremap (formerly known as Pl3xMap) is a minimalistic and lightweight live world map viewer for Minecraft servers. What is squaremap If, l

Jason 204 Jan 3, 2023
πŸƒ A lightweight, multiarena, complex Parkour Spigot/Bukkit plugin for Minecraft Server

?? A lightweight, multiarena, multilanguage, completely configurable and complex Parkour Spigot/Bukkit plugin for Minecraft Server

Victor Rodrigues 6 Oct 17, 2022
A simple, lightweight, safe way to show your user's Spotify now playing in game

Spigotify A simple, lightweight, safe way to show your user's Spotify now playing in game! Installation Install PlaceholderAPI. Install Spigotify Add

Mufin 2 Mar 14, 2022
A lightweight but powerful hologram plugin with many features and configuration options.

Decent Holograms A lightweight but powerful hologram plugin with many features and configuration options. Spigot: https://www.spigotmc.org/resources/9

DecentSoftware 112 Dec 29, 2022
LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan), audio (OpenAL), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR) applications.

LWJGL - Lightweight Java Game Library 3 LWJGL (https://www.lwjgl.org) is a Java library that enables cross-platform access to popular native APIs usef

Lightweight Java Game Library 4k Dec 29, 2022
Java / JavaFX / Kotlin Game Library (Engine)

About JavaFX Game Development Framework Why FXGL? No installation or setup required "Out of the box": Java 8-15, Win/Mac/Linux/Android 8+/iOS 11.0+/We

Almas Baimagambetov 3k Jan 2, 2023