Commit Graph

18 Commits

Author SHA1 Message Date
KikooDX 493eacdf55 Misc. and faster camera. 2021-01-09 10:34:00 +01:00
KikooDX f49f6719d3 Added todo to camera.c 2020-12-21 13:37:19 +01:00
KikooDX 833a1711c4 Winter cleaning 2020-12-21 12:18:55 +01:00
KikooDX b0707eebe0 Removed unnecessary SCALE 2020-09-23 16:10:31 +02:00
KikooDX e6ed0ad85e [minor] Added note on camera_init 2020-09-23 15:59:31 +02:00
KikooDX 62ca2886e9 Single screen level now use fixed camera. 2020-09-23 15:56:49 +02:00
KikooDX 52477daac0 Camera clamping in stage limits and related 2020-09-23 12:19:40 +02:00
KikooDX 62cdb1ec7f [new] Collision system base + miscellaneous code improvements and small bugfixes 2020-09-22 13:20:16 +02:00
KikooDX bc5273ed77 [bugfix] camera and scale related code, now work properly regardless of scale
You can now experience scrolling in your fancy CG50 :D
2020-09-21 19:05:46 +02:00
KikooDX a8234e35b6 Better camera offset system 2020-09-21 14:52:28 +02:00
KikooDX ac19ece235 Debug level display works, fixed mistakes here and there 2020-09-21 12:01:54 +02:00
KikooDX 134ef0588a Independent UPS, FPS, precision, unit and drawing system. 2020-09-19 14:00:46 +02:00
KikooDX 65ceff3971 Lot of bugfixes and improvements :)
- [input] Completely rewrote most of the code
- [input/camera] Renamed `*_draw` functions used in debug section to
`*_draw_debug`
- [main/input] Now use `_Bool` instead of `int` when appropriate
- [input] Added function `input_is_up`
- [player] Added function `player_draw_debug`
- [vec] Use `int` instead of `float`, new macro `VEC_PRECISION`
- [main/camera/player/vec] Updated vector related code to work with the
new system
2020-09-18 11:12:34 +02:00
KikooDX c95d92f6d1 [new system] Input manager! plus misc cleanup 2020-09-17 14:14:21 +02:00
KikooDX 316cc26539 [multiple files] More detailed Player struct, draw player function, draw camera compatible CG50, renamed Level.tiles -> Level.layers, removed layers test code from main, build for CG50 and FX9860 seamlessly 2020-09-16 11:21:05 +02:00
KikooDX d8e23cd844 Camera lerp now working, first debug visualisation implemented. A lot of other misc stuff. 2020-09-14 14:37:46 +02:00
KikooDX f58a212652 [camera] lerping and miscelanious 2020-09-14 10:33:01 +02:00
KikooDX d95c1b6cb3 Shaping out the games structure 2020-09-11 18:07:53 +02:00