More actions
m (Text replacement - "Category:Other GBA applications" to "") |
m (Text replacement - "Category:GBA homebrew applications" to "") |
||
Line 50: | Line 50: | ||
==External links== | ==External links== | ||
* GBADev - https://www.gbadev.org/demos.php?showinfo=655 | * GBADev - https://www.gbadev.org/demos.php?showinfo=655 | ||
Revision as of 09:34, 10 Mayıs 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.