Search found 823 matches

by Per K Grok
Mon May 31, 2021 1:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Line id indented, but the preceding one-line python statement statement does not expect a block?
Replies: 4
Views: 788

Re: Line id indented, but the preceding one-line python statement statement does not expect a block?

I was coding a fight for my game and it worked preety well but the enemy could only do one thing so I tried out a renpy.random.choice for it to randomly swap between attack and defend and some other options, here is my code: show screen battle_stats_screen while (Android_hp > 0) and (Dextra_hp > 0)...
by Per K Grok
Tue May 11, 2021 3:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Scenes, screens and images
Replies: 8
Views: 812

Re: Scenes, screens and images

That hasn't made any difference. What do I need to do differently with the image file? Do I use something like: scene hotelExterior(): "images/bg/hotel_exterior.png" or screen hotelExterior(): add "images/bg/hotel_exterior.png" or what? How do I define the background images if not like this? Thank ...
by Per K Grok
Tue May 11, 2021 1:36 am
Forum: Ren'Py Questions and Announcements
Topic: Scenes, screens and images
Replies: 8
Views: 812

Re: Scenes, screens and images

Once again I apologise in advance for any novice mistakes I have made here. This site and this forum are the only reliable places I can turn to in order to learn how to do some of the things I want to do. Many of the online videos I have found always assume that I know more than I do. I only seem t...
by Per K Grok
Mon Apr 26, 2021 1:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Player Name With Toggled Buttons Help!
Replies: 4
Views: 360

Re: Player Name With Toggled Buttons Help!

---- This worked wonderfully, thank you so much! If I may, can I ask if it's possible to make a "clear" button / "backspace" button for this type of code? In case the player makes a mistake when clicking the buttons. Also, can I add a limit to the number of letters chosen? Clear is pretty simple te...
by Per K Grok
Mon Apr 26, 2021 1:31 am
Forum: Ren'Py Questions and Announcements
Topic: Player Name With Toggled Buttons Help!
Replies: 4
Views: 360

Re: Player Name With Toggled Buttons Help!

Hello! For my own personal project I am working on, I wanted to recreate a screen similar to the one below. I have all the assets (the background, the buttons which are in the english alphabet not Japanese, etc.) but I am just stumped on the coding for the actual implementation of it. kR1tUgy.png M...
by Per K Grok
Sat Apr 10, 2021 10:27 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Imagemap not showing up?
Replies: 3
Views: 439

Re: Imagemap not showing up?

Hiya! So I'm working on a VN and I really want to make the main menu look pretty by using imagemaps. I followed every tutorial very carefully, but it still doesn't seem to be working? It still shows the default text buttons instead of the imagemaps, so I'm wondering if I did something wrong? ------...
by Per K Grok
Tue Apr 06, 2021 2:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Dialogue that loops for a certain amount of time
Replies: 4
Views: 385

Re: Dialogue that loops for a certain amount of time

Hello. This is my first post so please forgive any mistakes I've made. I've finished the tutorial and searched online, but can only find out of date information on how exactly to implement timed choices and interactions. I have a screen that shows an unskippable animation, and I have a character sp...
by Per K Grok
Sun Mar 28, 2021 9:05 am
Forum: Ren'Py Questions and Announcements
Topic: (O)Nscripter style CTC
Replies: 1
Views: 455

Re: (O)Nscripter style CTC

I've seen various Nscripter (or ONscripter) games using a certain CTC icon for next line and new page respectively. Here is an example of a Higurashi fangame made in Renpy that uses such icons. Would anyone happen to know where I could find these icons and how to implement them? I've tinkered with ...
by Per K Grok
Sun Mar 28, 2021 9:00 am
Forum: Ren'Py Questions and Announcements
Topic: define character name AND image
Replies: 1
Views: 443

Re: define character name AND image

Hi, me again! I have defined a couple of characters with a name and a colour like so: define l = Character("Leeuw", color="daa520") Now I tried adding an image for each character by using this https://www.renpy.org/wiki/renpy/doc/tutorials/Defining_Characters ----- Try this image side bl="blije lee...
by Per K Grok
Wed Mar 24, 2021 2:35 pm
Forum: Ren'Py Questions and Announcements
Topic: Trying to create a Skype-like messaging system
Replies: 2
Views: 302

Re: Trying to create a Skype-like messaging system

Hello everyone! I've had a good search through the forums and while I have managed to find some useful information and pieces of code in older posts, I haven't quite been able to find what I am looking for, so I decided to make this post. What I essentially want to make is a game that centers aroun...
by Per K Grok
Sat Mar 20, 2021 2:17 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Runing a function as imagebutton action
Replies: 2
Views: 402

Re: Runing a function as imagebutton action

Dr_arell wrote:
Fri Mar 19, 2021 11:44 pm
hi, i got a function defined i don't know if there's any way of running a function as action for my image button when clicked
action Function(nameOfFunction)
action Function(nameOfFunction, argument)
by Per K Grok
Mon Mar 15, 2021 5:23 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make a notepad for the Player with text input?
Replies: 1
Views: 334

Re: How to make a notepad for the Player with text input?

Salutations. I seek help with making it so an input that's always open to the player manages to somehow act like a notepad for the player to record important information they may encounter in the game. I used the following tutorial, https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=38080 , usi...
by Per K Grok
Wed Mar 10, 2021 5:45 pm
Forum: Ren'Py Questions and Announcements
Topic: How to blur background during conversations and choices?
Replies: 5
Views: 521

Re: How to blur background during conversations and choices?

Hey everyone! Is there a way to blur backgrounds and menus during conversations? I'm happy using 2 versions of the same background (blurred and unblurred) if it makes it any easier? If it's the same then I would rather have it in the engine. Thanks for all the help! There is probably a more elegant...
by Per K Grok
Wed Mar 10, 2021 5:26 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Cannot find way for code to display list of outcomes.
Replies: 4
Views: 230

Re: Cannot find way for code to display list of outcomes.

Hello, I'm really new to coding in Ren'Py, but I have gotten the hang of most of the basic principles and such. However, I am having a problem during a multiple choice part of my code where I cannot seem to get the code to display the choices made by the user. I have tried two different methods of ...
by Per K Grok
Sat Mar 06, 2021 3:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Error on start
Replies: 2
Views: 210

Re: Error on start

Hello guys, I got this error sometimes. Most of the time its happens when I do the following things : Play the game, then choose the option in the menu to go back to the main menu (Are you sure you want to return to the main menu ? This will loose unsaved progress. ) Then, when I go back I get to t...