#Wallpaper engine background

1 messages · Page 1 of 1 (latest)

twilit hamlet
native spade
#

Is it compatible with 21:9 screens?

twilit hamlet
twilit hamlet
#

some WIP, the sprite sheet method works, I imported the character backgrounds that show up when you hover over each character on the website and wrote a script to adjust the offset and background opacity of the background. Also added the sound that plays when clicking on the characters, though there is no language switch just yet between Chinese and Japanese. Also haven't replicated the background of the text in the original, just using built in text background used in wallpaper engine.

One problem I'm running into is that I'm getting a warning about the characters taking up like 100Mb VRAM each? Even though the sprite sheet png is at most like 7Mb, something to explore further.

twilit hamlet
#

Could not figure out how to change the image used by an image layer, so ended up making the language select button out of 4 separate images stacked on top of each other with their visibility based on where the cursor is and the language selected

twilit hamlet
#

Ok I've published an update with the features that I've shown so far. Using localStorage I can persist the language and mute settings between sessions without using a user property, which is great because I can't change user properties from the scripts afaik

native spade
#

also the subtitles of the characters are not displaying, I see the transparent black box but not the text inside but it's only on my 21:9 monitor so it's not a big deal for most users

twilit hamlet
#

huh that selector is really messed up now I must have broken it recently

twilit hamlet
native spade
#

maybe you need to change the anchor position for the box and text idk

twilit hamlet
#

There's no way to make the text background translucent so it's a separate element, I see now that on different aspect ratios its broken

#

that will probably take me longer to fix, but I pushed a fix to the logo selector

#

Also I see that the buttons on the side are slightly off screen for you, I should probably add an option to move those too

native spade
twilit hamlet
#

I use this script to set the position currently, and had both element anchored to the top. I will see about how I can test different aspect ratios, maybe I can make a dummy one in windows somewhere.

#

If changing the anchor doesn't fix it then the only reason this happens should be because thisLayer.size.y changes differently between different aspect ratios? 🤔 like maybe text scales differently vs a static colour element

native spade
#

feel free to ask me if you need someone to test the modifications

twilit hamlet
#

Ok I think I've solved it, the field with the 9 buttons is actually a different field for the background vs the text. For text its called a screen anchor and I don't actually need too set it to any value for it to work it seems, with the anchor disabled the text moves with the background when using free alignment and messing with the zoom. @native spade I pushed an update, I would appreciate if you could test it out whenever you have the time

native spade
#

it still looks like this right now

#

i unsubscribed and subscribed again to make sure to have the update btw

twilit hamlet
native spade