Releases: davidemodolo/ImNabboCards
v2.1.0
v2.0.1
Last big release before Nabbotaletona 2023.
Everything works as required (in theory lol).
Full screen fix
v1.5.1
Fixed a problem where, if two cards were drawn in a row, the second one would hide when the first card timer ended. This is a temporary fix since the problem persists if the two drawn cards are the same card.
v1.5.0
Before running: default values and files are already there
- put all
.png
in thedata\flutter_assets\assets\cards
folder (at least one card; no whitespace characters in the names); - put the four .mp3 files in the
data\flutter_assets\assets
folder (default.mp3
,positive.mp3
,negative.mp3
,funny.mp3
); - write the RGB color for the background in the
data\flutter_assets\assets\colorRGB.txt
file; - start the program.
IMPORTANT: the program will not run if there isn't at least one card and all the needed files.
Setup:
- long press on a card to add/remove (enable/disable) it from the pool;
- single press on a card to increase its rarity (1 to 6 and back);
- set the number of times a card can be drawn, set as
-1
if unlimited; - set the marker of each card as A, B or All (by clicking the button);
- set the sound to be played when drawn (by clicking the button);
Draw steps:
- randomly select a rarity;
- randomly select a card of such rarity;
- play the related
.mp3
sound; - 1.5s animation "from the right" that makes the drawn card appear;
- the card stays for 45 seconds;
- hide the card;
- add the drawn card to the log file;
- reduce by one the number of uses left and disable the card if it reaches
0
.
If there isn't any available card of the randomly selected rarity, it first checks the lower rarities and then the higher rarities.
e.g.: if Rarity 4 is selected and it has no cards, the check order is 3-2-1-5-6. If there isn't any card available, it returns the first card whether is active/drawable or not.
If no card is found (so there isn't any card avaliable), it returns the card at index 0.
The pool can be made by A cards, B cards or All.
v1.0.0
Before running: default value are already there
- put all
.png
in thedata\flutter_assets\assets\cards
folder - put a
.mp3
file in thedata\flutter_assets\assets
folder - write the RGB color for the background in the
data\flutter_assets\assets\colorRGB.txt
file - start the program
Setup:
- long press on a card to add/remove it from the pool
- single press on a card to increase its rarity (1 to 6 and back)
- set the number of times a card can be drawn; set it as
-1
if unlimited draw - set the marker of each card as A or B or All
Draw:
- play the
.mp3
file - randomly selects a rarity
- randomly selects a card of such rarity
- 1.5s animation from the right that makes the drawn card appear
- the card stays for 45 seconds
- hide the card
- add the drawn card to the log file and to the "Last cards" stack
Last: show the first card of the stack and remove it
Show: show the selected index card and add it to the stack
Clear: hide the current big card
The pool can be made by A cards, B cards or both.
First release
Before running:
- put all
.png
in thedata\flutter_assets\assets\cards
folder - put a
.mp3
file in thedata\flutter_assets\assets
folder - write the RGB color for the background in the
data\flutter_assets\assets\colorRGB.txt
file - start the program
Setup:
- long press on a card to add/remove it from the pool
- single press on a card to increase its rarity (1 to 6 and back)
- set the number of times a card can be drawn, set as
-1
if unlimited - set the marker of each card as A or B
Draw:
- play the
.mp3
file - randomly selects a rarity
- randomly selects a card of such rarity
- 1.5s animation from right that makes the drawn card appear
- card stays for 5 seconds
- hide the card
- add the drawn card to the log file
The pool can be made by A cards, B cards or both.