Closed DivFord closed 9 years ago
As in, 32 above, 64 in the middle, and 32 below? That'd be very fiddly. The larger sprite wouldn't be too bad, but trying to position it half a tile higher would just be awkward. Are you sure it's necessary?
No, it's just aesthetic.
What about a 64x192 sprite, so it would be an entire tile of overlap. Would that be more achievable?
Yes, but it would have to be positioned in the top corner. The Props would then need a height int, which would be 1 normally, but 3 for this. Then, when the sprite is created, dim would have to be multiplied by Vector(0.0f, float(height)).
The troubling thing is that the tile that actually contained the gate would be the top one. I could probably work around this if you want, but it might be a bit long to dictate.
What about the offset property in Sprite. Do you even use that at the moment?
Huh. I forgot I put that in PropList already. The height int will still need to be implemented, but that'll simplify things a lot. Go for it then. I'm curious to see this new gate.
You may have to wait. I'm working on the death screen at the moment.
Okay. Either way, I've set up the height in PropList and Prop, so it should be all ready for you to have the sprite be whatever height you want.
Awesome. Issue resolved.
Is it possible for a prop to have a sprite larger than 64x64?
Specifically, I'd like to double the height of the gate sprite so that it overlaps above and below.