More actions
m (Text replacement - "Category:GBA homebrew applications" to "") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Infobox GBA Homebrews | {{Infobox GBA Homebrews | ||
|title=Dicebag | |title=Dicebag | ||
Line 14: | Line 8: | ||
|version=1.0 | |version=1.0 | ||
|license=Mixed | |license=Mixed | ||
|download=https://dlhb.gamebrew.org/gbahomebrews/ | |download=https://dlhb.gamebrew.org/gbahomebrews/dicebag_v1.zip | ||
|website=https://www.gbadev.org/demos.php?showinfo=655 | |website=https://www.gbadev.org/demos.php?showinfo=655 | ||
|source=https://dlhb.gamebrew.org/gbahomebrews/ | |source=https://dlhb.gamebrew.org/gbahomebrews/dicebag_v1.zip | ||
}} | |||
{{#seo: | |||
|title= (Other Apps) - GameBrew | |||
|title_mode=append | |||
|image=dicebaggba2.png | |||
|image_alt=Dicebag | |||
}} | }} | ||
Dicebag is a simple dice rolling program for the Game Boy Advance. | Dicebag is a simple dice rolling program for the Game Boy Advance. | ||
Latest revision as of 09:26, 23 Haziran 2024
Dicebag | |
---|---|
General | |
Author | Sean James (Mindlord) |
Type | Other Apps |
Version | 1.0 |
License | Mixed |
Last Updated | 2004/11/03 |
Links | |
Download | |
Website | |
Source | |
Dicebag is a simple dice rolling program for the Game Boy Advance.
Features
- An example of using an array to store data about the state of the dice.
- Examples of how to use the HAM library to initialize background modes 0 and 4.
- Examples of interacting with a tiled map mode, and use of layered backgrounds. Text appears on bg layer 1, and the dice image appears on bg layer 0.
- An example of the HEL library - specifically the hel_Splash function.
- Monitoring user input in a controlled fashion to manipulate the dice variables. Specifically using a press/release action before processing input for most actions, and using a press and hold action for viewing roll details.
Controls
Up/Down - Change the currently selected die type (4, 6, 8, 10, 12, 20, 100, n) sided
Left/Right - Decrement/Increment the number of times the selected die type should be rolled
L/R- Decrement/Increment the modifier that should be applied to the final result
Start/Select - Decrement/Increment the number of sides on the (n) sided die
A - Rolls the selected die type and displays the final result
B - Displays each individual die roll, as well as the final result
Screenshots
Credits
Using the HAM development library with HEL extensions.
Random Number Generation Code for GCC compilers.