Grid Sage Forums

Grid Sage Forums

  • December 04, 2024, 01:31:42 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

LINKS: Website | Steam | Wiki

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - shad_amethyst

Pages: [1]
1
Everything REXPaint / My fork of rexpaint.js
« on: July 14, 2021, 03:29:28 PM »
I wanted to use rexpaint.js, made by github user chiguireitor (https://github.com/chiguireitor/rexpaintjs/) and noticed that it was quite bare-bone.
Because it's FOSS, I made a fork of it, with small automated tests, proper documentation and more features: https://github.com/adri326/rexpaintjs-fork

This fork now features:
- loading REXPaint .xp files (already present in the original library)
- classes for the different data structures
- QoL functions (getters, setters, for easier image manipulation)
- exporting REXPaint files!
- documentation for most of the functions that are public

I took care to make it as compatible with the original library as possible.
The only thing that I cannot control is interoperability with lower-end functions that would ignore my getters (JSON thankfully can be overridden with the toJSON method, so that's not an issue).

Hopefully my fork will be of help! I'm open for any feedback/bug reports.

Pages: [1]