|
5e3f71f236
|
Replace snake_case to camelCase
|
2018-11-12 15:46:47 +04:00 |
|
|
d89a20134b
|
Only check for paddle collision when ball position <= paddle height.
|
2018-11-12 11:50:50 +04:00 |
|
|
d3eb876960
|
Refactor powerups, move to new package. Decrease long paddle chance to 8%
|
2018-11-12 11:33:22 +04:00 |
|
|
88428fded9
|
Keep speed of ball when hitting sticky paddle
|
2018-11-12 11:18:26 +04:00 |
|
|
a736229c18
|
Only reset ball speed to default when launching normally
|
2018-11-12 11:08:09 +04:00 |
|
|
ac27cc5e90
|
Make sure paddle reaches screen edge
|
2018-11-12 11:07:04 +04:00 |
|
|
e8901d2ed4
|
Added longer paddle powerup, fixed issues with sticky paddle bouncing
|
2018-11-12 11:02:26 +04:00 |
|
|
1f9c2e6db0
|
Decrease chance of glue powerup dropping from 50% to 8%
Increase default ball speed to 350px/sec
Change paddle speed control to time-based, 375px/sec
|
2018-11-12 09:54:07 +04:00 |
|
|
3e0d4657f2
|
Add PowerUp logic + GluePowerUp
|
2018-11-12 09:28:12 +04:00 |
|
|
28e0ed27f3
|
Entity take float in constructor instead of int
|
2018-11-12 09:27:29 +04:00 |
|
|
353afe1cee
|
Update velocity based on time delta
|
2018-11-11 21:53:18 +04:00 |
|
|
c5642f7050
|
Change rows of blocks from 10 to 7, increase height padding
|
2018-11-11 21:53:00 +04:00 |
|
|
711a5548ef
|
Added speed boost after a certain amount of bricks remain
Reset board after all bricks are destroyed
|
2018-11-11 21:50:30 +04:00 |
|
|
78d0a72217
|
Rename ball -> new_pos
Fix paddle reset
|
2018-11-11 21:25:09 +04:00 |
|
|
659fde4622
|
Use a Vector2 to track entity position.
|
2018-11-11 20:56:58 +04:00 |
|
|
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 |
|
|
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 |
|