TyranoBuilder Visual Novel Studio

TyranoBuilder Visual Novel Studio

[SOLVED] Store system half working- looking for help
I am making a Oregon Trail type game, and I am in the early process of making a store system for it. Right now, it is just purchase 1 item, and it works for 1 purchase. When I try to buy again the game freezes.
When you can't afford the items the loop runs fine over and over again even if you've purchased once, it is only on the second purchase attempt when you can afford it, that it freezes.
I feel like it has something to do with resetting the item after purchase but I am using mostly tyranoboxes to process variables rather than script. Any help would be appreciated.

Also, I am aware of the lack of tutorials on how to inventory and store systems. I have my inventory worked out and will make a tutorial on that soon since it seems to be a recurring question around here. I would also like to make a tutorial for implementing a store system in TB since there none going back like 10 years.
Dernière modification de JoshPocalypse; 16 déc. 2024 à 19h45
< >
Affichage des commentaires 1 à 1 sur 1
I got it working! Turns out I need another Jump Variable. I had one for a>b thinking it would work if you had exactly the amount the item cost, but I needed to add another Jump Variable for a=b.

I made aguide on setting up a basic inventory system here:
https://gtm.you1.cn/sharedfiles/filedetails/?id=3385910980

I will make a tutorial for setting up a basic shop system soon.
Dernière modification de JoshPocalypse; 16 déc. 2024 à 18h19
< >
Affichage des commentaires 1 à 1 sur 1
Par page : 1530 50