Auroriax / PuzzleScriptPlus

Puzzlescript Plus: Open Source HTML5 Puzzle Game Engine (with lots of extra functionality)
https://auroriax.github.io/PuzzleScript/
34 stars 4 forks source link

Make Runtime Metadata Twiddling affect Color Palette. #84

Closed Stingby12 closed 1 year ago

Stingby12 commented 1 year ago

image

Auroriax commented 1 year ago

Sorry, but I don't really see why this would be easier than simply swapping sprites, which also gives you more control over the colors you can use. Can you explain why you'd want this?

Stingby12 commented 1 year ago

Because you have almost every Metadata info you can edit in game except Color Palette.

Auroriax commented 1 year ago

Because of a technical limitation (color names are replaced with hex codes during compilation in generateExtraMembers, rather than at runtime) this is not possible to support. I might include similar functionality as part of a more flexible system, like #34 .

Stingby12 commented 1 year ago

Why not using Metadata Twiddling affect custom color paletes ?