Search found 32 matches
- Mon Feb 12, 2018 10:13 am
- Forum: Anime, Games, and Japan
- Topic: Worst anime you have ever watched?
- Replies: 313
- Views: 65398
Re: Worst anime you have ever watched?
I absolutely, profoundly regret watching Ousama-Game The Animation. I like deadly survival games like Battle Royale, Btoom! or Danganronpa and Ousama game has a similar concept so I checked it out. Oh how I regret even thinking it looked interesting when I read the setting and I regret recommending ...
- Thu Feb 08, 2018 5:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Trying to show a text displayable with a function, but it just shows "0" [SOLVED]
- Replies: 7
- Views: 773
Re: Trying to show a text displayable with a function, but it just shows "0"
You're kinda declaring your variables twice, one with default, and again in your init python block. Could that be related to the problem? And isn't it better to just use a screen for this?
- Thu Feb 08, 2018 9:48 am
- Forum: Ren'Py Questions and Announcements
- Topic: The Screens saga continues
- Replies: 4
- Views: 649
Re: The Screens saga continues
You can have more than one action in a button, just make them a list (a python list): action [SetVariable("uiChoice", "bollocks"), Return()] That way the button will set the variable, then return. That said, I don't think it's a good idea to use a while loop, as you can see, it can confuse ren'py (a...
- Wed Feb 07, 2018 10:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: Two Questions
- Replies: 2
- Views: 352
- Wed Feb 07, 2018 10:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]Image disappears when I make another one appear
- Replies: 2
- Views: 271
Re: Image disappears when I make another one appear
It's probably because you're using 'character' as the first image tag on both cases. If you really need to use it you should place it after the name so Renpy treats them as different entities.
Code: Select all
image okita character = "okita.png"
image karuu character = "karu.png"
- Wed Feb 07, 2018 10:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: How can I make button to open HTML file?
- Replies: 4
- Views: 777
Re: How can I make button to open HTML file?
Thanks for the response! I did that! And it worked just fine. But the problem is that it opens a webpage on the internet. This would work if I wanted to make it open a help page on a website of the game maybe. I thought of putting in the local directory, but won't it be different for everyone? Or h...
- Tue Feb 06, 2018 12:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How can I make button to open HTML file?
- Replies: 4
- Views: 777
Re: How can I make button to open HTML file?
You can try OpenURL screen action. You'd need to specify instead of a real url, the direction of the local html file you want to open. #This will work if you put help.html file in right in the Renpy SDK directory. When you build the game you'll #have to place the file in the directory were your game...
- Mon Feb 05, 2018 2:31 pm
- Forum: Ren'Py Cookbook
- Topic: Adding Stats to Characters ... easily
- Replies: 33
- Views: 32907
Re: Adding Stats to Characters ... easily
This is rather interesting! Thank you for your hard work and for the easy and very fun to read explanation, I'll be sure to give this a try.
- Mon Feb 05, 2018 12:48 pm
- Forum: Ren'Py Questions and Announcements
- Topic: 'split' Attribute error [SOLVED]
- Replies: 4
- Views: 1507
Re: 'split' Attribute error
You could try using .format interpolation:
'format' is a method that takes wathever you pass in between parentheses, convert it to a string, and add it where you put the {} in the string. You can google it to find out more about it.
Code: Select all
"{}.jpg".format(slot)
- Mon Feb 05, 2018 11:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: 'split' Attribute error [SOLVED]
- Replies: 4
- Views: 1507
Re: 'split' Attribute error
'split' is a method that if I recall correctly is used for slicing strings, and you're passing it an int object, that is, a number. That means you're using a number somewhere in your script that should be a string. I'm guessing it's the slot names or something like that. Not sure though.
- Mon Feb 05, 2018 10:36 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can Ren'Py handle RPG mechanics?
- Replies: 4
- Views: 7760
Re: Can Ren'Py handle RPG mechanics?
I'm working on an RPG VN game with Dungeon Crawler elements. For the dungeon crawling part we use RenPy's screen language and images in pseudo 3D with movement animations and RenPy's been able to handle it pretty well so far, sometimes it lags a bit when there are a lot of images and animations appe...
- Thu Feb 01, 2018 3:15 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Conditional statements on Imagebuttons
- Replies: 1
- Views: 316
Re: Conditional statements on Imagebuttons
Could you explain what you're trying to do here in more detail? I can't really understand. You can't use if statement in the imagebutton but you can do so in the screen. default condition_1 = True screen game(): if condition_1: imagebutton idle "test.png" action [Jump('statement_1')] #This button wi...
- Wed Jan 17, 2018 5:17 pm
- Forum: Ren'Py Questions and Announcements
- Topic: script.rpy indentation mismatch
- Replies: 1
- Views: 523
Re: script.rpy indentation mismatch
Identation means you need to write the script by inserting a number of spaces (4 is the generally accepted best practice) after certain statements that end in colons (:), like labels and menus (Probably not a good explanation, you may want to google 'python identation' to find out more about it). An...
- Wed Jan 17, 2018 5:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] error: 'int' object has no attribute '__getitem__'
- Replies: 2
- Views: 1701
Re: error: 'int' object has no attribute '__getitem__'
Problem is in your bar, specifically the maximum property. The traceback points to this: I'm sorry, but an uncaught exception occurred. While processing the maximum property of anonymous style: #<--- LOOK HERE File "game/script.rpy", line 60, in script menu: TypeError: 'int' object has no attribute ...
- Mon Jan 15, 2018 11:39 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Displaying consecutive notifications
- Replies: 3
- Views: 870
Re: Displaying consecutive notifications
Don't know if it's what you're looking for but the code here might be of use:
viewtopic.php?f=8&t=47025&p=472212#p472212
viewtopic.php?f=8&t=47025&p=472212#p472212