Commit graph

3018 commits

Author SHA1 Message Date
Corwin f8d4620ed5
update site 2024-04-04 00:54:23 +01:00
Corwin e1453cb4c8
build mgba wasm 2024-04-04 00:54:23 +01:00
Corwin a7de8c07d2
move mgba app to own directory 2024-04-04 00:54:23 +01:00
Corwin dc2d969930
auto overflow 2024-04-04 00:54:23 +01:00
Corwin fb5414a036
itch specific changes 2024-04-04 00:54:23 +01:00
Corwin 064a919bd6
handle overflow of dialog 2024-04-04 00:54:23 +01:00
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