Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

Really dope, I'd love to be able to download the game file and have a look at your coding. I just don't get how I would do interest by percentage!

(3 edits)

try this:

Interest payout by percent Int (var) = 0;
Interest payout by percent Int (var) = Math.floor((Math.random() * 2) + 1);

a = $gameVariables;
accumulated interest (var) += math.round(a.value(bank money(var))/100*a.value(Interest payout by percent Int (var));
bank money (var) += accumulated interest (var);

replace "descriptive(var)" with $gameVariables.value(n)