A little Help beginner C++ series, Fart Annoyed - Ball trouble
Posted: January 9th, 2020, 2:19 am
Hey there forum, I'm really enjoying the beginner C++ series. The immediate visual way into looking at C++ is soo much better than anything I've tried before.
I'm just now trying to code up Fart Annoyed without peeking too much at the videos, I've got a pretty good start, I have the RectF function and my bricks all behaving as far as I can tell.
I'm stuck on the Ball. It's all drawn and rendering fine, Update() is providing it with a velocity as I'd like. I cannot for the life of me get it to take a RectF with which to make it rebound off of the "window" RectF which I've setup in Game. Currently, it doesn't seem to be initialising the ball boundary with any real values (position, radius, radius) so the ball vibrates madly on the screen?
Also, I would love to share the solution folder but I'm having trouble slimming down my Solution folder which is currently running at 1.02Gb?! Any suggestions greatly received.
Many thanks to all!
I'm just now trying to code up Fart Annoyed without peeking too much at the videos, I've got a pretty good start, I have the RectF function and my bricks all behaving as far as I can tell.
I'm stuck on the Ball. It's all drawn and rendering fine, Update() is providing it with a velocity as I'd like. I cannot for the life of me get it to take a RectF with which to make it rebound off of the "window" RectF which I've setup in Game. Currently, it doesn't seem to be initialising the ball boundary with any real values (position, radius, radius) so the ball vibrates madly on the screen?
Also, I would love to share the solution folder but I'm having trouble slimming down my Solution folder which is currently running at 1.02Gb?! Any suggestions greatly received.
Many thanks to all!