Search found 32 matches
- Thu Mar 08, 2018 11:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Have text show with imagebutton click?
- Replies: 5
- Views: 691
Re: Have text show with imagebutton click?
My apologies, when you said small text I misunderstood thinking you wanted to show a small information blurb, didn't realize you wanted a dialogue window, even though I should have, thank you Milkymalk and Imperfekt I completely agree, again I'm really sorry .
- Thu Mar 08, 2018 4:17 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Have text show with imagebutton click?
- Replies: 5
- Views: 691
Re: Have text show with imagebutton click?
You can use Notify screen action.
Code: Select all
imagebutton idle "button.png":
action Notify("I can't do that right now.")
- Thu Mar 08, 2018 4:05 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Error
- Replies: 4
- Views: 641
Re: Error
Your second if statement: If (jennyquest1check == True and jpka == True): Should be: if (jennyquest1check == True and jpka == True): #if has to be lowercase It's probably just a typo since you had the first one right, but if statement in python and most programming languages must always be lowercase...
- Thu Mar 08, 2018 12:05 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Another newbie question
- Replies: 15
- Views: 1517
Re: Another newbie question
I have a problem. I need to have a space between my stats and my mom, I just can't do it. I try xpos in different posit. and i reached 8 and it put it back to where my origal (mc) stats were As you have it right now the vboxes in both screens are overlapping (on top of each other). Try giving the v...
- Wed Mar 07, 2018 4:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: removing gui?
- Replies: 3
- Views: 682
Re: removing gui?
It hasn't removed yet, just disabled by default. To enable it open the Ren'Py Launcher, click preferences button, and then under Launcher Options select the Legacy options checkbox. Now hit Return and try to create a new project. It should present you the option to use Legacy interface.
- Wed Mar 07, 2018 10:33 am
- Forum: Ren'Py Questions and Announcements
- Topic: Another newbie question
- Replies: 15
- Views: 1517
Re: Another newbie question
I don't know if I understand correctly what you mean, but maybe this: #Some variables default power = 0 default intelligence = 0 default charisma = 0 screen mc_stats(): #The screen that will show the variables default show_vars = False #A screen variable to turn the viewing on/off imagebutton auto &...
- Tue Mar 06, 2018 11:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: Disable right click and rollback while viewing inventory screen
- Replies: 2
- Views: 613
Re: Disable right click and rollback while viewing inventory screen
To disable right click you can add a key statement to the screen:
As for disabling rollback, not entirely sure, hope someone else can help.
Code: Select all
key 'mouseup_3' action NullAction()
- Tue Mar 06, 2018 9:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: Dangan Ronpa Style Clock? (Solved!)
- Replies: 6
- Views: 1167
Re: Dangan Ronpa Style Clock?
In Danganronpa from what I remember, the time of day advances along with the story. That means you are the one who decides when it switchs from Daytime to nightime, and when a free time section happens. This might be as simple as creating some variables and jump to specific parts of the game (labels...
- Tue Mar 06, 2018 9:36 am
- Forum: Ren'Py Questions and Announcements
- Topic: New tooltip class and imagebuttons
- Replies: 7
- Views: 2141
Re: New tooltip class and imagebuttons
I see now, I was trying to default it inside the screen, as a screen variable, my bad. Thanks!According to changelog we should be able to default it though
- Mon Mar 05, 2018 2:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: New tooltip class and imagebuttons
- Replies: 7
- Views: 2141
Re: New tooltip class and imagebuttons
Working fine for me, maybe a bug in most recent release? I'm still using stable 6.99.14.1. screen tooltip_test(): frame: xalign .5 yalign .5 has vbox imagebutton auto "gui/tbutton_%s.png": action Return() tooltip "Testing imagebutton." textbutton "Test": action Return()...
- Thu Mar 01, 2018 9:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Play sound on hotspot click?
- Replies: 2
- Views: 929
Re: Play sound on hotspot click?
I don't know if it will work with hotspot (as I never work with imagemap), but you can try the activate_sound property, giving a string with the sound file path and name. hotspot (1119, 634, 139, 68) activate_sound "clicked.ogg" action Jump("home_frontyard") hovered ShowTransient...
- Thu Feb 22, 2018 2:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to force move mouse?
- Replies: 6
- Views: 3591
Re: How to force move mouse?
Probably with something like this: #A WARNING: The x and y positions given are roughly the center of my screen, #where I placed the exit button, #you might have to test and change it to your own resolution for your game. screen force_mouse_move(): on "show": action MouseMove(x=650, y=350, ...
- Fri Feb 16, 2018 2:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Generating a formatted table?
- Replies: 4
- Views: 2063
Re: Generating a formatted table?
You can use vboxes and setup each column, or maybe use vpgrid . Something like this: init python: class Item(): def __init__(self, name, price): self.name = name self.price = price def use_item(i): pass #for now, this is a function just for testing purposes default item1 = Item("apple", 10...
- Wed Feb 14, 2018 1:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to add rotation to dialogue text?[SOLVED]
- Replies: 3
- Views: 794
Re: How to add rotation to dialogue text?
I happened to be testing something else with your code still in and realized that the text gets more deformed the longer it is--I had only tested with single words. I found a work-around for it, though, try adding: transform_anchor True yanchor 0 as the first line of your transform. Just as you sai...
- Tue Feb 13, 2018 3:15 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to add rotation to dialogue text?[SOLVED]
- Replies: 3
- Views: 794
How to add rotation to dialogue text?[SOLVED]
Okay, maybe this is a stupid question, but I've been trying for hours and I can't find a solution. For our game we want to use a stylish dialogue box similar to the one used in Persona 5, with the text slightly inclined to the left. So I'm trying to add some rotation properties to the dialogue text....