Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ball: Collide with balls before linesHEADmaster | P. J. McDermott | 2021-03-30 | 1 | -16/+16 |
| | | | | | Seems to fix an issue of a ball getting stuck on a line when colliding with both a line and a ball in the same frame. | ||||
* | ball, map: Fix ball speed | P. J. McDermott | 2021-03-30 | 2 | -2/+5 |
| | |||||
* | ball: Avoid double bouncing off points | P. J. McDermott | 2021-03-30 | 1 | -1/+8 |
| | |||||
* | ball: Improve convex corner collisions | P. J. McDermott | 2021-03-30 | 1 | -0/+1 |
| | | | | This breaks concave collisions, however. | ||||
* | collision: Drop "=" | P. J. McDermott | 2021-03-30 | 1 | -1/+1 |
| | |||||
* | ball: Use collision lines instead of tiles | P. J. McDermott | 2021-03-30 | 1 | -28/+21 |
| | |||||
* | collision: Add basic circle-line test | P. J. McDermott | 2021-03-30 | 2 | -0/+53 |
| | |||||
* | map: Add line accessor functions | P. J. McDermott | 2021-03-30 | 2 | -0/+36 |
| | |||||
* | map: Parse ball collision lines | P. J. McDermott | 2021-03-30 | 1 | -25/+155 |
| | |||||
* | ball: Undo bounce reduction | P. J. McDermott | 2021-03-30 | 1 | -6/+1 |
| | |||||
* | Revert "[WIP] map: Merge wall tiles into hor/vert lines" | P. J. McDermott | 2021-03-30 | 1 | -37/+4 |
| | |||||
* | [WIP] map: Merge wall tiles into hor/vert lines | P. J. McDermott | 2021-03-29 | 1 | -4/+37 |
| | |||||
* | ball: Bounce off one wall per frame | P. J. McDermott | 2021-03-29 | 1 | -26/+6 |
| | |||||
* | ball: Avoid colliding with multiple coaxial walls | P. J. McDermott | 2021-03-27 | 1 | -1/+26 |
| | |||||
* | ball: Keep angle in [0, 360) | P. J. McDermott | 2021-03-27 | 1 | -1/+1 |
| | |||||
* | level: Collide balls! | P. J. McDermott | 2021-03-27 | 1 | -0/+1 |
| | |||||
* | ball: Collide with walls | P. J. McDermott | 2021-03-27 | 1 | -0/+28 |
| | |||||
* | collision: s/int/double/ in rect collision points | P. J. McDermott | 2021-03-27 | 2 | -4/+6 |
| | |||||
* | map: Remove trailing spaces | P. J. McDermott | 2021-03-27 | 1 | -2/+2 |
| | |||||
* | map: Add tile size query functions | P. J. McDermott | 2021-03-27 | 2 | -0/+14 |
| | |||||
* | ball: Add map member | P. J. McDermott | 2021-03-27 | 3 | -3/+9 |
| | |||||
* | map: Add functions to query tile collisions | P. J. McDermott | 2021-03-27 | 2 | -0/+22 |
| | |||||
* | ball: Fix floating-point remainder arithmetic | P. J. McDermott | 2021-03-27 | 1 | -1/+1 |
| | |||||
* | ball: Bounce balls off each other | P. J. McDermott | 2021-03-27 | 1 | -1/+11 |
| | |||||
* | collision: s/int/double/ in circle-circle funcs | P. J. McDermott | 2021-03-27 | 3 | -11/+11 |
| | |||||
* | ball: Don't collide spinning balls with others | P. J. McDermott | 2021-03-27 | 1 | -5/+9 |
| | |||||
* | ball, map: Convert to left-hand rule | P. J. McDermott | 2021-03-27 | 2 | -6/+5 |
| | | | | | The SDL coordinate system has a negative orientation (the positive y-axis points down). It's easier to not fight it. | ||||
* | ball: Move straight balls | P. J. McDermott | 2021-03-26 | 1 | -0/+2 |
| | |||||
* | ball: Initialize other ball in collision loop | P. J. McDermott | 2021-03-26 | 1 | -1/+1 |
| | |||||
* | map: Fix speed type conversions | P. J. McDermott | 2021-03-26 | 1 | -2/+6 |
| | |||||
* | ball: Move spinning balls | P. J. McDermott | 2021-03-26 | 3 | -0/+19 |
| | |||||
* | map: Add some sanity checks | P. J. McDermott | 2021-03-26 | 1 | -0/+10 |
| | |||||
* | map: Convert object speed from px/s to px/f | P. J. McDermott | 2021-03-26 | 1 | -1/+3 |
| | |||||
* | level: Set up event loop | P. J. McDermott | 2021-03-26 | 1 | -2/+30 |
| | |||||
* | map: Add framerate accessor | P. J. McDermott | 2021-03-26 | 2 | -0/+7 |
| | |||||
* | collision: Add rectangle/AABB collision functions | P. J. McDermott | 2021-03-26 | 2 | -0/+29 |
| | |||||
* | map: Set collision tile bit fields | P. J. McDermott | 2021-03-26 | 1 | -0/+43 |
| | |||||
* | map: Remove extra spaces in func var decls | P. J. McDermott | 2021-03-26 | 1 | -3/+3 |
| | |||||
* | tileset: Simplify rendering function logic a bit | P. J. McDermott | 2021-03-26 | 1 | -9/+3 |
| | |||||
* | tileset: Add collision functions | P. J. McDermott | 2021-03-26 | 2 | -2/+32 |
| | | | | And fix collision bit field setting. | ||||
* | tileset: Ensure there are no more than 32 tiles | P. J. McDermott | 2021-03-26 | 1 | -0/+5 |
| | |||||
* | level: Split rendering into new function | P. J. McDermott | 2021-03-25 | 1 | -25/+30 |
| | |||||
* | level: Render player and target | P. J. McDermott | 2021-03-25 | 1 | -0/+11 |
| | |||||
* | map: Save player and target GIDs | P. J. McDermott | 2021-03-25 | 3 | -18/+26 |
| | |||||
* | map: Set random angle for spinning balls | P. J. McDermott | 2021-03-25 | 1 | -0/+2 |
| | |||||
* | main: Seed RNG | P. J. McDermott | 2021-03-25 | 1 | -0/+3 |
| | |||||
* | map: Initialize all object members | P. J. McDermott | 2021-03-25 | 1 | -3/+7 |
| | |||||
* | ball: Position spinning ball | P. J. McDermott | 2021-03-25 | 1 | -2/+12 |
| | |||||
* | map: Fix object coordinates | P. J. McDermott | 2021-03-25 | 1 | -3/+3 |
| | |||||
* | ball: Render | P. J. McDermott | 2021-03-25 | 3 | -0/+21 |
| |