Support for sprites with 4 rotations

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: Developers

Support for sprites with 4 rotations

Postby Marisa Kirisame » Sat Nov 10, 2018 8:12 am

We have options for 0, 8 and 16 rotations, but not for 4.

This can be hackily done at the moment using +SPRITEANGLE and then setting the sprite angle based on relative angle to the consoleplayer camera, but this obviously breaks when mirrors (and in some cases portals) are involved.
User avatar
Marisa Kirisame
ZScript Magician
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: Marisa Kirisame#4689
Twitch ID: magusmarisa

Re: Support for sprites with 4 rotations

Postby Major Cooke » Sat Nov 10, 2018 9:22 am

Front, right, back and left?
User avatar
Major Cooke
The road to Hell is paved in the carrion she leaves behind.
 
Joined: 28 Jan 2007
Discord: Major Cooke#0846

Re: Support for sprites with 4 rotations

Postby Marisa Kirisame » Sat Nov 10, 2018 4:31 pm

Exactly. Like in your typical 2D RPG.
User avatar
Marisa Kirisame
ZScript Magician
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: Marisa Kirisame#4689
Twitch ID: magusmarisa

Re: Support for sprites with 4 rotations

Postby Cherno » Sat Nov 10, 2018 7:04 pm

If it's easy to implement, I would support this featuer. There are games that only have sprites with four rotations which could be used in Doom. Alien Breed 3D comes to mind.
User avatar
Cherno
 
Joined: 06 Dec 2016

Re: Support for sprites with 4 rotations

Postby Ichor » Mon Nov 12, 2018 2:29 pm

You could use the 16 rotations for the four directions:

G, 1, 9, 2 = forward
A, 3, B, 4 = left
C, 5, D, 6 = backward
E, 7, F, 8 = right
User avatar
Ichor
The fun cannot be halted
 
Joined: 23 Jul 2003

Re: Support for sprites with 4 rotations

Postby Rachael » Mon Nov 12, 2018 2:38 pm

That's still not what the OP is asking for.

In the future when someone asks for things in this forum, please remember they don't want things that can be accomplished by hacks or clunky work-arounds. The above post qualifies as the latter, as no matter how many rotations you have there will always be 4 angles of ambiguity which could be reduced to 0 if implemented as described in the request.
User avatar
Rachael
QZDoom + Webmaster
 
Joined: 13 Jan 2004

Re: Support for sprites with 4 rotations

Postby Ichor » Mon Nov 12, 2018 2:43 pm

Rachael wrote:That's still not what the OP is asking for.

In the future when someone asks for things in this forum, please remember they don't want things that can be accomplished by hacks or clunky work-arounds. The above post qualifies as the latter, as no matter how many rotations you have there will always be 4 angles of ambiguity which could be reduced to 0 if implemented as described above.

I understand what he was asking for (support for 4 angle rotations). I was just giving an idea for the meantime, or in case the request was rejected.
User avatar
Ichor
The fun cannot be halted
 
Joined: 23 Jul 2003


Return to Feature Suggestions

Who is online

Users browsing this forum: Semrush [Bot] and 1 guest