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
Lukas Krickl [Sun, 21 Sep 2025 06:34:22 +0000 (08:34 +0200)]
debug: Added jp to hl for debug routine
Lukas Krickl [Sun, 21 Sep 2025 06:32:27 +0000 (08:32 +0200)]
debug: Added stub for debug functions
Lukas Krickl [Sun, 21 Sep 2025 04:39:09 +0000 (06:39 +0200)]
defs: removed y_hi from actors and rectangles
Lukas Krickl [Sun, 21 Sep 2025 04:27:57 +0000 (06:27 +0200)]
collision: added basic stubs for collision rectangles
Lukas Krickl [Sun, 21 Sep 2025 03:48:21 +0000 (05:48 +0200)]
map: Added wall row pattern
Lukas Krickl [Sat, 20 Sep 2025 18:03:20 +0000 (20:03 +0200)]
map: Added disable scroll object
Lukas Krickl [Sat, 20 Sep 2025 17:49:21 +0000 (19:49 +0200)]
video: Added despawn logic for actors going off-screen
Lukas Krickl [Sat, 20 Sep 2025 16:15:22 +0000 (18:15 +0200)]
scroll: fixed scrolling triggering too frequently
Lukas Krickl [Sat, 20 Sep 2025 16:01:20 +0000 (18:01 +0200)]
video: made scroll smooth
Lukas Krickl [Sat, 20 Sep 2025 15:01:19 +0000 (17:01 +0200)]
actor: adjusting actors with scroll
Fixed map row draw not wrapping when reaching end of scrn0
Lukas Krickl [Sat, 20 Sep 2025 11:40:45 +0000 (13:40 +0200)]
map: wip map scrolling
Lukas Krickl [Sat, 20 Sep 2025 11:13:11 +0000 (13:13 +0200)]
mapobj: Added basic mapobject handling.
Map objects get loaded as new map rows are drawn.
Lukas Krickl [Sat, 20 Sep 2025 07:37:21 +0000 (09:37 +0200)]
chore: Added rectangel defs
Lukas Krickl [Sat, 20 Sep 2025 07:10:16 +0000 (09:10 +0200)]
player: Added basic movement
Lukas Krickl [Sat, 20 Sep 2025 06:07:10 +0000 (08:07 +0200)]
enemy: added demo actor draw
unlink2 [Sat, 20 Sep 2025 05:14:24 +0000 (07:14 +0200)]
Merge pull request 'position rework and movement rework' (#6) from movement-rework into master
Reviewed-on: https://codeberg.org/unlink2/gbrg/pulls/6
Lukas Krickl [Sat, 20 Sep 2025 04:22:11 +0000 (06:22 +0200)]
actor: wip 16 bit positions
Lukas Krickl [Fri, 19 Sep 2025 16:27:17 +0000 (18:27 +0200)]
actor: Added generic actor draw function
Lukas Krickl [Fri, 19 Sep 2025 15:45:07 +0000 (17:45 +0200)]
actor: wip actor drawing
Lukas Krickl [Fri, 19 Sep 2025 14:52:03 +0000 (16:52 +0200)]
map: Added initial pattern page draw
Lukas Krickl [Fri, 19 Sep 2025 12:32:36 +0000 (14:32 +0200)]
map: Added def macros for various structs
Lukas Krickl [Fri, 19 Sep 2025 09:23:24 +0000 (11:23 +0200)]
map: Re-added tile bank loader
Lukas Krickl [Fri, 19 Sep 2025 08:48:34 +0000 (10:48 +0200)]
defs: wip rowpatterns
Lukas Krickl [Fri, 19 Sep 2025 07:58:35 +0000 (09:58 +0200)]
removed most test maps
Lukas Krickl [Fri, 19 Sep 2025 07:32:56 +0000 (09:32 +0200)]
rework: Removed existing map setup and actor code
Lukas Krickl [Fri, 19 Sep 2025 06:40:50 +0000 (08:40 +0200)]
updated todo
Lukas Krickl [Fri, 19 Sep 2025 06:25:02 +0000 (08:25 +0200)]
TODO: Added todo for mapobjects
Lukas Krickl [Fri, 19 Sep 2025 05:14:40 +0000 (07:14 +0200)]
added more todos
Lukas Krickl [Fri, 19 Sep 2025 05:12:20 +0000 (07:12 +0200)]
TODO: Added note
Lukas Krickl [Fri, 19 Sep 2025 05:00:04 +0000 (07:00 +0200)]
movement: Fixed tile collision checks and exits
Lukas Krickl [Fri, 19 Sep 2025 03:50:31 +0000 (05:50 +0200)]
position rework: positions are now absolute pixels
This of course broke various components
Lukas Krickl [Thu, 18 Sep 2025 17:09:11 +0000 (19:09 +0200)]
added more todos
Lukas Krickl [Thu, 18 Sep 2025 03:33:57 +0000 (05:33 +0200)]
TODO: Added todo note
Lukas Krickl [Tue, 16 Sep 2025 10:07:48 +0000 (12:07 +0200)]
removed BREAK
Lukas Krickl [Tue, 16 Sep 2025 10:07:09 +0000 (12:07 +0200)]
mapgen: fixed hl being corruped when setting actor positions.
Lukas Krickl [Tue, 16 Sep 2025 09:53:56 +0000 (11:53 +0200)]
mapgen: disabled act sg during initial map load
Lukas Krickl [Tue, 16 Sep 2025 07:05:25 +0000 (09:05 +0200)]
mapgen: fixed typo
Lukas Krickl [Mon, 15 Sep 2025 20:06:28 +0000 (22:06 +0200)]
audio: Added simple attack noise
Lukas Krickl [Mon, 15 Sep 2025 19:12:58 +0000 (21:12 +0200)]
audio: Added walk and door open sound
Lukas Krickl [Mon, 15 Sep 2025 03:36:18 +0000 (05:36 +0200)]
util: Added strz macro
Lukas Krickl [Sun, 14 Sep 2025 16:58:46 +0000 (18:58 +0200)]
debug: Added jump to debug routines
Lukas Krickl [Sun, 14 Sep 2025 15:59:11 +0000 (17:59 +0200)]
debug: made debug menu interactive
Lukas Krickl [Sun, 14 Sep 2025 10:34:57 +0000 (12:34 +0200)]
debug: Added stub for debug menu
Lukas Krickl [Sun, 14 Sep 2025 05:21:56 +0000 (07:21 +0200)]
animation: fixed timer sometimes skipping the end frame
This fix simply replaced the equality check with a greater than check.
Lukas Krickl [Sun, 14 Sep 2025 03:40:57 +0000 (05:40 +0200)]
animations: Added new attack animations to all unit types
Currently there seems to be an issue where the animations play longer than the timer.
Lukas Krickl [Sat, 13 Sep 2025 05:03:29 +0000 (07:03 +0200)]
animations: Added animation loading based on tables
This replaced the old hard-coded animations for attacks.
Lukas Krickl [Sat, 13 Sep 2025 03:52:30 +0000 (05:52 +0200)]
animations: Added stub for animation switching
Lukas Krickl [Tue, 9 Sep 2025 03:28:56 +0000 (05:28 +0200)]
animation: Added frame wait state
Lukas Krickl [Mon, 8 Sep 2025 21:10:39 +0000 (23:10 +0200)]
animation: added basic delay for animation
This probably needs a real animation timer per frame
Lukas Krickl [Mon, 8 Sep 2025 21:00:38 +0000 (23:00 +0200)]
animation: Refactored animation code
The new system allows defintion of tables.
Tables can be loaded and contain up to 3 objects.
Lukas Krickl [Mon, 8 Sep 2025 18:31:17 +0000 (20:31 +0200)]
animation: Added defs for new animation system
Lukas Krickl [Mon, 8 Sep 2025 15:20:18 +0000 (17:20 +0200)]
removed debug BREAK
Lukas Krickl [Mon, 8 Sep 2025 15:18:46 +0000 (17:18 +0200)]
animation: Added actor runtime tile offsets
Lukas Krickl [Mon, 8 Sep 2025 14:29:55 +0000 (16:29 +0200)]
actor: removed prev input rt variable
Lukas Krickl [Mon, 8 Sep 2025 03:57:29 +0000 (05:57 +0200)]
act: Added new rt value for previous inputs
Lukas Krickl [Mon, 8 Sep 2025 03:20:18 +0000 (05:20 +0200)]
shoot: Added stub for shoot action
Lukas Krickl [Sun, 7 Sep 2025 14:24:45 +0000 (16:24 +0200)]
TODO: Added todo for combat animations
Lukas Krickl [Sun, 7 Sep 2025 04:33:53 +0000 (06:33 +0200)]
actors: renamed demo actors
removed dialog entry from actor def
Lukas Krickl [Sun, 7 Sep 2025 04:11:14 +0000 (06:11 +0200)]
action: moved more functions to attack.s
Lukas Krickl [Sun, 7 Sep 2025 04:08:41 +0000 (06:08 +0200)]
action: moved melee attack to attack.s
Lukas Krickl [Sat, 6 Sep 2025 17:33:05 +0000 (19:33 +0200)]
Updated spritework
Lukas Krickl [Sat, 6 Sep 2025 15:21:24 +0000 (17:21 +0200)]
Added another note
Lukas Krickl [Sat, 6 Sep 2025 15:19:25 +0000 (17:19 +0200)]
TODO: Added todo notes
Lukas Krickl [Sat, 6 Sep 2025 03:57:21 +0000 (05:57 +0200)]
ui: Added basic mp display
Lukas Krickl [Fri, 5 Sep 2025 04:23:38 +0000 (06:23 +0200)]
rest: Added healded for display
Lukas Krickl [Thu, 4 Sep 2025 15:58:52 +0000 (17:58 +0200)]
actions: Added basic rest action
For now this action always heals the player for 1 and skips the turn.
Lukas Krickl [Thu, 4 Sep 2025 07:19:22 +0000 (09:19 +0200)]
wram: Removed unused status text buffer
Lukas Krickl [Tue, 2 Sep 2025 15:49:33 +0000 (17:49 +0200)]
reworked arrow tiles
Lukas Krickl [Tue, 2 Sep 2025 03:52:02 +0000 (05:52 +0200)]
updated font
Lukas Krickl [Mon, 1 Sep 2025 03:04:17 +0000 (05:04 +0200)]
unit: Fixed a crash when exiting the select menu
This crash was caused by the player state being set incorrectly.
Lukas Krickl [Sun, 31 Aug 2025 15:16:30 +0000 (17:16 +0200)]
action_menu: The initial draw now correctly takes the table lenth into account
Lukas Krickl [Sun, 31 Aug 2025 15:15:10 +0000 (17:15 +0200)]
select menu: the menu now renders an arrow to indicate available options
Lukas Krickl [Sun, 31 Aug 2025 06:53:31 +0000 (08:53 +0200)]
action menu: it is now possible to select an action
The player then gets forced into the action state upon confirmation
Lukas Krickl [Sun, 31 Aug 2025 05:38:52 +0000 (07:38 +0200)]
select menu: The menu can now scroll quickly
Lukas Krickl [Sun, 31 Aug 2025 04:40:18 +0000 (06:40 +0200)]
action_menu: Added basic text menu
Lukas Krickl [Sat, 30 Aug 2025 18:02:20 +0000 (20:02 +0200)]
action menu: Added initial text drawing
Lukas Krickl [Sat, 30 Aug 2025 16:10:19 +0000 (18:10 +0200)]
action menu: Added stubs for text drawing
Lukas Krickl [Sat, 30 Aug 2025 06:44:45 +0000 (08:44 +0200)]
select menu: added stub for select menu
Lukas Krickl [Sat, 30 Aug 2025 04:26:15 +0000 (06:26 +0200)]
unit_cpu: Added left and right attacks
Lukas Krickl [Sat, 30 Aug 2025 03:27:13 +0000 (05:27 +0200)]
attack: replaced binary flag for ongoing attacks with a counter
Lukas Krickl [Thu, 28 Aug 2025 07:59:50 +0000 (09:59 +0200)]
unit: dealy to active now automatically sets player turn done when the player is delaying
Lukas Krickl [Thu, 28 Aug 2025 04:17:10 +0000 (06:17 +0200)]
mapgen: Fixed crash caused by relative address absolute jump
I have no idea how this did not crash every time.
Lukas Krickl [Wed, 27 Aug 2025 16:40:34 +0000 (18:40 +0200)]
BUGS: Added note about file select crash
Lukas Krickl [Wed, 27 Aug 2025 16:31:57 +0000 (18:31 +0200)]
attack: Added player UI redraw to attack
Lukas Krickl [Wed, 27 Aug 2025 16:06:13 +0000 (18:06 +0200)]
action: delay to active after attack now uses template
Lukas Krickl [Wed, 27 Aug 2025 16:04:37 +0000 (18:04 +0200)]
unit: if delay to active waits for the attack to finish it now reruns delay to active fast