Trying to recreate trippy background effect

So I’ve been trying to recreate this background effect from Deltarune

But I have 0 clue on how I would achieve this effect, as my only skills is scripting and I’m not very good at making effects on UI like this.

I have tried to remake it frame by frame but it ended up looking very glitchy and pixelated.

Any help would be very appreciated.

1 Like

what if you were to clone a ui and then size it, and once it reaches a certain size, you destroy the ui?

1 Like

if you want it 1:1 you can turn that video into a spritesheet.
you’ll probably need to delete cut it a little bit, more size = less quality so keep it small.

after that you’ll need something to animate spritesheets. it generally isn’t that hard to do yourself all you do is calculate how big each frame/cell is and change the ImageRectSize to match the frame size, and move ImageRectOffset to each frame.

Increment the x offset by the width of a frame
When it reaches the end of the x axis on the sprite sheet increment the y offset by the height of a frame.
When it reaches the bottom (height) of the spritesheet, reset the offset back to 0,0

This should create an animated effect that will exactly be what is on the video.

1 Like