32 Sprite Angles

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: 32 Sprite Angles

Re: 32 Sprite Angles

by mancoil » Sun Jan 26, 2020 1:26 am

Anyone able to confirm this? That it would take an engine code change to achieve this? My further fiddling with zscript has not turned up anything sadly. :(

Re: 32 Sprite Angles

by mancoil » Sun Jan 19, 2020 3:31 pm

Lol yeah that's what I figured. So I guess the only option at this point to patch the engine itself?

Re: 32 Sprite Angles

by Marisa the Magician » Sun Jan 19, 2020 5:04 am

Actually, about that, I just realized that spriteangle is still limited to the max number of rotations supported by the engine (16), it's just there for setting the angle manually (which I used to hack up a sprite with 4 rotations). I'm dumb.

Re: 32 Sprite Angles

by mancoil » Fri Jan 17, 2020 6:32 pm

Marisa Kirisame wrote:At that point wouldn't it be better to just use models? This sounds kind of overkill.

It can be done with ZScript, using the SPRITEANGLE flag and adjusting the spriteangle variable on tick, with the sole limitation that it would break with mirrors and whatnot.
I've been reading up on Zscript but I still can't figure out how I could use spriteangle to increase rather than decrease the number of rotations. Are you able to give me a bit more detail on how it would work? I'd really appreciate any help you can give :)

As for using models - I'm afraid that simply would not work. There is a very specific look I'm aiming for and increasing the angles beyond 16 is an absolute necessity.

Re: 32 Sprite Angles

by Matt » Wed Jan 15, 2020 1:52 pm

Gez wrote:I legit would love a top image so I could play robotron on the automap. :p
A bit off topic, I think it would already be playable if the actor triangles were all colour coded whether it's an inventory item, a projectile, a monster, a player, another kind of shootable, or none of the above (drawn at bottom, lower contrast if not marked as solid).

Re: 32 Sprite Angles

by mancoil » Tue Jan 14, 2020 5:50 pm

Marisa Kirisame wrote:At that point wouldn't it be better to just use models? This sounds kind of overkill.

It can be done with ZScript, using the SPRITEANGLE flag and adjusting the spriteangle variable on tick, with the sole limitation that it would break with mirrors and whatnot.
Ok cool - from what I've read about SPRITEANGLE everything seems to refer to actually reducing the number of rotations an actor has. I assume there's a way to get a sprite image name outside of the built-in rotations from the WAD and pass that to SPRITEANGLE?

Re: 32 Sprite Angles

by Enjay » Tue Jan 14, 2020 5:34 pm

Top angles have been asked about before. In fact, I think that someone managed an ACS/DECORATE implementation of some sort a few years back.
Gez wrote:robotron
I loved Robotron. Both my local pub and my local arcade had a machine. I swear I just about dislocated both shoulders hauling on those twin joysticks. :lol:

Re: 32 Sprite Angles

by Gez » Tue Jan 14, 2020 4:56 pm

I legit would love a top image so I could play robotron on the automap. :p

Re: 32 Sprite Angles

by Edward-san » Tue Jan 14, 2020 2:53 pm

Moreover, how long before someone actually asks for support to sprite angles in the longitudinal direction? (a top and a bottom sprite image sounds cool, tho)

Re: 32 Sprite Angles

by Gez » Tue Jan 14, 2020 1:31 pm

If the engine did add native support for 32 sprite angles, how long before someone asks for 64 sprite angles?

Re: 32 Sprite Angles

by Marisa the Magician » Tue Jan 14, 2020 5:33 am

At that point wouldn't it be better to just use models? This sounds kind of overkill.

It can be done with ZScript, using the SPRITEANGLE flag and adjusting the spriteangle variable on tick, with the sole limitation that it would break with mirrors and whatnot.

32 Sprite Angles

by mancoil » Tue Jan 14, 2020 3:15 am

I would like to create characters with 32 sprite angles. Does anyone know of a way to do this currently using ZScript or would there need to be a change in the engine code to allow for it?

Thanks in advance for any info... and for not questioning my sanity :)

Top