Commit Graph

22 Commits

Author SHA1 Message Date
3feca300be Shrink ball, increase brick height, improve paddle collision, add brick collision 2018-11-11 20:42:25 +04:00
a0b0753c5e Remove redundant .nor() in nearestPoint() 2018-11-11 20:41:01 +04:00
81fc6e91c9 Refactor Block to Brick 2018-11-11 18:48:57 +04:00
053ec9829f Proper paddle collision, and slowed down the paddle 2018-11-11 18:44:43 +04:00
0a071e40d2 Render bricks first 2018-11-11 18:20:21 +04:00
8f788851b2 Add paddle collision detection
Change tracking of entity positions from int to float
2018-11-11 18:20:07 +04:00
5756c9077c Reset ball on top of battle when hitting bottom edge of screen
Render paddle from bottom-left
Change screen-edge reflection checks
Remove use of 'this' where not needed
Make BrickBuster entities private
2018-11-11 15:51:39 +04:00
ec28b8bd99 Only launch the ball if not already playing 2018-11-11 15:09:51 +04:00
79f4334cd7 Add screen edge reflection. 2018-11-11 15:07:29 +04:00
66bd930e2e Merge remote-tracking branch 'origin/master' 2018-11-11 13:13:05 +04:00
b127c62bb4 Set launch angle 2018-11-11 13:12:09 +04:00
adadca7c50 Speed up paddle 2018-11-11 12:02:22 +04:00
733f75830f Moved paddle down 2018-11-11 12:00:08 +04:00
203e3311b7 Shrunk ball again 2018-11-11 11:57:21 +04:00
4c3add8378 Removed hard-coded values, shrunk ball 2018-11-11 11:55:50 +04:00
ace35e1a2c Added paddle boundary 2018-11-11 11:47:21 +04:00
74b96990c5 Added blocks and paddle and part of ball movement. 2018-11-11 11:40:03 +04:00
6c6d5b34bf Remove badlogic.jpg 2018-11-10 23:38:37 +04:00
bb6ecf2923 Add ball and paddle 2018-11-10 22:30:23 +04:00
c9fda66879 Add update loop 2018-11-10 21:40:13 +04:00
dd6aa7da5f Basic setup 2018-11-10 21:32:04 +04:00
8f00390eed First commit 2018-11-10 20:24:31 +04:00