Hi i would like to build a c++ game with SFML graphic library
now i see sprites can move using floats ( sprite.move(+x,+y) )
how do i connect between the graph ( configured by a matrix ) and the graphic library?
since the graphic library uses floats and set positions how do i tell which spot is
the graph location? and how much do i need to move when i press RIGHT in order
to get to graph?
simple explanation would be great just need to understand and i will write the code
have so far:
graph size with all cells = true ( can move anywhere)
need help :
configuring each player to a right location depending on the graph
(i read a game map from a file. if first char is X i want X image to be
displayed on the screen but on the graph it will be on graph)