Hey, I'm new to modding and I'm having a strange error that I have no idea how to fix. I can't find anything to help me fix this, so I'm posting here.
Here's the error:
I'm sure it's a really simple answer, but I just can't figure out how to do it.
I've attached the mod folder so you can see the code. The animation set that seems to be causing the error is on line 9 of either of the .lua files in the prototypes folder.
Thank you!
[0.17.79] Given sprite rectangle is outside the actual sprite size
[0.17.79] Given sprite rectangle is outside the actual sprite size
- Attachments
-
- alternate-transport-belts_0.0.1.zip
- Mod folder
- (4.07 MiB) Downloaded 67 times
Re: [0.17.79] Given sprite rectangle is outside the actual sprite size
Your frame count needs to be 16. You're using the transport-belt graphics that correspond to the slower belt animations (half as many frames). You are currently using a frame count of 32, which is used by the faster belt animations, which isn't what you're using.
You also don't need all the east_index, west_index, etc. That's all optional now.
You also don't need all the east_index, west_index, etc. That's all optional now.
Re: [0.17.79] Given sprite rectangle is outside the actual sprite size
Thank you!kirazy wrote: Thu Apr 16, 2020 3:30 am Your frame count needs to be 16. You're using the transport-belt graphics that correspond to the slower belt animations (half as many frames). You are currently using a frame count of 32, which is used by the faster belt animations, which isn't what you're using.
You also don't need all the east_index, west_index, etc. That's all optional now.
I would have never guessed that.