Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Resolved: random gold amount in chest

ok thanks... it's late over here, and i often overlook simple things like that... for some reason i was look for something that said generate number or something... Thanks again
 
Yah it works fine but i'll take a look at your method too... the way i did the chest i ended up with a little mess of a code... it works and it makes sense to me... but it just looks messy

at the begining I have a move route so it looks like it's being opened then it's followed by

Control variable [0001] random number (10...75)
conditional branch variable [0001] == variable [0001]
change gold + variable [0001]
change items [potion], +1
show text: you got \v[0001] gold and a potion
control self switch a = on

else

branch end

the the second page just displays text if self switch a is on

for some reason it seems over complicated to me
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top