SFML community forums
Help => Graphics => Topic started by: player931402 on October 19, 2011, 04:01:20 pm
-
hi all!
In this month i start to work on a RPG game.
I have divided my map ( 1600x1600 ) with a matrix 32x32 ( matrix got, for esample, 01 when the way is clean but reduce your velocity )
Now, i need to create an immage with the exactly size of one box of the matrix
Math say me: U got square matrix and square map-> 1600/32 -> 50 <- size of the side of the square
BUT, why this not work? if i load an image 50x50 i can see that the image size is much larger than those of the matrix
Why this happens? Any suggest?
P.s.: Sorry for my bad eng >.<
Enjoy!
-
Show some code
-
Show some code
no code for this..
i wanna only say why if ( im sure ) i have 32x32 matrix on 1600x1600 map a box is not large 50 pixel >.<
-
Sorry but I can't understand what are you trying to solve. If you load an image, it'll be drawn with its original size.
Anyway you can change the image size, using resizing or scaling functions.
no code for this..
Note that there are very good programmers here, and be sure that all of them easily would be able to develop any kind of game. So don't be afraid of showing a piece of code if you want some useful help.
We all want to help everybody. :wink: