Commit graph

2912 commits

Author SHA1 Message Date
Corwin 7665135329
refer to local paths 2024-04-04 00:54:23 +01:00
Corwin cb68d8c695
add depdendency array 2024-04-04 00:54:23 +01:00
Gwilym Inzani f354cff108
Add a mute button 2024-04-04 00:54:23 +01:00
Gwilym Inzani 489e95de9f
replace slider with a better behaved one 2024-04-04 00:54:23 +01:00
Gwilym Inzani 3323d6a4e7
Force interaction to start 2024-04-04 00:54:23 +01:00
Gwilym Inzani f944f35b61
Add itch.io scrolling protection 2024-04-04 00:54:23 +01:00
Gwilym Inzani 91dfb63fbd
Properly fullscreen 2024-04-04 00:54:23 +01:00
Gwilym Inzani 683afbf133
Make useLocalStorage actually work 2024-04-04 00:54:23 +01:00
Gwilym Inzani 472d641cfc
Remove another console log 2024-04-04 00:54:23 +01:00
Gwilym Inzani bb47bc21a5
Remove console log 2024-04-04 00:54:23 +01:00
Gwilym Inzani 7decbccbcd
Localstorage 2024-04-04 00:54:23 +01:00
Gwilym Inzani bf722ecdfa
Nicer key rebinding 2024-04-04 00:54:23 +01:00
Gwilym Inzani ce75b15716
Sort out some of the canvas CSS 2024-04-04 00:54:23 +01:00
Gwilym Inzani baab2582b5
Play the game by default 2024-04-04 00:54:23 +01:00
Gwilym Inzani 361060da6a
Use the actual defaults 2024-04-04 00:54:23 +01:00
Gwilym Inzani 203dc0cff7
Upgrade everything 2024-04-04 00:54:23 +01:00
Gwilym Inzani a1c1671b0b
Only set settings when the game loads 2024-04-04 00:54:23 +01:00
Gwilym Inzani 845a4b9244
Pause the game while you're choosing key bindings 2024-04-04 00:54:23 +01:00
Gwilym Inzani 2106c4cefd
Key just works on weird keyboard layouts 2024-04-04 00:54:22 +01:00
Corwin b97280edd4
experiment with bindings 2024-04-04 00:54:22 +01:00
Corwin 4a630fe85b
prettier'd 2024-04-04 00:54:22 +01:00
Corwin f2e5bf432b
reload doens't take a value 2024-04-04 00:54:22 +01:00
Corwin 7098e6937b
a start of a wrapper around mgba 2024-04-04 00:54:22 +01:00
Corwin ef1af49a5a
delete node env 2024-04-04 00:54:22 +01:00
Corwin 40fec52702
add vendored mgba 2024-04-04 00:54:22 +01:00
Corwin c610465ace
delete junk 2024-04-04 00:54:22 +01:00
Corwin 96f02f4917
react new app 2024-04-04 00:54:22 +01:00
Gwilym Inzani 335d69395a
Update Rust crate xmrs to 0.5 (#591)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [xmrs](https://codeberg.org/sbechet/xmrs) | dependencies | minor |
`0.4` -> `0.5` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/agbrs/agb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-04-02 20:13:28 +01:00
GBA bot 5f24660b27 Update lockfiles 2024-04-02 12:10:47 +00:00
renovate[bot] 0b7e3464ab
Update Rust crate xmrs to 0.5 2024-04-02 12:10:08 +00:00
Gwilym Inzani 6fdd961b61
Kerning support (#588)
Some fonts look a bit weird if you don't do kerning.

@corwinkuiper can you check if I've done the correct thing for object
font rendering? I'm not entirely sure... Although it does render
correctly in my tests :D

- [x] Changelog updated / no changelog update needed
2024-03-29 15:17:18 +00:00
Corwin 9cbddfec80
Use static rather than const (#529) 2024-03-29 14:51:11 +00:00
Corwin ce4882a56c
add changelog entry 2024-03-29 14:43:36 +00:00
Corwin 184b11ed81
use static rather than const 2024-03-29 14:41:08 +00:00
Gwilym Inzani 58c0e02b48 Add a changelog entry for kerning 2024-03-27 11:12:23 +00:00
Gwilym Inzani 2833045322 Add kerning support to the font rendering 2024-03-27 11:01:26 +00:00
Gwilym Inzani 92c39ecc5d
Unicode font support (#587)
![image](https://github.com/agbrs/agb/assets/460842/52dcd161-d8e4-4588-8f3e-c8dd8c2540aa)

Doesn't correctly handle accents or modifiers like that. Ligatures are
also not supported. But does correctly render any character directly in
the font :)

- [x] Changelog updated / no changelog update needed
2024-03-27 09:53:11 +00:00
Gwilym Inzani 232e5670d4 Say hello in japanese for the object_text_render example 2024-03-27 09:44:40 +00:00
Gwilym Inzani a7b017e7e7 Add a changelog entry for initial unicode support 2024-03-27 09:32:34 +00:00
Gwilym Inzani fa1de1fab7 Should be static 2024-03-27 09:30:41 +00:00
Gwilym Inzani f4efaf67a4 Add a japanese text rendering example 2024-03-27 09:26:11 +00:00
Gwilym Inzani a61fe79a6f Allow any character supported by the font 2024-03-27 09:21:06 +00:00
Gwilym Inzani dc8a6e3884 Add a japanese font to the examples ready for testing 2024-03-27 09:09:40 +00:00
Gwilym Inzani 0142decb92
Document -> DocumentMut (#586)
Build started failing last night because of this
2024-03-20 13:34:14 +00:00
Gwilym Inzani b28f3872c0 Document -> DocumentMut 2024-03-20 13:26:02 +00:00
Gwilym Inzani 33bc38a094
Update Rust crate asefile to 0.3.8 (#585)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [asefile](https://togithub.com/alpine-alpaca/asefile) | dependencies |
patch | `0.3.7` -> `0.3.8` |

---

### Release Notes

<details>
<summary>alpine-alpaca/asefile (asefile)</summary>

###
[`v0.3.8`](https://togithub.com/alpine-alpaca/asefile/blob/HEAD/CHANGELOG.md#038)

[Compare
Source](https://togithub.com/alpine-alpaca/asefile/compare/v0.3.7...v0.3.8)

-   Parse `repeat` property of a tag. [#&#8203;23]
-   Upgrade Rust edition and `bitflags` dependency [#&#8203;24]

[#&#8203;23]: https://togithub.com/alpine-alpaca/asefile/pull/23

[#&#8203;24]: https://togithub.com/alpine-alpaca/asefile/pull/24

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/agbrs/agb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-03-19 23:41:19 +00:00
GBA bot 4bf1778dec Update lockfiles 2024-03-19 23:30:08 +00:00
renovate[bot] 2a418ed38a
Update Rust crate asefile to 0.3.8 2024-03-19 23:29:33 +00:00
Gwilym Inzani f36a888771
Add changelog entry (#584)
Forgot to push the changelog entry
2024-03-13 15:45:33 +00:00
Gwilym Inzani 09ad7c2c5d Add changelog entry 2024-03-13 15:36:46 +00:00