Search found 26 matches

by Draite
Fri Mar 20, 2020 3:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Invalid Token Error on identical code
Replies: 3
Views: 257

Invalid Token Error on identical code

I'm currently setting up a bunch of default items for an inventory system and while working on it I got an Invalid Token error on some of the defaults, but not on others. The code is essentially all copy pasted with only superficial changes so I don't know what's causing the issue. default item_tras...
by Draite
Mon Feb 24, 2020 11:38 pm
Forum: Ren'Py Questions and Announcements
Topic: Saving and Loading Information Stops Working?
Replies: 4
Views: 509

Re: Saving and Loading Information Stops Working?

Thank you so much. I think this has fixed it. *Fingers crossed*
by Draite
Thu Feb 13, 2020 7:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Saving and Loading Information Stops Working?
Replies: 4
Views: 509

Re: Saving and Loading Information Stops Working?

Locations are defined like this define south_forest_02 = Location("gui/button/map_locale_generic_","bg forest_day","bg forest_night",924,532,"Southern Forest 02","scene_forest.south_02", [["scav_forest.big_stick",1,"any","any",0,24],["scav_forest.flowers",3,"any","any",0,24],["scav_forest.scuffle",1...
by Draite
Wed Feb 12, 2020 1:14 am
Forum: Ren'Py Questions and Announcements
Topic: Saving and Loading Information Stops Working?
Replies: 4
Views: 509

Saving and Loading Information Stops Working?

Currently I'm working on some RPG elements, including an overworld map which lets the player travel between different locations. However I've run into an issue where after saving the game and loading it the location and map system completely breaks down. The way it's supposed to work is I have a Loc...
by Draite
Fri Dec 13, 2019 2:33 am
Forum: Ren'Py Questions and Announcements
Topic: Can you use ShowMenu('save') in a scene menu
Replies: 3
Views: 532

Re: Can you use ShowMenu('save') in a scene menu

Weird, I swear that was one of the first things I tried and it didn't work. Well it kinda works now, but things continue to play while on that screen. I had hoped it would pause but that doesn't seem to be the case, and adding modal True doesn't seem to fix it either.
by Draite
Thu Dec 12, 2019 8:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Can you use ShowMenu('save') in a scene menu
Replies: 3
Views: 532

Can you use ShowMenu('save') in a scene menu

For this RPG-ish VN I'd kind of like to have specific save points whenever you rest in a 'safe' location. Currently however I can't find a function that will pull up the save screen menu. I've tried a few things from standard show('save') to trying to call ShowMenu through the Function function, not...
by Draite
Mon Dec 02, 2019 8:22 pm
Forum: Ren'Py Questions and Announcements
Topic: How do you return to a point mid scene
Replies: 9
Views: 647

Re: How do you return to a point mid scene

Thank you so much! This seems to be working perfectly
by Draite
Sun Dec 01, 2019 1:26 pm
Forum: Ren'Py Questions and Announcements
Topic: How do you return to a point mid scene
Replies: 9
Views: 647

Re: How do you return to a point mid scene

you can use "modal True" in your screen to stop clicks go through. screen example: modal True ... That is really good to know. Okay, so now this is half working. Layering is still an issue but I can sort that out later, however the button to display the inventory causes things to advance. So anytim...
by Draite
Sun Dec 01, 2019 11:24 am
Forum: Ren'Py Questions and Announcements
Topic: How do you return to a point mid scene
Replies: 9
Views: 647

Re: How do you return to a point mid scene

You could try this. Make the button call a function. action Function(inventory) have the function call the label 'scene_inventory'. init python: def inventory(): renpy.call("scene_inventory") return Change the last line in label scene_inventory from' jump scene_last' to 'return'. I think it should ...
by Draite
Sun Dec 01, 2019 11:21 am
Forum: Ren'Py Questions and Announcements
Topic: How do you return to a point mid scene
Replies: 9
Views: 647

Re: How do you return to a point mid scene

You can use "call" instead of "jump", it will return you to the same place you called the label from when it reaches a return, however, I suggest using "show screen" instead of jumping or calling to a label. it will show the inventory on the top and you can hide it using a button. The issue I run i...
by Draite
Sat Nov 30, 2019 9:58 pm
Forum: Ren'Py Questions and Announcements
Topic: How do you return to a point mid scene
Replies: 9
Views: 647

How do you return to a point mid scene

I'm currently trying to get an text adventure game working with Ren'Py, for it I have a scene that access the inventory and a scene that accesses a map. Currently I have a button that jumps to the inventory scene or the map scene and when you close that scene you jump back to the original previous s...