FIXED: Flat Sprites Overhauled

Moderator: Graf Zahl

User avatar
Rachael
Developer
Developer
Posts: 3645
Joined: Sat May 13, 2006 10:30

Re: Flat Sprites Overhauled

Post by Rachael »

Major Cooke wrote:(Also, a dev tag? Shocking!)
https://github.com/coelckers/gzdoom/com ... MajorCooke

This isn't the right thread to discuss this - this is - but I figured I'd just mention it here.

It's not so much the number of submissions - but also that they have actually done some sort of notable improvement in some way.
Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

Re: Flat Sprites Overhauled

Post by Major Cooke »

Heh, yeah I know but still, I thought to have the official developer title it required actually having like what Graf has to zdoom itself: the ability to directly push code to it.

-----

While this is something of a start, it's far from correct and still needs plenty of changing. Any ideas here would be welcome.

Code: Select all

				DVector3 pos = { x, y, z };
				DAngle ang = (ViewPos - pos).Angle();
				double ancos = ang.Cos();
				double ansin = ang.Sin();

				x1 = x - (leftfac * ancos - rightfac * ansin);
				x2 = x - (rightfac * ancos + rightfac * ansin);
				y1 = y + (bottomfac * ansin - topfac * ancos);
				y2 = y + (topfac * ansin + topfac * ancos);
Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

Re: Flat Sprites Overhauled

Post by Major Cooke »

Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

Re: Flat Sprites Overhauled

Post by Major Cooke »

Image

The thing is, it tilts on the wrong side. This is without any roll in it.

I'll try messing around with your code some more now.
Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

FIXED: Flat Sprites Overhauled

Post by Major Cooke »

Here's a fix for the pitch rolling about the wrong axis.

This is the last one. It's finally ready.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: FIXED: Flat Sprites Overhauled

Post by Graf Zahl »

Yeah, I expected something like that. But it's too late for today, I'm doing the release tomorrow.
Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

Re: FIXED: Flat Sprites Overhauled

Post by Major Cooke »

Oh you pushed it back a day?

If this stalled it -- my apologies.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: FIXED: Flat Sprites Overhauled

Post by Graf Zahl »

Yes, it was just the flatsprite that stalled it.
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: FIXED: Flat Sprites Overhauled

Post by Tiger »

Graf Zahl wrote:I'm doing the release tomorrow.
Image
Last edited by Tiger on Sat Sep 17, 2016 19:26, edited 1 time in total.
Nicholas 'Tiger' Gautier
Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

Re: FIXED: Flat Sprites Overhauled

Post by Major Cooke »

@Graf: Sorry about that, a small emergency came up which inevitably forced my attention away from the fixing process.

Still, I'm so glad working on this remake is over with.

@Tiger: You'd look better if you had Puss N Boot's eyes.
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: FIXED: Flat Sprites Overhauled

Post by Tiger »

Major Cooke wrote:@Tiger: You'd look better if you had Puss N Boot's eyes.
Fixed
Nicholas 'Tiger' Gautier
Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

Re: FIXED: Flat Sprites Overhauled

Post by Major Cooke »

MUUUUUCH much better! Now just pray for Graf being a sucker for pussy eyes. :mrgreen:
ibm5155
Posts: 152
Joined: Tue Oct 25, 2011 13:05

Re: FIXED: Flat Sprites Overhauled

Post by ibm5155 »

Do you guys even coffee? heck, all those code reminds me about analytic geometry D:
User avatar
Rachael
Developer
Developer
Posts: 3645
Joined: Sat May 13, 2006 10:30

Re: FIXED: Flat Sprites Overhauled

Post by Rachael »

ibm5155 wrote:Do you guys even coffee? heck, all those code reminds me about analytic geometry D:
Only reminds you of?

What do you think 3D is?
Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

Re: FIXED: Flat Sprites Overhauled

Post by Major Cooke »

This can be closed by the way. Not sure why it's still open. :P
Locked

Return to “Closed Feature Suggestions”