lucy-musicalfish / CodingForDucks

ENGR101 Project 3 Team 23
0 stars 0 forks source link

Stephen-Server-WILSON-v.0.1 #25

Open StephenThessman opened 4 years ago

StephenThessman commented 4 years ago

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.

Liam794 commented 4 years ago

Damn nice stuff! DUCK!

lucy-musicalfish commented 4 years ago

Awesome!! Will put the new instructions for install into the readme asap