Skip to content

siljamdev/AshLib

Repository files navigation

AshLib

Library that comes with multiple utilities

Documentation

ALL DOCUMENTATION IS HAND MADE

For a more detailed explanation, you can visit the Usage Documentation
For a more practical explanation in the form of examples, you can visit the Examples
For a reference on everything, you can visit the Reference Documentation

AshFile

An AshFile is a data structure composed of camps. Each camp has a key and a value. This value can be of different types(numbers, text...)
It also is a file format, with the extension .ash. It is very easy to save and load an AshFile from a file, making it a reliable and easy way to use it in programming projects and then store it
You can also use Models to ensure the camps are in the expected format
Additionally, you can transform them to JSON and visualize them in many ways
More information here

FormatString

A formatted string, for displaying colored, bold, underlined, etc. text in the console using ANSI escape sequences. It also provides many useful functionalities for string and formatting purposes
It supporsts NO_COLOR environment variable. Read more here
More information here

Trees

Trees are graphs made of nodes, that have a value of any type and child nodes. They are useful for a multitude of reasons
There is support for a compact string format for sharing and many ways to visualize them

DeltaHelper

This little utility will make it easy to calculate fps and deltaTime. You just need to call a method once a frame

TimeTool

Utility that helps you debug time related stuff(for example, the percentage operations are taking each frame)

Dates

This is a struct that represents a time, down to seconds, between the years 1488 and 2511. Its main attraction is you can convert this Date int just 6 base64 printable chars. This is called CPTF(Compressed printable date format)

Colors and Vectors

This library comes with structs for RGB colors and 2,3 and 4 dimension vectors

TreeLog

Utility that will help you produce a Collapsible and idented log for making debugging easier. There is a notepad++ custom language in here. Note that this custom language is thought for the dark theme

Dependencies

This utility helps you handle files in a project, using a folder similar to the .minecraft folder

License

This software is licensed under the MIT License

About

AshFiles, FormatStrings, DeltaHelpers & more!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages