|
|
562d47a723
|
feat(music): add gameplay background music
|
2025-11-09 06:58:26 +01:00 |
|
|
|
eb7486f57c
|
feat(menu): play "menu enter" sound when button action is triggered
|
2025-10-28 09:52:58 +01:00 |
|
|
|
ef798896c3
|
feat(menu): use list.SetSelected() on Enter() so that no audio is played.
|
2025-10-28 09:47:50 +01:00 |
|
|
|
f3d7995bc2
|
feat(ui): add ListBox.SetSelected()
this function will set the selected widget without triggering a onSelect event.
|
2025-10-28 09:47:19 +01:00 |
|
|
|
46552f0ed2
|
chore(version): Bump to 1.1.0
|
2025-10-28 07:44:12 +01:00 |
|
|
|
fd15ed0b11
|
chore: setup git-cliff
|
2025-10-28 07:43:17 +01:00 |
|
|
|
e5c86a1528
|
chore: add trimpath and ldflags to build command
|
2025-10-28 06:38:56 +01:00 |
|
|
|
8a02249845
|
feat: implement persistant configuration
|
2025-10-28 06:38:56 +01:00 |
|
|
|
30b194619f
|
feat(ui): add options menu
|
2025-10-28 06:38:56 +01:00 |
|
|
|
7d5d5b9a54
|
feat(engine): add number clamping functions
|
2025-10-28 06:38:56 +01:00 |
|
|
|
6cf0e4abb4
|
feat(ui): implement new ui system
|
2025-10-28 06:38:56 +01:00 |
|
|
|
d407eaad8b
|
feat(render): adding DrawRectOutlineBorder()
|
2025-10-28 06:38:56 +01:00 |
|
|
|
3d3e8d7a44
|
feat(input): add KeyPressedWithRepeat()
|
2025-10-28 06:38:56 +01:00 |
|
|
|
678670fd37
|
feat(audio): add SetVolume() and Volume()
|
2025-10-28 06:38:56 +01:00 |
|
|
|
d1ed55677e
|
feat: dont close application when user presses Esc key
|
2025-10-28 06:38:56 +01:00 |
|
|
|
0bc5863284
|
feat(ui): call onSelect in Select() function and make Next()/Previous() use that function
|
2025-10-28 06:38:55 +01:00 |
|
|
|
a1756549f9
|
feat(ui): menu should not call audio module directly, make it more modular with and onSelect event callback
|
2025-10-28 06:38:55 +01:00 |
|
|
|
bcd6025aa3
|
refactor: move ui code from game/state/handlers/menu.go to its own package in game/ui
|
2025-10-28 06:38:55 +01:00 |
|
|
|
190c6ad914
|
chore: rename Rows to Lines in Grid as Lines are more common in tetris.
|
2025-10-28 06:38:55 +01:00 |
|
|
|
db9ec53d35
|
feat: add line clear animation
|
2025-10-28 06:38:55 +01:00 |
|
|
|
fdab0a1992
|
v1.0
|
2025-10-28 06:38:55 +01:00 |
|
|
|
02a915b837
|
chore: update readme and add license
|
2025-10-08 09:57:52 +02:00 |
|
|
|
ca481ad7c7
|
feat(menu): put entries rendering into its own function
|
2025-10-07 18:19:35 +02:00 |
|
|
|
9b11f3b220
|
feat(menu): draw logo
|
2025-10-06 18:51:15 +02:00 |
|
|
|
dc83316886
|
feat(assets): adding logo data
|
2025-10-06 18:47:27 +02:00 |
|
|
|
4319ec55e5
|
feat(gameover): make gameover state abit more interesting.
|
2025-10-06 18:15:40 +02:00 |
|
|
|
53ac3840ba
|
feat(gameover): only allow the user to switch state after the gameover sound has been played.
|
2025-09-26 12:10:54 +02:00 |
|
|
|
1b187d7412
|
fix(audio): implement IsPlaying() correctly
cant use rl.IsSoundPlaying() because we create sound aliases.
so we must look at the sm.active slice instead
|
2025-09-26 12:09:05 +02:00 |
|
|
|
cb6e66bc45
|
chore: add editorconfig
|
2025-09-25 21:57:52 +02:00 |
|
|
|
57e57f3037
|
feat: set window icon
|
2025-09-25 05:12:04 +02:00 |
|
|
|
93736e060e
|
feat(engine): add LoadImageFromMemory()
|
2025-09-25 05:12:04 +02:00 |
|
|
|
5b54466018
|
feat(assets): add icon
|
2025-09-25 05:12:04 +02:00 |
|
|
|
634fd7ce40
|
chore(makefile): add .PHONY target again
|
2025-09-24 20:15:58 +02:00 |
|
|
|
213b9a0d9e
|
chore: fix build for windows
|
2025-09-24 20:13:56 +02:00 |
|
|
|
1468b1c025
|
v0.13
|
2025-09-24 19:48:57 +02:00 |
|
|
|
8f8be3d6f7
|
feat(gameover): center text
|
2025-09-24 19:48:57 +02:00 |
|
|
|
dcad4ad0a5
|
feat(gameover): play gameover sound
|
2025-09-24 19:48:57 +02:00 |
|
|
|
9f055c6bb8
|
feat(assets): add gameover sound
|
2025-09-24 19:48:57 +02:00 |
|
|
|
68b67e4585
|
feat(menu): play sound effects.
|
2025-09-24 19:48:57 +02:00 |
|
|
|
7c02075075
|
feat(assets): add menu sound effects
|
2025-09-24 19:48:34 +02:00 |
|
|
|
288e710b9f
|
feat: improve menu
|
2025-09-24 19:48:34 +02:00 |
|
|
|
35e73f2b37
|
feat(fsm): make the special state "quit" exit the fsm.
|
2025-09-24 18:32:50 +02:00 |
|
|
|
346cf350d8
|
feat(render): add DrawTextCenter()
|
2025-09-24 18:31:10 +02:00 |
|
|
|
cd750a5508
|
fix: reset state on Enter()
|
2025-09-24 18:03:28 +02:00 |
|
|
|
54a7821df0
|
feat: detect game over condition and switch state.
|
2025-09-24 18:02:07 +02:00 |
|
|
|
cae34a52aa
|
feat: start the machine in the menu state
|
2025-09-21 12:18:52 +02:00 |
|
|
|
b8397aefdb
|
feat: register menu and gameover states.
|
2025-09-21 12:18:32 +02:00 |
|
|
|
6d15a806f6
|
feat: add basic game over state
|
2025-09-21 12:18:02 +02:00 |
|
|
|
53a31ea8ad
|
feat: add basic menu state
|
2025-09-21 12:17:53 +02:00 |
|
|
|
29225b7007
|
feat: refactor gameplay logic from main.go to a state machine handler.
|
2025-09-21 12:16:42 +02:00 |
|