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

Pixel-by-pixel displacement of objects

4 Posts
2 Users
0 Likes
285 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 10: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 10: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 31/12/2023 12:26 am

@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: