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 |
|
Sara
|
9180c6d06f
|
added sprite and spritesheet
|
2023-09-24 23:40:14 +02:00 |
|
Sara
|
76c97a51c0
|
testing sprite rendering in program_run
|
2023-09-24 23:40:02 +02:00 |
|
Sara
|
5e494bac1b
|
added asset manager
|
2023-09-24 23:39:46 +02:00 |
|
Sara
|
1f46acf0f7
|
added vector art version of player sprite
|
2023-09-24 23:39:29 +02:00 |
|
Sara
|
2ebed071ce
|
reexported player sprite
|
2023-09-24 23:39:16 +02:00 |
|
Sara
|
2981e05419
|
implemented mvp for camera and tilemap rendering
|
2023-09-24 00:31:11 +02:00 |
|
Sara
|
972a4d86fa
|
added debug rule to makefile
|
2023-09-24 00:23:49 +02:00 |
|
Sara
|
ab38444790
|
implemented some of the camera functions
|
2023-09-23 22:53:07 +02:00 |
|
Sara
|
5516a70d57
|
removed references to old "Context" concepts and replaced with constants, declared camera functions
|
2023-09-23 22:52:55 +02:00 |
|
Sara
|
5b5b4c31fc
|
Added vector constants and floating point vector math functions
|
2023-09-23 22:52:23 +02:00 |
|
Sara
|
dc9d635482
|
added packaged folder to gitignore
|
2023-09-22 17:12:57 +02:00 |
|
Sara
|
a40b5d917f
|
added tiled-session to gitignore
|
2023-09-22 17:12:18 +02:00 |
|
Sara
|
661af077b2
|
refactored tilemap_load to use tiled xml format
|
2023-09-22 17:12:06 +02:00 |
|
Sara
|
b9e4599d7e
|
tiled uses -1 for transparent tiles, meaning there's no reason to keep [0] empty
|
2023-09-22 17:11:18 +02:00 |
|
Sara
|
a14a9c9894
|
added castle tilemap to resources
|
2023-09-22 17:10:38 +02:00 |
|
Sara
|
c5d79b5f0a
|
changed file extension of box.tilemap from .tmx to .xml
|
2023-09-22 17:10:27 +02:00 |
|
Sara
|
6d4676390c
|
removed tiled session file from project
|
2023-09-22 17:10:07 +02:00 |
|
Sara
|
eea4551419
|
fixed box tilemap
|
2023-09-22 17:09:41 +02:00 |
|
Sara
|
814833f8d5
|
changed debug flags
|
2023-09-22 17:05:30 +02:00 |
|
Sara
|
d5fa112253
|
created aseprite files
|
2023-09-18 08:32:39 +02:00 |
|
Sara
|
c9669c743f
|
created resources directory
|
2023-09-18 08:32:33 +02:00 |
|
Sara
|
8af94b8660
|
created tiled project and map files
|
2023-09-18 08:32:22 +02:00 |
|
Sara
|
c1207d8b8a
|
added source code
|
2023-09-18 08:32:11 +02:00 |
|