Page 1 of 1

Questions on block and background configuration

Posted: Sun Apr 25, 2021 4:28 am
by baenyth
So I'm trying to use block and background configurations in my level, but they don't seem to be working. The framespeed configuration for blocks isn't seeming to be working, and the same issue is happening with the priority configuration for background objects. What's even odder is that it seems to work perfectly in the level editor, but not the level tests. Here's my assets:
Block 30 graphics:
Image
Block 406 graphics:
Image
block-30.txt:
framespeed=4
block-306.txt:
frames=4
framespeed=4
both bgo-45.txt and bgo-46.txt:
priority=-85
Background priority not working:
Image
If there isn't a plain solution to this, could I at least change the values in lua?
Thanks in advance.

Re: Questions on block and background configuration

Posted: Tue Apr 27, 2021 10:04 am
by ClearMan06
For the background objects, you should name the .txt files background-45 and background-46 instead of bgo-45 and bgo-46 and then it should work (at least it works for me).
For the incorrect block animations, I don't know why that happens. It seems to work fine with other blocks. I suggest you use a different type of lava, like block-404 and block-420. Those are the lava tiles inside the SMW Castle tileset. I tested those and they did animate faster.

Hope this helps! ;-)