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
(Created page with "{{#seo: |title= (Other Apps) - GameBrew |title_mode=append |image=dicebaggba2.png |image_alt=Dicebag }} {{Infobox GBA Homebrews |title=Dicebag |image=dicebaggba2.png |descript...")
 
Line 28: Line 28:


==Controls==
==Controls==
Up/Down - Change the currently selected die type (4, 6, 8, 10, 12, 20, 100, n) sided.
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
Left/Right - Decrement/Increment the number of times the selected die type should be rolled

Revision as of 13:12, 21 September 2022

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 induvidual 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: