Firstly, sorry about the name. We aren't technically suppose to touch the server file hence the odd name.
I did guys! I got our robot to be a DUCK! This did require editing the robot draw in the server3.cpp. I did however, NOT TOUCH the robot x,y position. So if we can get the tutors to download server3.cpp and Wilson.png then they will have Wilson the robot.
How:
Under server3.cpp function void drawRobot().
Under the section // draw robot image
changed the "texture.loadFromImage(robot.bkImage);" to "texture.loadFromFile("Wilson.png");".
Then changed "sf::Sprite sprite;" to "sf::Sprite sprite;(texture);"
And that was it.
Firstly, sorry about the name. We aren't technically suppose to touch the server file hence the odd name.
I did guys! I got our robot to be a DUCK! This did require editing the robot draw in the server3.cpp. I did however, NOT TOUCH the robot x,y position. So if we can get the tutors to download server3.cpp and Wilson.png then they will have Wilson the robot.
How: Under server3.cpp function void drawRobot(). Under the section // draw robot image changed the "texture.loadFromImage(robot.bkImage);" to "texture.loadFromFile("Wilson.png");". Then changed "sf::Sprite sprite;" to "sf::Sprite sprite;(texture);" And that was it.