| Strida (2) | |||||||
|
I'm learning and trying 2D games development with DirectX and i'm having a little problem. I've managed to read, create and draw textures with the types:
And the functions:
I'm calling the Begin, Draw and End functions between the BeginScene() (which goes after a Clear function) and EndScene() (which is followed by a Present function). Everything is working fine, except for a little problem. The textures are being drawed bigger than their actual size. I'm not using any scale or matrix to change the textures size/position in the sprite drawing function, like described below:
If you know the solution for this problem (or what i've might done wrong), i'd be thankful if you share it here. | |||||||
|
|
|||||||
| Strida (2) | |
|
I've got the solution, thanks to Lux at the Planet Chili Forum. Link to forum: http://www.planetchili.net/forum/ Link to topic with solution: http://www.planetchili.net/forum/viewtopic.php?f=3&t=1760 | |
|
|
|