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
Lukas Krickl [Thu, 2 Oct 2025 03:27:21 +0000 (05:27 +0200)]
rectangle: point test now returns the byte after the rectangle
This may help needing to increment the pointers in the test loop.
Lukas Krickl [Wed, 1 Oct 2025 20:18:42 +0000 (22:18 +0200)]
rectangle collision: Removed redundant point comparisons
Lukas Krickl [Wed, 1 Oct 2025 16:09:29 +0000 (18:09 +0200)]
rectangle: optimized collision test by removing calls and pushes and calculating the points more directly
Lukas Krickl [Wed, 1 Oct 2025 15:53:57 +0000 (17:53 +0200)]
rectangle: added temporary storage for hl while refactoring is ongoing
Lukas Krickl [Wed, 1 Oct 2025 15:24:49 +0000 (17:24 +0200)]
rectangle: wip optimizing rectangle point test
Lukas Krickl [Tue, 30 Sep 2025 16:36:57 +0000 (18:36 +0200)]
actor: wip optimizing performacne of collision code
Lukas Krickl [Tue, 30 Sep 2025 15:32:41 +0000 (17:32 +0200)]
defs: reduced max player projectiles and rectangles
Lukas Krickl [Mon, 29 Sep 2025 14:58:59 +0000 (16:58 +0200)]
player: Shooting is now on a timer
Lukas Krickl [Mon, 29 Sep 2025 11:08:35 +0000 (13:08 +0200)]
enemy: Added test collision resolution for bullets
Lukas Krickl [Mon, 29 Sep 2025 09:24:31 +0000 (11:24 +0200)]
projectile: Added collision check for projectiles
Lukas Krickl [Mon, 29 Sep 2025 04:36:30 +0000 (06:36 +0200)]
actors: actor table is now split into logical groups
This allows making collision detection do less work
Lukas Krickl [Sun, 28 Sep 2025 16:02:00 +0000 (18:02 +0200)]
defs: Reduced actor max to 16
Lukas Krickl [Sun, 28 Sep 2025 04:18:36 +0000 (06:18 +0200)]
projectile: Added stub for player performing an attack action
Lukas Krickl [Fri, 26 Sep 2025 16:58:47 +0000 (18:58 +0200)]
player: Added cap for right and bottom of screen when moving
Lukas Krickl [Fri, 26 Sep 2025 16:15:50 +0000 (18:15 +0200)]
player: the player now spans in the bottom center of the map
Lukas Krickl [Fri, 26 Sep 2025 16:13:21 +0000 (18:13 +0200)]
actor: made the default collider smaller
Lukas Krickl [Fri, 26 Sep 2025 15:33:25 +0000 (17:33 +0200)]
actor: Added actor spawning map object
Lukas Krickl [Fri, 26 Sep 2025 09:47:52 +0000 (11:47 +0200)]
makefile: Added option to easily change symbol type
Lukas Krickl [Fri, 26 Sep 2025 08:16:56 +0000 (10:16 +0200)]
rectangle: made jumps relative
Lukas Krickl [Fri, 26 Sep 2025 08:11:11 +0000 (10:11 +0200)]
actor: collision now uses pre-computed points for the source rectangle
Lukas Krickl [Fri, 26 Sep 2025 06:48:28 +0000 (08:48 +0200)]
actor: added temporary pre-calculation for rectangle points
Lukas Krickl [Fri, 26 Sep 2025 05:13:35 +0000 (07:13 +0200)]
player: wip weapon types
Lukas Krickl [Thu, 25 Sep 2025 09:10:20 +0000 (11:10 +0200)]
player: movement now happens on the same frame again
Lukas Krickl [Thu, 25 Sep 2025 04:01:57 +0000 (06:01 +0200)]
actor: collision checks now only check points that matter when moving
Lukas Krickl [Wed, 24 Sep 2025 13:02:42 +0000 (15:02 +0200)]
player: splut up/down and left/right direction into separate frames
Lukas Krickl [Wed, 24 Sep 2025 09:20:14 +0000 (11:20 +0200)]
video: fixed oam flickering when frame is skipped
Lukas Krickl [Wed, 24 Sep 2025 08:03:57 +0000 (10:03 +0200)]
actors: Added some more demo actors to test performance
Lukas Krickl [Wed, 24 Sep 2025 07:50:15 +0000 (09:50 +0200)]
actor: Added actor -> actor collision
Lukas Krickl [Wed, 24 Sep 2025 04:33:33 +0000 (06:33 +0200)]
player: Added underflow and overflow protection to movement
Lukas Krickl [Wed, 24 Sep 2025 04:27:29 +0000 (06:27 +0200)]
rectangle: fixed collision breaking during scroll due to rectangle positions overflowing or underflowing
Lukas Krickl [Wed, 24 Sep 2025 03:33:21 +0000 (05:33 +0200)]
player: scroll only happens if a move was made
Lukas Krickl [Tue, 23 Sep 2025 20:56:46 +0000 (22:56 +0200)]
video: scroll adjust timer now does not depend on scroll adjust step
Lukas Krickl [Tue, 23 Sep 2025 20:55:15 +0000 (22:55 +0200)]
scroll adjust: made step configurable
Lukas Krickl [Tue, 23 Sep 2025 20:47:34 +0000 (22:47 +0200)]
player: Added sub-pixel movement
Lukas Krickl [Tue, 23 Sep 2025 17:08:16 +0000 (19:08 +0200)]
update: video adjust scroll now hapens in game update state instead of blank
Lukas Krickl [Tue, 23 Sep 2025 17:04:41 +0000 (19:04 +0200)]
video: vblank now skips everything but inptus if update is still pending
Lukas Krickl [Tue, 23 Sep 2025 16:22:01 +0000 (18:22 +0200)]
mapobj: map objects are not loaded as soon as the player scrolls instead of during draw
Lukas Krickl [Tue, 23 Sep 2025 15:55:55 +0000 (17:55 +0200)]
rectangle collision: fixed rect to rect collision for actors
Lukas Krickl [Tue, 23 Sep 2025 03:54:19 +0000 (05:54 +0200)]
debug: Fixed debug rect draw
Lukas Krickl [Tue, 23 Sep 2025 03:45:06 +0000 (05:45 +0200)]
debug: debug rectangle draw now uses the same point functions as collisions
This is still wip and kinda broken now
Lukas Krickl [Mon, 22 Sep 2025 18:33:37 +0000 (20:33 +0200)]
collision: wip actor -> rectangle collision
Lukas Krickl [Mon, 22 Sep 2025 17:09:16 +0000 (19:09 +0200)]
actors: test movement now loads tmp rect
Lukas Krickl [Mon, 22 Sep 2025 15:34:06 +0000 (17:34 +0200)]
actor: wip collision code
Lukas Krickl [Mon, 22 Sep 2025 07:53:11 +0000 (09:53 +0200)]
collision: wip player movement
Lukas Krickl [Mon, 22 Sep 2025 03:43:32 +0000 (05:43 +0200)]
rectangle: Added routines to get each point in a rectangle
Lukas Krickl [Sun, 21 Sep 2025 16:27:06 +0000 (18:27 +0200)]
map: Added second debug rectangle
Lukas Krickl [Sun, 21 Sep 2025 15:59:53 +0000 (17:59 +0200)]
debug: Fixed x positons for right points in debug rectangle
Lukas Krickl [Sun, 21 Sep 2025 15:55:19 +0000 (17:55 +0200)]
debug: fixed top debug rectangle draw
Lukas Krickl [Sun, 21 Sep 2025 15:49:08 +0000 (17:49 +0200)]
removed maps
Lukas Krickl [Sun, 21 Sep 2025 15:46:04 +0000 (17:46 +0200)]
debug: wip rectangle debug renderer
Lukas Krickl [Sun, 21 Sep 2025 15:08:53 +0000 (17:08 +0200)]
maps: removed legacy maps and script
Lukas Krickl [Sun, 21 Sep 2025 15:05:02 +0000 (17:05 +0200)]
map: Added rectangle loader and adjustment for rectangle position when scrolling
Lukas Krickl [Sun, 21 Sep 2025 10:03:10 +0000 (12:03 +0200)]
debug: Added debug functin switcher