Search found 107 matches
- Wed May 24, 2017 5:53 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can set new sets of sprites with the same name? [SOLVED]
- Replies: 2
- Views: 542
Can set new sets of sprites with the same name? [SOLVED]
I don't know if that made sense but basically, I want to know if there's a way to set the character's sprites from one set to another but use the same 'name'? For example: image pov neutral = "character/char_pov_neutral.png" Somewhere in the game, the player MIGHT get hurt and bruised so t...
- Wed May 24, 2017 5:46 am
- Forum: Ren'Py Questions and Announcements
- Topic: How do I create a scrolling screen for my Phone GUI? [SOLVED
- Replies: 2
- Views: 409
How do I create a scrolling screen for my Phone GUI? [SOLVED
Picture for reference: http://imgur.com/a/pVxD3 So I have this phone GUI that keeps track and displays the points associated with a character in my game. The top image is what I have no, only images and buttons. The bottom picture is what I want to update it to but that would require me to have a sc...
- Mon May 08, 2017 11:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How do I get rid of a dialogue option? [SOLVED]
- Replies: 3
- Views: 508
Re: How do I get rid of a dialogue option?
Thanks so much guys! I got it
- Mon May 08, 2017 7:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How do I get rid of a dialogue option? [SOLVED]
- Replies: 3
- Views: 508
How do I get rid of a dialogue option? [SOLVED]
The longfrom question: How do I get rid of a dialogue option after it has been chosen and what's the most efficient way of coding it? I tried it before but I can't seen to get the 'menu' and the 'if' statement in the right spot. This is just my attempt at it: label lbl_park_night_bench: pov "{i...
- Tue May 02, 2017 9:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: A Query about Python and .rpy efficiency and effectiveness
- Replies: 2
- Views: 496
A Query about Python and .rpy efficiency and effectiveness
It might be a little stupid to ask but I'm wondering if there is a sort of rule that I should know or follow about coding in python or coding in general for my game, more specifically; I was wondering if there is a line limit that I should stick to before it the code stops being efficient and effect...
- Thu Apr 13, 2017 10:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: I am getting an AttributeError? [Solved]
- Replies: 2
- Views: 871
Re: I am getting an AttributeError?
The variable fbpwmag1 seems to hold a simple integer value when the 'buy' function is called, but it looks like it needs to be an 'Item' object from your code. You should check the last time value of fbpwmag1 is changed before the line that causes the error runs. This is what's written for the fbpw...
- Thu Apr 13, 2017 9:27 pm
- Forum: Ren'Py Questions and Announcements
- Topic: I am getting an AttributeError? [Solved]
- Replies: 2
- Views: 871
I am getting an AttributeError? [Solved]
I have a buy system and I'm getting this error, it was working before but now I don't know what's going on with it. I think it started ever since I've updated renpy: I'm sorry, but an uncaught exception occurred. While running game code: File "game/comicbookstore_day.rpy", line 324, in scr...
- Tue Apr 11, 2017 6:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can someone help me understand Function?
- Replies: 5
- Views: 682
Re: Can someone help me understand Function?
Thanks for that guys, I've read what you've sent me and I think I may know why the items disappear and money goes back to default when I reload. It's because the inventory code that I have is inside an init python block. That's probably why? I'm not 100% sure but so far that's my best bet because lo...
- Tue Apr 11, 2017 12:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can someone help me understand Function?
- Replies: 5
- Views: 682
Can someone help me understand Function?
I'm trying to fix a problem with my inventory system where everytime I reload the game, the items disappear and the money originally deducted comes back. A post (https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=31128) mentioned the use of Functions (https://www.renpy.org/doc/html/screen_act...
- Sat Apr 01, 2017 4:44 am
- Forum: Ren'Py Questions and Announcements
- Topic: How do I create a pop up box? [SOLVED]
- Replies: 3
- Views: 4570
Re: How do I create a pop up box when a player makes a choic
Thanks guys! It's perfect
- Sat Apr 01, 2017 4:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: How do I create a pop up box? [SOLVED]
- Replies: 3
- Views: 4570
How do I create a pop up box? [SOLVED]
Hey, I was just wondering if there's a way to make a popup box appear in the top right corner of the screen whenever the player chooses something? Think telltale games where it will say like 'they will remember that'. I want it to be easily customizable so I can change what it says for different sce...
- Sat Apr 01, 2017 3:36 am
- Forum: Ren'Py Cookbook
- Topic: Inventory Screen
- Replies: 100
- Views: 102289
Re: Inventory Screen
I'm having a bit of trouble. Assume I bought an item and it's now in my inventory. When I refresh the game for bug testing purposes, the item disappears and I get my money back, though when I try to buy the item again, it says I already have the item (assuming I have code that allows for 1 of each i...
- Mon Mar 06, 2017 3:55 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] SetVariable Help
- Replies: 2
- Views: 8562
Re: SetVariable Help
Thank you so muchIrinaLazareva wrote:https://www.renpy.org/doc/html/screen_actions.html#IfCode: Select all
action SetVariable("points", If(points<20, points+1, 20))
- Mon Mar 06, 2017 3:23 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] SetVariable Help
- Replies: 2
- Views: 8562
[SOLVED] SetVariable Help
How can I execute this action. When the button is clicked, it will increase the variable's value by one but it can't go over 20. So if the variable's value is 20, it will stay at 20. imagebutton auto "btn_phone_cheat_up_%s.png" xpos 730 ypos 335 focus_mask True action SetVariable("poi...
- Tue Feb 28, 2017 12:48 am
- Forum: Ren'Py Questions and Announcements
- Topic: Using saves from an older game version in a new game version
- Replies: 2
- Views: 491
Using saves from an older game version in a new game version
I know it might be pretty hard but does anyone have a solution to this issue? My game is in development and I release an updated version every few weeks. But everytime I do that, the old save file becomes useless in the newer version because it'll cause errors such as variables not being defined. Is...