|  Sara | a7846a48d9 | player is now of type Player | 2023-10-08 23:10:48 +02:00 |  | 
				
					
						|  Sara | 47264c3da3 | added tilemap collision | 2023-10-08 23:10:37 +02:00 |  | 
				
					
						|  Sara | 878b4c5595 | added debugging logs for player collision | 2023-10-08 23:10:27 +02:00 |  | 
				
					
						|  Sara | 4e966b42a8 | player now implements SpriteEntity | 2023-10-08 23:10:13 +02:00 |  | 
				
					
						|  Sara | c1e99e5038 | now initializing, ticking and cleaning physics world from program_run | 2023-10-08 23:09:41 +02:00 |  | 
				
					
						|  Sara | 25e4fa652c | added shape_new_square to construct a square collision shape | 2023-10-08 23:09:17 +02:00 |  | 
				
					
						|  Sara | d3d5382eb5 | formatting changes | 2023-10-08 23:08:56 +02:00 |  | 
				
					
						|  Sara | 49191e85ba | transform_point now more explicitly rotates input position | 2023-10-08 23:08:38 +02:00 |  | 
				
					
						|  Sara | 9783774a7b | tilesets now have a 1x1 square as a collision box & implemented tiledef_get_shape | 2023-10-08 23:08:09 +02:00 |  | 
				
					
						|  Sara | 6bb5fe7837 | tilemaps now have a rigidbody, tile instances refer to their containing tilemap | 2023-10-08 23:07:30 +02:00 |  | 
				
					
						|  Sara | 6df816e778 | added sprite entity trait | 2023-10-08 23:07:04 +02:00 |  | 
				
					
						|  Sara | ac24521b34 | camera_world_to_pixel_point now also takes camera fov into account | 2023-10-08 23:06:47 +02:00 |  | 
				
					
						|  Sara | 62410b7d72 | prefixed internal helper functions with _internal | 2023-10-07 23:00:31 +02:00 |  | 
				
					
						|  Sara | a108aa21f7 | physics entity interface now requires a callback for collisions | 2023-10-07 23:00:03 +02:00 |  | 
				
					
						|  Sara | 37008f455e | the physics world will now work for physics entities | 2023-10-07 22:59:24 +02:00 |  | 
				
					
						|  Sara | 7337592855 | added behaviour entity type | 2023-10-07 22:58:51 +02:00 |  | 
				
					
						|  Sara | b7721baeb7 | collision_check will now return 1 if there is a collision, and write collision data to the new out variables | 2023-10-07 22:58:15 +02:00 |  | 
				
					
						|  Sara | f237da1b93 | renamed self to data for transformable interface | 2023-10-07 18:43:30 +02:00 |  | 
				
					
						|  Sara | 59f6c7d1ee | moved shape overlap code to collision.c | 2023-10-07 18:42:38 +02:00 |  | 
				
					
						|  Sara | 6f49f846cc | renamed self to data for impls | 2023-10-07 18:42:28 +02:00 |  | 
				
					
						|  Sara | c136bc1494 | implemented basic player struct with impl for behaviour physics and transformable | 2023-10-07 18:42:09 +02:00 |  | 
				
					
						|  Sara | 9c0c354fcd | physics entity now extends transformable | 2023-10-07 18:41:12 +02:00 |  | 
				
					
						|  Sara | 8c78395219 | changed other type of collision to PhysicsEntity and added separation force | 2023-10-07 18:39:57 +02:00 |  | 
				
					
						|  Sara | 39625789e2 | added PhysicsEntity trait describing an object containing a rigidbody, shape and transform | 2023-10-06 23:46:27 +02:00 |  | 
				
					
						|  Sara | 32c8b93d40 | added collision struct to describe a collision between two entities | 2023-10-06 23:45:31 +02:00 |  | 
				
					
						|  Sara | a00ad5f022 | added rigidbody struct defining an object's physical properties | 2023-10-06 23:45:12 +02:00 |  | 
				
					
						|  Sara | aa7f76e8a2 | get_asset_id will now return 0 if it fails to find the given asset | 2023-10-06 23:44:43 +02:00 |  | 
				
					
						|  Sara | 883d72ff99 | json_array_len will now fail if the passed in json is not an array | 2023-10-06 23:44:15 +02:00 |  | 
				
					
						|  Sara | 0c9e840986 | added camera_world_to_pixel_point | 2023-10-06 23:43:35 +02:00 |  | 
				
					
						|  Sara | c62fed8ec2 | level_load now logs before freeing filename, fixing double free | 2023-10-06 23:43:20 +02:00 |  | 
				
					
						|  Sara | 7beb63532f | addedadded delta_time() to get last frame duration | 2023-10-06 23:42:55 +02:00 |  | 
				
					
						|  Sara | b442e493d2 | tileset_from_json now returns an error if allocation of tileset failed | 2023-10-06 23:42:38 +02:00 |  | 
				
					
						|  Sara | 26808815c8 | make debug no longer builds | 2023-10-06 23:42:05 +02:00 |  | 
				
					
						|  Sara | 7b8f3565dd | now using absolute values for vsqrmagnitudef | 2023-10-06 23:41:52 +02:00 |  | 
				
					
						|  Sara | dae9be6196 | added transformable and implemented it for Transform | 2023-10-06 23:41:30 +02:00 |  | 
				
					
						|  Sara | 238af041c8 | implemented shape class with SAT collision detection | 2023-10-06 23:40:55 +02:00 |  | 
				
					
						|  Sara | 783258e086 | Added ASSERT_RETURN and RETURN_ERROR as well as WARNING variants of each | 2023-10-02 10:45:30 +02:00 |  | 
				
					
						|  Sara | a841fa7c92 | reworked rendering to transform sprites to pixel coordinates correctly | 2023-10-01 21:58:48 +02:00 |  | 
				
					
						|  Sara | 4fcb637bbb | updated levels | 2023-10-01 15:22:34 +02:00 |  | 
				
					
						|  Sara | 6ac2fa6c4f | added keyboard input event handling | 2023-10-01 15:22:27 +02:00 |  | 
				
					
						|  Sara | 4ebe759030 | implemented tilemap rendering | 2023-10-01 15:22:17 +02:00 |  | 
				
					
						|  Sara | 124d379a3a | Updated Makefile to match new assets folder and LDtk files | 2023-09-27 16:15:02 +02:00 |  | 
				
					
						|  Sara | ad3cd94ba4 | added LDtk project file | 2023-09-27 16:14:41 +02:00 |  | 
				
					
						|  Sara | e0fd0a8ccb | modified sprites, gave up on vector artstyle | 2023-09-27 16:14:16 +02:00 |  | 
				
					
						|  Sara | 18688459e0 | maps is now levels (and uses LDtk instead of Tiled) | 2023-09-27 16:13:58 +02:00 |  | 
				
					
						|  Sara | 8ddcb2f709 | resources is now assets | 2023-09-27 16:13:41 +02:00 |  | 
				
					
						|  Sara | a89d3a1e1b | switched libxml for cjson | 2023-09-24 23:41:51 +02:00 |  | 
				
					
						|  Sara | cb869cb647 | vmulf is now a Vector*Vector multiplication, Vector*float is now vmulff | 2023-09-24 23:41:13 +02:00 |  | 
				
					
						|  Sara | 85a1798a3e | added transforms | 2023-09-24 23:40:47 +02:00 |  | 
				
					
						|  Sara | ee69c8de8c | removed xml code as prep for switching to ldtk for level editing | 2023-09-24 23:40:38 +02:00 |  |