Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

kwakgames

2
Posts
A member registered 5 days ago · View creator page →

Creator of

Recent community posts

Thanks! For the grid, I started with a base value. Every physics tick, which is 60 times per second, a coin is flipped with probability p to be a downward graph or probability 1-p for an upwards graph. Then, a random number is picked from 0% to x% to increase or decrease the previous value.

This enabled me to create the improvement system. If you choose to have a 6% higher chance for the graph to go down, the p of the coin flip is increased to match the graph going down 6% times more. If upward trends are 8% heavier, the random number from 0% to x% gets an 8% higher upper bound for upwards trends.

Thanks! The minimalistic style is a personal constraint as I started doing game dev just last week. Since being a programmer is my day job, coding every pixel was easier than learning how to create and use sprites