Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Dicebag GBA: Difference between revisions

From GameBrew
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#seo:
|title= (Other Apps) - GameBrew
|title_mode=append
|image=dicebaggba2.png
|image_alt=Dicebag
}}
{{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/dicebaggba.7z
|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/dicebaggba.7z
|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.


Line 38: Line 39:
A - Rolls the selected die type and displays the final result
A - Rolls the selected die type and displays the final result


B - Displays each induvidual die roll, as well as the final result
B - Displays each individual die roll, as well as the final result


==Screenshots==
==Screenshots==
Line 50: Line 51:
==External links==
==External links==
* GBADev - https://www.gbadev.org/demos.php?showinfo=655
* GBADev - https://www.gbadev.org/demos.php?showinfo=655
[[Category:GBA homebrew applications]]
[[Category:Other GBA applications]]

Latest revision as of 09:26, 23 Haziran 2024

Dicebag
Dicebaggba2.png
General
AuthorSean James (Mindlord)
TypeOther Apps
Version1.0
LicenseMixed
Last Updated2004/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

dicebaggba3.png

Credits

Using the HAM development library with HEL extensions.

Random Number Generation Code for GCC compilers.

External links

Advertising: