Hey guys, I am in the fifth episode of the beginner C++
I was trying to follow every step, however every time I try to run and test the box overshooting I get x < int( Graphics::ScreenWidth )
Box overshot and I don't know
Re: Box overshot and I don't know
I see you testing and adjusting only for the case where the reticle is overshooting on the right side of the screen, but not for any of the other cases. So when you hit the left it's gonna shit the bed (and x < int( Graphics::ScreenWidth ) indicates you were moving the reticle to the left).
Chili
Re: Box overshot and I don't know
I wrote the code for the left, up, and bottom, however I thought that if I start again
I will make it right
I was testing on the right
I will make it right
I was testing on the right
Re: Box overshot and I don't know
Thanks for trying, i already figured out