Lukas Krickl [Thu, 27 Nov 2025 12:53:57 +0000 (13:53 +0100)]
map: get_tile now returns a static null tile if oob coordinates are requested
Lukas Krickl [Thu, 27 Nov 2025 11:41:10 +0000 (12:41 +0100)]
actor: Added basic collision check when moving
Lukas Krickl [Wed, 26 Nov 2025 04:51:59 +0000 (05:51 +0100)]
map: vram origin is now configurable
Lukas Krickl [Wed, 26 Nov 2025 04:45:29 +0000 (05:45 +0100)]
map: maps are now 10x8 tiles
This will allow enough room for smooth scrolling to take palce
when loading a new map.
Lukas Krickl [Tue, 25 Nov 2025 05:04:28 +0000 (06:04 +0100)]
spirtes: reverted some sprites
Lukas Krickl [Mon, 24 Nov 2025 04:52:52 +0000 (05:52 +0100)]
player: reworked movement to be grid based
Lukas Krickl [Sun, 23 Nov 2025 16:01:48 +0000 (17:01 +0100)]
defs: Added act cb flags p0 and state
Lukas Krickl [Sat, 22 Nov 2025 16:01:37 +0000 (17:01 +0100)]
actors: Added combat stats ptr
Lukas Krickl [Fri, 21 Nov 2025 19:15:35 +0000 (20:15 +0100)]
tiles: Added test wall tile
Lukas Krickl [Fri, 21 Nov 2025 17:08:08 +0000 (18:08 +0100)]
actors: refactoring actor system
Lukas Krickl [Fri, 21 Nov 2025 14:17:53 +0000 (15:17 +0100)]
updated TODO
Lukas Krickl [Thu, 20 Nov 2025 16:24:16 +0000 (17:24 +0100)]
debug: fixed update tile rendereing
Lukas Krickl [Wed, 19 Nov 2025 04:14:12 +0000 (05:14 +0100)]
debug: wip added renderer for current tile
Lukas Krickl [Mon, 17 Nov 2025 12:46:20 +0000 (13:46 +0100)]
tiles: adjacent clear now uses the struct's size instead of a hard-coded value
Lukas Krickl [Mon, 17 Nov 2025 10:26:29 +0000 (11:26 +0100)]
tiles: added more docs for tile_get_adjacent
Lukas Krickl [Mon, 17 Nov 2025 09:47:58 +0000 (10:47 +0100)]
defs: Added type for tile adjacent struct
Lukas Krickl [Sun, 16 Nov 2025 08:20:00 +0000 (09:20 +0100)]
debug: Added suspend resume code
Lukas Krickl [Sun, 16 Nov 2025 07:16:27 +0000 (08:16 +0100)]
debug: added suspend update call
Lukas Krickl [Sat, 15 Nov 2025 17:09:19 +0000 (18:09 +0100)]
debug: Added debug toggle inputs
Lukas Krickl [Sat, 15 Nov 2025 13:47:36 +0000 (14:47 +0100)]
debug: Added stub for future debug features
Lukas Krickl [Fri, 14 Nov 2025 15:39:36 +0000 (16:39 +0100)]
defs: documented t_resource
only the lower 4 bits are used for resource count now.
Lukas Krickl [Fri, 14 Nov 2025 08:41:56 +0000 (09:41 +0100)]
tiles: added test for food spread
Lukas Krickl [Fri, 14 Nov 2025 05:08:17 +0000 (06:08 +0100)]
tiles: reowrked most in-game tiles
Added bg animation
Lukas Krickl [Thu, 13 Nov 2025 13:35:48 +0000 (14:35 +0100)]
tiles: modifier tiles can now be drawn
Lukas Krickl [Thu, 13 Nov 2025 04:52:19 +0000 (05:52 +0100)]
tiles: tile updates are now pre-computed
This saves a lot of time during vblank
Lukas Krickl [Wed, 12 Nov 2025 04:51:26 +0000 (05:51 +0100)]
tiles: wip refactoring tile drawing
Lukas Krickl [Tue, 11 Nov 2025 21:13:49 +0000 (22:13 +0100)]
tiles: added tile flags
Lukas Krickl [Tue, 11 Nov 2025 17:19:35 +0000 (18:19 +0100)]
tiles: adjacent tiles are now stored in an array
Lukas Krickl [Tue, 11 Nov 2025 16:30:07 +0000 (17:30 +0100)]
tiles: Added adjacnet up getters
Lukas Krickl [Mon, 10 Nov 2025 12:47:07 +0000 (13:47 +0100)]
tiles: added get adjacent tile clearing
Lukas Krickl [Sun, 9 Nov 2025 11:30:43 +0000 (12:30 +0100)]
defs: Added stub for getting adjacent tiles
Lukas Krickl [Sat, 8 Nov 2025 16:32:25 +0000 (17:32 +0100)]
tiles: tiles now call the update routine
Lukas Krickl [Sat, 8 Nov 2025 05:30:41 +0000 (06:30 +0100)]
map: added tile update call test
Lukas Krickl [Fri, 7 Nov 2025 07:32:38 +0000 (08:32 +0100)]
player: cursor now flickers to make it semi-transparent
Lukas Krickl [Wed, 5 Nov 2025 04:34:51 +0000 (05:34 +0100)]
tiles: wip added tile update logic
Lukas Krickl [Tue, 4 Nov 2025 04:39:47 +0000 (05:39 +0100)]
tiles: tiles now have an owner id
Reworked tile types to take tile owner into account
Reworked UI to take tile owner into account
Lukas Krickl [Sun, 2 Nov 2025 13:07:59 +0000 (14:07 +0100)]
ui: fixed string drawing routine
Lukas Krickl [Sun, 2 Nov 2025 12:21:23 +0000 (13:21 +0100)]
ui: wip tile rendering
Lukas Krickl [Sun, 2 Nov 2025 05:48:00 +0000 (06:48 +0100)]
TODO: Added note about food
Lukas Krickl [Sat, 1 Nov 2025 17:41:10 +0000 (18:41 +0100)]
ui: added stub for UI draw request
Lukas Krickl [Sat, 1 Nov 2025 15:56:56 +0000 (16:56 +0100)]
player: cursor is now capped to map bounds
Lukas Krickl [Sat, 1 Nov 2025 11:20:34 +0000 (12:20 +0100)]
video: scrolling does now not wrap around the screen anymore
Lukas Krickl [Sat, 1 Nov 2025 06:49:24 +0000 (07:49 +0100)]
player: Added cursor movement
fixed cursor rendering
Lukas Krickl [Thu, 30 Oct 2025 16:57:20 +0000 (17:57 +0100)]
map: wip player scrolling
Lukas Krickl [Thu, 30 Oct 2025 11:43:25 +0000 (12:43 +0100)]
map: the map loader now draws maps correctly
Lukas Krickl [Thu, 30 Oct 2025 11:19:28 +0000 (12:19 +0100)]
map: wip full map draw
Lukas Krickl [Thu, 30 Oct 2025 10:22:55 +0000 (11:22 +0100)]
map: Added tile draw routine
Lukas Krickl [Thu, 30 Oct 2025 08:55:59 +0000 (09:55 +0100)]
levels: Added tile loader
Lukas Krickl [Thu, 30 Oct 2025 06:31:59 +0000 (07:31 +0100)]
map: added stub for tiles
Lukas Krickl [Thu, 30 Oct 2025 05:36:42 +0000 (06:36 +0100)]
player: wip rendering
Lukas Krickl [Thu, 30 Oct 2025 05:13:37 +0000 (06:13 +0100)]
refactor: huge code cleanup
This change removes a lot of code for a faild map system :^)
Lukas Krickl [Wed, 29 Oct 2025 16:27:48 +0000 (17:27 +0100)]
tiles: Added stub for new tile system
Lukas Krickl [Wed, 29 Oct 2025 15:26:24 +0000 (16:26 +0100)]
Added todo note
Lukas Krickl [Wed, 29 Oct 2025 14:30:05 +0000 (15:30 +0100)]
TODO: Added todo note
Lukas Krickl [Wed, 29 Oct 2025 14:07:09 +0000 (15:07 +0100)]
updated map loader TODO notes
Lukas Krickl [Wed, 29 Oct 2025 14:00:21 +0000 (15:00 +0100)]
Updated notes
Lukas Krickl [Wed, 29 Oct 2025 13:58:45 +0000 (14:58 +0100)]
TODO: updated notes
Lukas Krickl [Wed, 29 Oct 2025 13:03:08 +0000 (14:03 +0100)]
TODO: updated todo
Lukas Krickl [Tue, 28 Oct 2025 17:47:25 +0000 (18:47 +0100)]
actor: Added ability to perform partial actor updates
Lukas Krickl [Tue, 28 Oct 2025 04:51:04 +0000 (05:51 +0100)]
enemy: guards now use jump tables instead of repeated cmps
Lukas Krickl [Mon, 27 Oct 2025 14:09:26 +0000 (15:09 +0100)]
enemy: added basic walking guard
Lukas Krickl [Sun, 26 Oct 2025 04:31:00 +0000 (05:31 +0100)]
ui: Fixed player hp display when entering hard mode
Lukas Krickl [Sat, 25 Oct 2025 03:33:41 +0000 (05:33 +0200)]
hard mode: Hard mode selector now works
Lukas Krickl [Fri, 24 Oct 2025 13:05:05 +0000 (15:05 +0200)]
game: Added hard mode flag
Lukas Krickl [Fri, 24 Oct 2025 03:25:40 +0000 (05:25 +0200)]
ui: hpmax is now a variable.
This will have to be set by hard mode.
Lukas Krickl [Thu, 23 Oct 2025 03:24:07 +0000 (05:24 +0200)]
ui: Added placeholder for enemy hp bar
Lukas Krickl [Wed, 22 Oct 2025 03:33:34 +0000 (05:33 +0200)]
ui: added player hp bar
Lukas Krickl [Tue, 21 Oct 2025 14:54:45 +0000 (16:54 +0200)]
ui: wip hp draw
Lukas Krickl [Sat, 18 Oct 2025 10:49:00 +0000 (12:49 +0200)]
sprites: update sprites and renamed basic weapon to arrow
Lukas Krickl [Fri, 17 Oct 2025 06:04:52 +0000 (08:04 +0200)]
ui: wip hp display
Lukas Krickl [Fri, 17 Oct 2025 04:47:25 +0000 (06:47 +0200)]
tiles: Added hp bar tiles
Lukas Krickl [Thu, 16 Oct 2025 04:59:30 +0000 (06:59 +0200)]
player: Added debug hp output
Lukas Krickl [Wed, 15 Oct 2025 12:25:51 +0000 (14:25 +0200)]
ui: wip adding ui elements
Lukas Krickl [Tue, 14 Oct 2025 04:18:20 +0000 (06:18 +0200)]
player: Added basic walking animation
Lukas Krickl [Sun, 12 Oct 2025 05:17:51 +0000 (07:17 +0200)]
player: reworked player tile to only take a single tile
Added weapon rendering system
Lukas Krickl [Sat, 11 Oct 2025 18:38:38 +0000 (20:38 +0200)]
mainmenu: level transition now only happens if the player walks up
Lukas Krickl [Sat, 11 Oct 2025 17:18:14 +0000 (19:18 +0200)]
player: updated player gfx
Lukas Krickl [Sat, 11 Oct 2025 16:25:43 +0000 (18:25 +0200)]
mainmenu: Added test for easy/hard mode selector
Lukas Krickl [Sat, 11 Oct 2025 15:19:50 +0000 (17:19 +0200)]
map: Added main menu map
For now this map just loads l1 right away.
In the future there will be a menu here :)
Lukas Krickl [Fri, 10 Oct 2025 16:14:33 +0000 (18:14 +0200)]
map: l1 now has correct collision
Lukas Krickl [Fri, 10 Oct 2025 15:43:45 +0000 (17:43 +0200)]
mapobj: it is now no longer possible to create a 0-size rectangle
Lukas Krickl [Fri, 10 Oct 2025 15:13:37 +0000 (17:13 +0200)]
map: Added new rectangle clear object.
This object allows the targeted removal of all collision objects.
This is way more straight forward than automatically clearing large rectangles.
Lukas Krickl [Fri, 10 Oct 2025 07:16:57 +0000 (09:16 +0200)]
projectile: Added shoot and hit noise
Lukas Krickl [Fri, 10 Oct 2025 04:41:56 +0000 (06:41 +0200)]
video: reverted rectangle despawn to use bottom corner
This will need some rework later. Using the bottom corner caps
the possible size of rectangles.
Lukas Krickl [Tue, 7 Oct 2025 04:13:52 +0000 (06:13 +0200)]
map: wip rectangle defs
Lukas Krickl [Tue, 7 Oct 2025 04:00:29 +0000 (06:00 +0200)]
video: rectangles now despawn if the top corner is off-screen
Lukas Krickl [Tue, 7 Oct 2025 03:45:29 +0000 (05:45 +0200)]
porjectile: projectile hitboxes are now smaller
Lukas Krickl [Mon, 6 Oct 2025 03:28:59 +0000 (05:28 +0200)]
map: map arrow animation now does not run obj check anymore if the animation is already running
Lukas Krickl [Sun, 5 Oct 2025 15:02:42 +0000 (17:02 +0200)]
map: Fixed map arrow animation not clearing correctly
Lukas Krickl [Sun, 5 Oct 2025 14:01:13 +0000 (16:01 +0200)]
video: position adjustment now only affects enemies and the player
Lukas Krickl [Sun, 5 Oct 2025 13:58:25 +0000 (15:58 +0200)]
map: added GO arrow to start of l1
Lukas Krickl [Sun, 5 Oct 2025 11:19:47 +0000 (13:19 +0200)]
map: Added more patterns to l1
Lukas Krickl [Sun, 5 Oct 2025 10:07:05 +0000 (12:07 +0200)]
map: Added map enable scroll if all enemis are defeated check
Lukas Krickl [Sun, 5 Oct 2025 05:54:40 +0000 (07:54 +0200)]
map: Added up arrow animation
Lukas Krickl [Sun, 5 Oct 2025 04:08:33 +0000 (06:08 +0200)]
map: Added map routine and map object that can set map routines
Lukas Krickl [Sat, 4 Oct 2025 19:20:57 +0000 (21:20 +0200)]
video: scrolls now happen on a per-pixel basis
map objects and draws happen every 16th scroll.
Lukas Krickl [Sat, 4 Oct 2025 18:51:19 +0000 (20:51 +0200)]
update: oam now only clears the unused objects each frame
Lukas Krickl [Sat, 4 Oct 2025 05:58:56 +0000 (07:58 +0200)]
porjectile: Added player check
Lukas Krickl [Sat, 4 Oct 2025 05:08:25 +0000 (07:08 +0200)]
projectile: Added p0 flag to indicate if projectile is owned by player or enemy
Lukas Krickl [Fri, 3 Oct 2025 04:17:55 +0000 (06:17 +0200)]
hram: Added hram defs for backup registers