[Sprites] Top and Bottom Angles

Requests go in THIS forum!
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
Post Reply
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

[Sprites] Top and Bottom Angles

Post by Pixel Eater »

Does anyone feel like making some sprites of the top and bottom of a DooM monster? I've written some ZScript that allows those angles but my own attempts at spriting were a bust:
And I mean the literal bust of an Imp :lol:

I think a Cacodemon might be the easiest for demonstrating the bottom angles but I'll leave that up to whoever volunteers.

To properly test the code I need the following frames, both top and bottom:
-An idle frame
-A foot forward frame (if relevant) which I can mirror
-Each attack frame
-The pain frame/s (or optionally the idle frame could be reused)
-And each death frame

The Caco for example could be done with 20 frames and all without rotations as the code handles that. What I can't decide is whether the attack frames should depict the monster's gaze tilting up or down by 45 degrees. The reasoning against is the player might not be the target of the attack, so I'm not sure :shrug:

Let me know if you're interested or have questions. Ciao!
Last edited by Pixel Eater on Wed Aug 29, 2018 6:47 am, edited 1 time in total.
User avatar
ramon.dexter
Posts: 1529
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: [Sprites] Top and Bottom Angles

Post by ramon.dexter »

Wow, that's cool. Yesterday I wondered if there is possibility to make something like that, But I thought it would need an engine modification. Looks like I was wrong.
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

Re: [Sprites] Top and Bottom Angles

Post by Pixel Eater »

Hopefully it doesn't disappoint visually and is easy enough to transfer into any project. I just need one example monster to confirm it's working properly and make the right adjustments :)
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

Re: [Sprites] Top and Bottom Angles

Post by Pixel Eater »

Okay I have come up with a system of alphabetized arrow sprites that gives me the information I need.
Top angle:

Bottom angle:


So far all I've found was that I was mirroring the bottom sprite needlessly. With that fixed I think it's fully functioning now :mrgreen:

I've made the middle Imp angry:
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

Re: [Sprites] Top and Bottom Angles

Post by Pixel Eater »

Here's a lame video while I iron some new bugs out: Video

The bugs: Apparently crushed monsters do some weird crap I didn't expect and the Lost Soul removes itself when it dies but not completely? A little confused how to deal with them :?

All sorted now! Code can be downloaded here.
User avatar
Galaxy_Stranger
Posts: 1326
Joined: Sat Aug 16, 2003 11:42 pm
Location: Shropshire
Contact:

Re: [Sprites] Top and Bottom Angles

Post by Galaxy_Stranger »

Wow, this is really cool. Wonder if this could be implemented in-engine.
User avatar
Caligari87
Admin
Posts: 6174
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: [Sprites] Top and Bottom Angles

Post by Caligari87 »

It certainly could. It won't be, for all the reasons listed every time it's brought up, including the last time that spawned this particular thread.

8-)
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

Re: [Sprites] Top and Bottom Angles

Post by Pixel Eater »

It would be nice, I feel it's necessary for mouselooking. And if one day it does become a feature, at least this little project will give people a head start on their spriting :BFG:

I'm almost finished an update now that allows up to 50 angles (or even more if requested) that should be of use to model rippers.
Post Reply

Return to “Requests”