TeamOpenIndustry / ImmersiveRailroading

GNU Lesser General Public License v2.1
226 stars 74 forks source link

A javascript based animation system or add process control for readouts #1489

Open Goldenfield192 opened 5 months ago

Goldenfield192 commented 5 months ago

Describe the suggestion
Currently readout and animatrix can provide very complex animations, but they can't make any process control, which means resource pack creators can only use at most one control group to control their animation. By adding a js-based system, creators can determine when their animations should be played by coding, like CG A is on and CG B is off. Furthermore, it can also provide a image API so that dynamic screens can be made.

Applications of the suggestion
Creators will be able to make their animations more complex, and add new features like controlling the car numbers.

cam72cam commented 5 months ago

If anything, I'd likely do lua as it incredibly easy to embed and already used in many minecraft mods.

Goldenfield192 commented 5 months ago

If anything, I'd likely do lua as it incredibly easy to embed and already used in many minecraft mods.

Javascript has been used by other Minecraft railway mods like RTM/MTR, but lua is also a great idea