Beginner C++ poop game problem

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
T3kutokii
Posts: 2
Joined: December 14th, 2021, 12:36 am

Beginner C++ poop game problem

Post by T3kutokii » December 14th, 2021, 12:19 pm

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?

T3kutokii
Posts: 2
Joined: December 14th, 2021, 12:36 am

Re: Beginner C++ poop game problem

Post by T3kutokii » December 14th, 2021, 6:07 pm

Nevermind, I figured it out. :p

Post Reply