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.
Last edited by JoshPocalypse; 16 Dec, 2024 @ 7:45pm
< >
Showing 1-1 of 1 comments
JoshPocalypse 16 Dec, 2024 @ 5:23pm 
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.
Last edited by JoshPocalypse; 16 Dec, 2024 @ 6:19pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50