#ALVAROPING1's Mod Utilities

9 messages · Page 1 of 1 (latest)

reef citrus
#

Collection of utilities for mod creators

Quaternion Functions

Utilities for working with quaternions for rotations

Includes:

  • Rotate vector according to a given euler angles rotation
  • Combine 2 rotation transformations into a single rotation
  • Calculate the rotation transformation required to go from a starting rotation to a target rotation
  • Interpolate quaternions: allows to animate changes between a starting rotation and a final rotation
    https://github.com/ALVAROPING1/Trailmakers-mods/tree/master/quaternionFunctions

Screen utilities

Utilities to create and manage screens

Includes:

daring zealot
#

Hi

#

);

nocturne bramble
#

I assume the screen utilities prints via the main ui system (creates a screen within the world). But I'd recon it could work within subtle messages by using a long string [[]].
(You don't have to implement this, but I personally think its a cool use of long strings.)

reef citrus
#

screen utilities creates a screen in the world you can send frames to

nocturne bramble
#

Oh fair enough

#

But do you personally think it could work within subtle messages?

reef citrus
#

why would you need a library for that instead of just giving the rendered frame to the modding API?

nocturne bramble
#

The library already has utilities for managing pixels (which makes everything easier), so the output could be sent to a function that puts it into the subtle message instead of an object in the world...
Additionally this would have better compatibility with any animation/images made for the 'screen utilities' library.