10 Commits

Author SHA1 Message Date
96b2380036 Changed colours to neutral, added check to updateBall() to prevent ball 'colliding' with the area beneath the paddle when not in contact with the paddle 2017-12-13 15:27:55 +00:00
Joe
7c66002c7a Rewritten to use structs for ball and paddle variables, thereby grouping everything together and keeping the functions simple/easy to read 2017-12-13 10:12:21 +00:00
Joe
00a089f6f9 Applied tickrate to updateBall function and introduced updatePaddle function (also using tickrate) to keep timing consistent across platforms/launch scenarios - not yet tested on Linux 2017-12-13 09:03:35 +00:00
c2bb045d5e Fixed issue with function definition mismatch. Created a basic timer; starting work on issue #1 2017-12-11 11:37:17 +00:00
Joe
f08b0d5b75 Added some comments and changed X velocity post paddle-collision to be proportional to the relative position of the ball and paddle 2017-12-10 20:39:34 +00:00
Joe
54b9eb14f0 Modified paddle to move in non-integer steps, created a ball with a function for updating based off of position relative to walls and paddle plus function to draw the ball 2017-12-10 20:24:28 +00:00
Joe
2f7a81dd9f Re-wrote to use OpenGL (based off glboilerplate/glboilerplate.c), modified window size and colour scheme to match the design doc. Implemented colour struct and background drawing function 2017-12-10 19:44:04 +00:00
Joe
ca55281463 Added a compiler condition so we can play on Windows too 2017-12-10 17:55:35 +00:00
8b2c58b1c8 Fixed a typo and swapped a few perrors for fprintfs 2017-12-07 14:33:49 +00:00
Adams Joseph
70ff7e3386 Initial commit 2017-12-07 14:17:02 +00:00