Pixel-by-pixel disp...
 
Notifications
Clear all

Pixel-by-pixel displacement of objects

4 Posts
2 Users
0 Reactions
682 Views
0
Topic starter

You need to move the object to the wall, but the pixel offset function is not available for objects. Is it possible to make a wall-mounted animated torch?

https://ibb.co/T8dgP9c

And what does the "Pixel offset" function mean?

https://ibb.co/C6KswDM

Wano Wano 22/12/2023 9:38 pm

@truver You can use "update transformations" option on bottom/right. Pixel offset is an option for walking animation, it's doing 1 y pixel offset move each 2 frames to make a better visual effect.

truver Topic starter 23/12/2023 9:36 am

I didn't notice the elephant in the china shop. Sorry about that.
The block size is determined by the number of pixels displayed in the "Map properties", but what is the size of one step? The hero went through three blocks, the variable showed more than 500 steps.

Wano Wano 30/12/2023 11:26 pm

@truver Oh, sounds like a bug... steps depends on square size and other parameters like speed. It is something like 3/4px in normal speed / 16px square I think

1 Answer
0
Topic starter

https://ibb.co/4g8DdSy

https://ibb.co/r4DTvkW

I tried to solve this problem through "move objects", but depending on the location of the hero, the displacement is always different.

Share: