Sara
|
eee5e38bb1
|
added FULLSCREEN_DESKTOP flag to window creation
|
2023-11-02 19:39:19 +01:00 |
|
Sara
|
c1eb70d0f8
|
disabled debug drawing of tilemap collision shapes
|
2023-11-02 19:39:07 +01:00 |
|
Sara
|
1a822754b3
|
added epsilon value to linear constraint check
|
2023-11-02 18:11:34 +01:00 |
|
Sara
|
0704378f1a
|
player is now managed by game world
|
2023-11-02 14:28:45 +01:00 |
|
Sara
|
8275732530
|
program now integrates game world
|
2023-11-02 14:28:40 +01:00 |
|
Sara
|
29e7b34b3f
|
created game world module to manage and run Behaviour Entities
|
2023-11-02 14:28:32 +01:00 |
|
Sara
|
a6d50decc7
|
player now has a constructor and implements drop
|
2023-11-02 14:27:14 +01:00 |
|
Sara
|
674d1b55fb
|
behaviour entity trait now requires drop trait and a draw function
|
2023-11-02 14:26:21 +01:00 |
|
Sara
|
cf001bd2d6
|
added Drop trait to allow more automated memory management
|
2023-11-02 14:25:53 +01:00 |
|
Sara
|
70bbd51ef7
|
removed run.gdb as it is no longer used by make run
|
2023-11-01 23:02:18 +01:00 |
|
Sara
|
9fe2fbe80a
|
removed make run rule
|
2023-11-01 23:01:45 +01:00 |
|
Sara
|
6e75cb6f49
|
removed debugging code from tilemap loading
|
2023-11-01 23:01:38 +01:00 |
|
Sara
|
0e3a4b1772
|
debug drawing code for tilemaps can now be turned off
|
2023-11-01 23:01:28 +01:00 |
|
Sara
|
1d46d9dc6f
|
player spawns more to the right now
|
2023-11-01 23:01:10 +01:00 |
|
Sara
|
5408ac3ad0
|
newline at the end of the file
|
2023-11-01 23:00:58 +01:00 |
|
Sara
|
26bb95f6c5
|
now using new signature for externally exposed collision_invert
|
2023-11-01 23:00:53 +01:00 |
|
Sara
|
af0a2bfa33
|
removed old range comparison
|
2023-11-01 23:00:32 +01:00 |
|
Sara
|
b65cba928b
|
collision_invert is now externally visible
|
2023-11-01 23:00:09 +01:00 |
|
Sara
|
4438070170
|
reworked _internal_collision_overlap to be more verbose
|
2023-11-01 22:59:48 +01:00 |
|
Sara
|
22709234cd
|
reworked overlap range so that it now detects 'inverse' collisions
|
2023-11-01 22:59:12 +01:00 |
|
Sara
|
f5a9b3e8c6
|
modified collision points on a tile
|
2023-10-25 23:25:45 +02:00 |
|
Sara
|
f7dd618cbc
|
removed expiry
|
2023-10-25 23:25:27 +02:00 |
|
Sara
|
d52ae5fe45
|
changed jump speed and reordered collision shape points for player
|
2023-10-25 23:25:23 +02:00 |
|
Sara
|
77c266b43f
|
simplified collecting contacts by removing expiry and just clearing the list
|
2023-10-25 23:25:04 +02:00 |
|
Sara
|
1e039c310b
|
negative key for a key action will now be bound to unknown scancode
|
2023-10-25 23:24:44 +02:00 |
|
Sara
|
2fa75e6ced
|
added F1 keybind to cycle through log verbosity
|
2023-10-25 23:24:26 +02:00 |
|
Sara
|
0827f9467c
|
added g_debug_log_lvl
|
2023-10-25 23:24:03 +02:00 |
|
Sara
|
ecbe0b317a
|
modified order of points in a tile collision shape
|
2023-10-25 23:23:51 +02:00 |
|
Sara
|
60743f556f
|
updated levels
|
2023-10-25 20:28:22 +02:00 |
|
Sara
|
38e277c3ae
|
loading a tileset now also loads it's collision information
|
2023-10-25 20:28:11 +02:00 |
|
Sara
|
34b08282fc
|
tilemap collision debug info is now drawn after the tilemap
|
2023-10-25 20:27:43 +02:00 |
|
Sara
|
640d12ab18
|
Shape can now be created without points
|
2023-10-25 20:27:19 +02:00 |
|
Sara
|
043d93a6ae
|
changed colour of collision edge debug display
|
2023-10-25 20:26:57 +02:00 |
|
Sara
|
57ef426982
|
removed duplicate assignment from rigidbody_add_contact
|
2023-10-25 20:26:46 +02:00 |
|
Sara
|
def06c4018
|
changed shape of player collision shape
|
2023-10-25 20:25:49 +02:00 |
|
Sara
|
023d9ba2ec
|
added support for tiles without a collision shape
|
2023-10-25 20:25:42 +02:00 |
|
Sara
|
8b6cc6d319
|
removed duplicate on_collision call from physics_world
|
2023-10-25 20:25:31 +02:00 |
|
Sara
|
73f40863db
|
now exiting physics_world_remove_entity when an entity is found and removed
|
2023-10-25 20:25:12 +02:00 |
|
Sara
|
f11ffc13ff
|
simplified list_foreach loop with a single-line body
|
2023-10-25 20:24:50 +02:00 |
|
Sara
|
fccd08466a
|
player now hardcoded to spawn in the level rather than on top of it
|
2023-10-25 20:24:29 +02:00 |
|
Sara
|
eeb1e1d438
|
added CHECK assertion macro
|
2023-10-25 20:24:08 +02:00 |
|
Sara
|
3e6ee52d3e
|
moved "no collision" in _internal_collision_get_overlap
|
2023-10-25 20:24:00 +02:00 |
|
Sara
|
46602abbae
|
inverted incorrectly oriented comparison in collision_check
|
2023-10-25 20:23:28 +02:00 |
|
Sara
|
63ce106c78
|
updated levels
|
2023-10-25 20:23:05 +02:00 |
|
Sara
|
3f8353a070
|
reimported player sprite
|
2023-10-25 14:12:00 +02:00 |
|
Sara
|
75e5feecf2
|
player can only adjust movement when on the ground
|
2023-10-25 14:11:43 +02:00 |
|
Sara
|
8efbcee7f3
|
removed debug draw call from fencer.c
|
2023-10-25 14:11:31 +02:00 |
|
Sara
|
3033f36c90
|
changed player hair
|
2023-10-25 14:11:12 +02:00 |
|
Sara
|
fa7c03dafc
|
made more space in level_0
|
2023-10-25 14:11:08 +02:00 |
|
Sara
|
23454d3065
|
PhysicsEntity::on_collision will now be called for contacts
|
2023-10-25 12:18:17 +02:00 |
|