Simple JGDF : Brick Breaker

Get help on issues related to the book here!
Rank 2
Rank 2
Posts: 7
Joined: Sun May 17, 2015 7:45 am

Simple JGDF : Brick Breaker

Postby piercalca » Sat Jan 28, 2017 9:33 am

I was looking this youtube tutorial (Java Game Programming - Develop a Brick Breaker ) :

The problem here is that there is no OOP at all and the code is implemented in one big messy class.
It uses timer to implement the game loop. The interesting part is the use of a two - dimensional array
to render the bricks and handle collision.
I translated it all , with some improvements(i hope) particularly in the collision detection , in the first version of the JGDF
(the one at page 148) :


You can download the project here : ... ck_breaker).rar.html
Or here :!qQNlCIhC!7qjn8DAMZ8GH ... ojUbrXT2W0 (executable jar)!iRdkgDJC!ENBO-MviTT3W ... inQY_gx14w (full project)
I hope this could help the other beginners (like me) !

Return to “Book General Help”

Who is online

Users browsing this forum: No registered users and 1 guest