D3D sprites

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
User avatar
Asimov
Posts: 814
Joined: May 19th, 2012, 11:38 pm

D3D sprites

Post by Asimov » November 7th, 2012, 12:59 am

Hi Chilli,

I wonder if you will be covering D3D sprites in the intermediate tutorials.
These seem more powerful than the sprites we have been using, and can use transforms to do rotations and stuff.

Just read this interesting page, but it is a little vague.
http://www.toymaker.info/Games/html/sprites.html
----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk

User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: D3D sprites

Post by LuX » November 7th, 2012, 1:32 pm

I think that's exactly the page I learned this stuff from. There's a great demo on that page somewhere that shows how it works in better detail, all tho a lot of it is left for you to figure out.
ʕ •ᴥ•ʔ

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: D3D sprites

Post by chili » November 10th, 2012, 2:19 pm

I'll be covering D3D sprites, but not for a while.
Chili

User avatar
Asimov
Posts: 814
Joined: May 19th, 2012, 11:38 pm

Re: D3D sprites

Post by Asimov » November 10th, 2012, 2:39 pm

Hi Chilli,

Thanks, because they look dead complicated LOL.
I say this while I am trying to render a bigger box inside a smaller box heh heh.
----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: D3D sprites

Post by chili » November 10th, 2012, 3:02 pm

They aren't too hard to work with, but the concepts behind them and what's going on under the hood require a bit of background. We will get to it in time.
Chili

User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: D3D sprites

Post by LuX » November 11th, 2012, 9:07 am

To be honest, I think they are easier than using pixel arrays. They both have their advantages and disadvantages. Currently I'm only using a small part of what you can do with D3D sprites and textures, next I'm gonna try and figure out how to do effects like blur or waves, mirrors etc.

Shading is also something I need to figure out, currently my shadows are just shadow tiles with different alpha, which is fairly slow compared to the rest of the functions.
ʕ •ᴥ•ʔ

Post Reply