0

how to change a circle with a picture

hi so currently im making a game there's a class called "robot" for one of the objects in the game this object is controlled by user, it can move right, left, up, down and shoot enemies this is the class i made for "robot" https://code.sololearn.com/cKUO3gbP40xV/#cpp the robot can shoot using the bulletshoot and shoot2 functiions so when calling those functions in main.cpp it would be like robot1.bulletshoot and robot1.shoot2 at first, i used circles to represent the bullets but i tried to change those circles into a real bullet pic but it doesnt work in my code does anyone know how to fix it? thanks

21st Apr 2019, 10:05 AM
Annida Miftakhul Farodisa
Annida Miftakhul Farodisa - avatar
1 Réponse
+ 2
SoloLearn does not support GUI and graphical functions in C++. Cheers 👍
9th Feb 2020, 3:28 AM
Tony
Tony - avatar