Page 1 of 1

Beginner C++ poop game problem

Posted: December 14th, 2021, 12:19 pm
by T3kutokii
Hi all,

I'm having some problems with the poo game from tutorial 7, basically whenever I run the game, the poop bounces off of the bottom and the right sides of the window, but crashes whenever it is supposed to bounce off if the top or left side, specifically failing the assertions
y < int(Graphics::ScreenHeight) or x < int(Graphics::ScreenWidth), I tried messing around with the ClampScreen function, but its not yielded anything, has anyone else had this problem, if so how did you solve it?

Re: Beginner C++ poop game problem

Posted: December 14th, 2021, 6:07 pm
by T3kutokii
Nevermind, I figured it out. :p