Sara
|
4bf759d224
|
added broadcast collision
|
2023-06-18 13:22:35 +02:00 |
Sara
|
e32eb731c2
|
simplified interpolate move comparison condition
|
2023-06-18 13:15:03 +02:00 |
Sara
|
0b32967c20
|
removed requirement for a evt_collision listener from _can_collide
|
2023-06-18 13:13:35 +02:00 |
Sara
|
8ae7d302fe
|
inverted _can_collide guard clause in interpolate_move
|
2023-06-18 11:59:13 +02:00 |
Sara
|
f8d69e3537
|
reversed order of operations in interpolate_move
|
2023-06-18 11:39:16 +02:00 |
Sara
|
1748db8412
|
Merge pull request 'Correctly render sprites' (#5) from fix-render into main
Reviewed-on: #5
|
2023-06-18 09:24:13 +00:00 |
Sara
|
d067ea6df8
|
default sprite origin in is now 0,0
|
2023-06-16 13:35:33 +02:00 |
Sara
|
0a6242ef3c
|
sprite origin is now applied to untransformed rect
|
2023-06-14 18:50:55 +02:00 |
Sara
|
a0cc95873e
|
added .helix dir to ignore
|
2023-06-14 18:50:00 +02:00 |
Sara
|
eb39cb1432
|
added .nvimrc to gitignore
|
2023-06-05 18:11:31 +02:00 |
Sara
|
17eef0eb20
|
added interpolate move
|
2023-05-28 23:59:24 +02:00 |
Sara
|
6c16e8cdbd
|
implemented simple aabb and circle collision
|
2023-05-24 21:31:50 +02:00 |
Sara
|
42ee0c4a26
|
fixed error in comment
|
2023-05-22 08:15:40 +02:00 |
Sara
|
e03037acbe
|
sprite x,y now defines location of origin on sprite
|
2023-05-22 08:10:55 +02:00 |
Sara
|
89db4253ae
|
sprites now support specifying flip
|
2023-05-14 15:04:29 +02:00 |
Sara
|
ce4638d1e9
|
origin now relative to dest size
|
2023-05-14 14:58:34 +02:00 |
Sara
|
62b4515585
|
sprite origin now percentage of source rect
|
2023-05-14 14:56:06 +02:00 |
Sara
|
04101f6427
|
fixed broken scaling in sprite rendering
|
2023-05-14 14:46:12 +02:00 |
Sara
|
2e7b3d3c4a
|
moved update_objects to after update_game
|
2023-05-14 14:20:25 +02:00 |
Sara
|
44a4b6928c
|
engine now uses displaymode to automatically start at desktop size
|
2023-05-11 21:09:49 +02:00 |
Sara
|
4d4547551c
|
make_spritesheet now works with number of tiles on x and y rather than tile width and height
|
2023-05-11 21:09:23 +02:00 |
Sara
|
6fb60c254d
|
renamed input_*down functions to input_get_*down
|
2023-05-11 21:08:13 +02:00 |
Sara
|
0a37a3278d
|
renamed input_event to input_notify_event to clarify the function
|
2023-05-11 21:07:07 +02:00 |
Sara
|
22d0200d84
|
input internal variables and functions are now static and static inline respectively
|
2023-05-11 21:05:46 +02:00 |
Sara
|
664e4561a0
|
removed testing code from game.c and player.h/player.c' (#4) merge cleanup-testing-code into main
Reviewed-on: #4
removed all testing code and assets, as well as cleanup and organization
|
2023-05-11 17:52:39 +00:00 |
Sara
|
0894e9be27
|
removed todo file
|
2023-05-11 19:50:29 +02:00 |
Sara
|
a6d63a1eef
|
removed testing assets
|
2023-05-11 19:50:25 +02:00 |
Sara
|
dfcc030f4d
|
removed player.c and player.h
these were for testing anyway
|
2023-05-11 19:50:14 +02:00 |
Sara
|
ce8cf1a0ea
|
removed load_game() because of redundancy with start_game
|
2023-05-11 19:49:58 +02:00 |
Sara
|
1e184d43c7
|
world objects and input are now managed in engine.c rather than game.c
|
2023-05-11 19:49:40 +02:00 |
Sara
|
f7696c4ea8
|
moved world functionality to corelib
|
2023-05-11 19:49:03 +02:00 |
Sara
|
b72d4ef88a
|
added better game world representation (#2)
Reviewed-on: Sara/sim-game#2
|
2023-05-08 10:17:28 +00:00 |
Sara
|
9f9cc446fe
|
switched testing player controller to wasd (from arrows)
|
2023-05-07 17:55:22 +02:00 |
Sara
|
8f7792c673
|
removed all references of ui module
since this is now a separate branch/pr
|
2023-05-07 17:55:08 +02:00 |
Sara
|
0bdfba4d11
|
added -DCMAKE_EXPORT_COMPILE_COMMANDS to debug and release build scripts
|
2023-05-07 17:54:14 +02:00 |
Sara
|
2a2ea2c784
|
compile_commands.json is now ignored
|
2023-05-07 16:10:08 +02:00 |
Sara
|
1021d04013
|
fixed nan issue in player
|
2023-05-07 16:09:19 +02:00 |
Sara
|
1034fff697
|
removed compile_commands.json
|
2023-05-07 16:09:10 +02:00 |
Sara
|
7fc3439c9c
|
removed breakpoint from debug script
|
2023-05-07 16:08:25 +02:00 |
Sara
|
d28305920f
|
added inline to static functions
|
2023-05-06 00:05:05 +02:00 |
Sara
|
76dbc26787
|
added breakpoint at main for debug
|
2023-05-06 00:01:56 +02:00 |
Sara
|
a55bf84aef
|
engine internal functions are now static inline
|
2023-05-05 23:27:08 +02:00 |
Sara
|
182cfc66cb
|
added delta_time to engine.c
|
2023-05-05 23:26:30 +02:00 |
Sara
|
cc08588b17
|
internal asset functions are now static
|
2023-05-05 23:23:41 +02:00 |
Sara
|
64b8dbcbf3
|
removed one use of memcpy and replaced with *a = *b
|
2023-05-05 23:23:04 +02:00 |
Sara
|
2457858399
|
changed many of the functions to now be static
|
2023-05-05 23:22:32 +02:00 |
Sara
|
ee2dd74566
|
added updated game to test world
|
2023-05-05 23:20:38 +02:00 |
Sara
|
6afac70411
|
added player to test world
|
2023-05-05 23:20:23 +02:00 |
Sara
|
465551e981
|
replaced tilemap with world
|
2023-05-05 23:20:07 +02:00 |
Sara
|
851714810c
|
changed to single build directory and now using debug and build sh scripts
|
2023-05-05 23:19:38 +02:00 |