0
votes
1answer
140 views

Edge Detection on Screen

I have a edge collision problem with a simple game that i am developing. Its about throwing a coin across the screen. I am using the code below to detect edge collisions so i can make the coin bounce ...
10
votes
2answers
623 views

Good practices in screen states management? [duplicate]

I wonder what are the best ways to organize different screens in a game? I am thinking of it like this: Inheriting a base State class, and overriding update and render methods, to handle the current ...