Commit Graph
55 Commits
Author SHA1 Message Date
jasonhilder 71617f9396 Added basic spawn points to enemies. 2026-07-26 21:45:05 +02:00
jasonhilder 5e2b954d1a Added bounds check for collision detection. 2026-07-26 21:44:16 +02:00
jasonhilder c8f3a490ee SDL gamecontroller compat list. 2026-07-24 08:28:13 +02:00
jasonhilder 2bd88c9a1b Initial timer implementation. 2026-07-24 08:27:55 +02:00
jasonhilder 211bcdc621 Help comment and cleanup. 2026-07-24 08:27:39 +02:00
jasonhilder 5f9fd670e5 Struct reorder, load file for gamepad on compile, init timer. 2026-07-24 08:27:15 +02:00
jasonhilder 58ac7d9768 Cleanup dead code, setup first timer and move dt out as argument. 2026-07-24 08:26:42 +02:00
jasonhilder efc260758b Cleaned up debug and make camera dragable. 2026-07-24 08:23:49 +02:00
jasonhilder 101ef99218 Added valgrind option to build commands. 2026-07-24 08:20:55 +02:00
jasonhilder b7b701b34a Added basic enemy textures. 2026-07-24 06:33:43 +02:00
jasonhilder fe14f2723c Added mouse drag to move debug camera. 2026-07-24 06:33:19 +02:00
jasonhilder 92717d3aef Wired first pass of enemies, testing game controller. 2026-07-23 08:35:46 +02:00
jasonhilder 5da084391e Initial enemy setup, with collisions and basic spawning.
Modified-by: Jason Hilder <jhilder95@gmail.com>
2026-07-23 08:34:46 +02:00
jasonhilder 2282947c82 Initial start on enemy boiler plate. 2026-07-21 07:42:22 +02:00
jasonhilder c93b790406 Code formatting cleanup. 2026-07-21 07:41:59 +02:00
jasonhilder a5eb374f28 Added some definitions for each tile for better map loading. 2026-07-21 07:03:41 +02:00
jasonhilder 7dc5746f4a Clamped camera to be bounded by map dims 2026-07-21 06:22:43 +02:00
jasonhilder d072c56ca5 Small refactor and rename of struct field. 2026-07-21 06:22:32 +02:00
jasonhilder 48612116ec Split inits into their respective group. 2026-07-21 06:21:59 +02:00
jasonhilder 275975f7fb Neaten player logic and add collisions. 2026-07-20 08:09:17 +02:00
jasonhilder 21ae1a2cb8 Made camera control the center point of view. 2026-07-20 08:08:45 +02:00
jasonhilder 1ddab20ca5 Extra helper functions and collision checker. 2026-07-20 08:07:45 +02:00
jasonhilder 38d2c20334 Testing world/screen space functions 2026-07-16 08:52:26 +02:00
jasonhilder a726107da7 Redid the world -> screen funcs.
Had to rework these they were wrong initially.
Added comments to make it clear what I am doing.
2026-07-16 08:52:14 +02:00
jasonhilder f2110236e3 Initial map interface. 2026-07-16 07:50:01 +02:00
jasonhilder 99c32198ec Cleanup, rename player func and add map interaction. 2026-07-16 07:49:47 +02:00
jasonhilder 433240f5b2 Removed non needed files for project. 2026-07-16 07:48:55 +02:00
jasonhilder 843d4a8bfc Corrected player pos to be centered not top left 2026-07-15 08:19:52 +02:00
jasonhilder 8149b19d4a Added debug funcs and struct to game 2026-07-15 08:19:41 +02:00
jasonhilder 1f002c3d0e Cleanup formatting 2026-07-15 08:19:28 +02:00
jasonhilder 0df61f5a76 Refined debug to only work in debug mode + dedicated struct 2026-07-15 08:18:49 +02:00
jasonhilder 99cecd1118 Removed incorrect offset calc and added basic lerp to cam. 2026-07-15 08:18:17 +02:00
jasonhilder 8c53967e82 Update sublime project 2026-07-15 08:17:46 +02:00
jasonhilder e7073b2b37 Setup initial fixed resolution rendering. 2026-07-15 06:10:42 +02:00
jasonhilder aff93c326e Initial 2d camera setup 2026-07-15 06:10:09 +02:00
jasonhilder a977b17ab6 Updated player to now use the camera and better animation. 2026-07-15 06:09:58 +02:00
jasonhilder b3447ddade Initial debug file.
Debug file will contain any debug functionality, ui, cameras, bounding
boxes etc
2026-07-15 06:09:04 +02:00
jasonhilder 56a1539953 Removed config file added mem leak check.
Removed config file did not need a whole file, moved those to the main
func as globals.
Added some odin specific memory leak tracking.
2026-07-15 06:08:13 +02:00
jasonhilder 04012c8f3e Workspace updates. 2026-07-14 07:15:28 +02:00
jasonhilder ef50288dc7 Player test textures. 2026-07-14 07:15:21 +02:00
jasonhilder 3c6a2e3b54 Initial player logic. 2026-07-14 07:15:10 +02:00
jasonhilder 7a4c562d6c Basic animator and assetmanager using it. 2026-07-14 07:15:03 +02:00
jasonhilder e8b8dd2298 Cleanup code and add initial player calls. 2026-07-14 07:14:46 +02:00
jasonhilder 5a7ed6c500 Set screen a correct screen scale. 2026-07-14 07:12:42 +02:00
jasonhilder deaa0f9121 Small cleanup/comments. 2026-07-10 08:37:14 +02:00
jasonhilder 445b451fcd Logging wrapper. 2026-07-10 08:37:04 +02:00
jasonhilder fee8d3cc04 Using new config file. 2026-07-10 08:27:40 +02:00
jasonhilder f7f34e79ed Initial config constants. 2026-07-10 08:27:32 +02:00
jasonhilder 70e6a6453c Initial asset manager. 2026-07-10 08:27:22 +02:00
jasonhilder e0a29dfa4c Initial commit for game init/shutdown code. 2026-07-10 08:03:47 +02:00