TyranoBuilder Visual Novel Studio

TyranoBuilder Visual Novel Studio

JoshPocalypse 2024 年 12 月 16 日 下午 1:12
[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.
最后由 JoshPocalypse 编辑于; 2024 年 12 月 16 日 下午 7:45
< >
正在显示第 1 - 1 条,共 1 条留言
JoshPocalypse 2024 年 12 月 16 日 下午 5:23 
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.
最后由 JoshPocalypse 编辑于; 2024 年 12 月 16 日 下午 6:19
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50