Apparently it is now impossible to make t-sprites invisible using EVENT_ANIMATESPRITES
setting tsprcstat to 32768 does nothing
setting tsprcstat to 32767 or -1 causes the game to instantly crash to desktop with no log error.
I suspect that this is also related to voxels still being rendered from the other side when one-sided, but I'm not sure.
Page 1 of 1
Problem with EVENT_ANIMATESPRITES
#1 Posted 21 February 2020 - 01:26 PM
#2 Posted 09 June 2020 - 05:08 AM
Setting tsprcstat to 32768 does nothing back to and including r2229, further back I did not test any builds, so I'm guessing this never did anything.
Setting tsprcstat to 32767 or to -1 currently causes no crash on my end, and it successfully turns the sprite invisible.
Perhaps it was fixed in the meantime or there was a user error involved.
Setting tsprcstat to 32767 or to -1 currently causes no crash on my end, and it successfully turns the sprite invisible.
Perhaps it was fixed in the meantime or there was a user error involved.
#3 Posted 10 June 2020 - 08:03 AM
Setting it to 32767 is totally invalid and only doesn't crash or throw an error by chance.
There isn't really a way to make a tsprite invisible. I guess you could set the xrepeat and yrepeat to 0? Stuff like cstat 32768 is checked before a sprite makes it onto the tsprite list, not afterward.
There isn't really a way to make a tsprite invisible. I guess you could set the xrepeat and yrepeat to 0? Stuff like cstat 32768 is checked before a sprite makes it onto the tsprite list, not afterward.
#4 Posted 11 June 2020 - 01:08 AM
TerminX, on 10 June 2020 - 08:03 AM, said:
Setting it to 32767 is totally invalid and only doesn't crash or throw an error by chance.
There isn't really a way to make a tsprite invisible. I guess you could set the xrepeat and yrepeat to 0? Stuff like cstat 32768 is checked before a sprite makes it onto the tsprite list, not afterward.
There isn't really a way to make a tsprite invisible. I guess you could set the xrepeat and yrepeat to 0? Stuff like cstat 32768 is checked before a sprite makes it onto the tsprite list, not afterward.
This is a non-issue because I have long since stopped trying to use that event to make anything invisible. However, since you mentioned it:
Quote
No 16384 Sprite will be invisible but will still cast a Polymer shadow
https://wiki.eduke32...i/Cstat_(sprite)
I wonder if 32767 works by virtue of including 16384, which also causes invisibility. Some of the cstat bits, such as transparency, can be set on and change the rendering of t-sprites, so I'm not sure what "stuff like 32768" includes.
#5 Posted 11 June 2020 - 08:46 AM
"Stuff like cstat 32768" meant things which cause a sprite to have no effect on rendering at all.
Share this topic:
Page 1 of 1