Search found 179 matches
- Wed Jul 27, 2016 4:12 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Quick Menu with images.
- Replies: 4
- Views: 458
[SOLVED]Quick Menu with images.
My quickmenu: ############################################################################## # Quick Menu # # A screen that's included by the default say screen, and adds quick access to # several useful functions. screen quick_menu(): # Add an in-game quick menu. vbox: style_group "quick"...
- Tue Jul 26, 2016 3:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]hover idle colors textbutton
- Replies: 5
- Views: 8810
Re: hover idle colors textbutton
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script.rpy", line 21: style property idle is not known.
idle "fe3eed"
^
Ren'Py Version: Ren'Py 6.99.10.1227
- Tue Jul 26, 2016 8:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]hover idle colors textbutton
- Replies: 5
- Views: 8810
[SOLVED]hover idle colors textbutton
In the main menu buttons I would like to have one color for "idle" and another for "hover". (But only in main menu, so in the rest of the options keep the default settings). This is the code that works now. # The main menu buttons. frame: background None style_prefix "mm&quo...
- Mon Jul 25, 2016 5:41 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]renpy.notify x2 in diff pos at = time.
- Replies: 10
- Views: 3475
Re: renpy.notify duplicated in different positions at same t
Thanks trooper6! The first code works perfectly!
Now I can start to think better on the design and continue with the game.
So far I made an screenshot to show you how it´s going on so far.
Thanks for your huge help!
Now I can start to think better on the design and continue with the game.
So far I made an screenshot to show you how it´s going on so far.
Thanks for your huge help!
- Sun Jul 24, 2016 6:41 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]renpy.notify x2 in diff pos at = time.
- Replies: 10
- Views: 3475
Re: renpy.notify duplicated in different positions at same t
Ok, now I think I understood the problem. I´m very noob in programming, so excuse me. So in my example didn´t work because notify can only appear one at a time. That means the only solution were to use them in a single string... But with that option I´m not sure if I could have 2 self."points&q...
- Sat Jul 23, 2016 6:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]renpy.notify x2 in diff pos at = time.
- Replies: 10
- Views: 3475
Re: renpy.notify duplicated in different positions at same t
I don´t understand really well your code... I guess I´m doing something wrong, but I don´t really know what... init python: class PointFucker(object): def __init__(self): self.dp = 0 self.notify_string = "" # We add to this string stuff we want to to be displayed def ch_dp(self, num): self...
- Sat Jul 23, 2016 1:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]How to color renpy.notify(str(num)) number?
- Replies: 4
- Views: 1286
Re: How to color renpy.notify(str(num)) number?
What about this ? renpy.notify("{color=#ed2024}{size=12}[num] NEUS POINTS!!{/size}{/color}") or renpy.notify("{color=#ed2024}{size=12}" + str(num) +" NEUS POINTS!!{/size}{/color}") (Not home right now, I can't test) The first Code doesn´t work, but the second one works...
- Mon Jul 18, 2016 1:08 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]How to color renpy.notify(str(num)) number?
- Replies: 4
- Views: 1286
[SOLVED]How to color renpy.notify(str(num)) number?
default pf = PointFucker() default pk = PointKeeper() init python: class PointFucker(object): def __init__(self): self.dp = 0 def ch_dp(self, num): self.dp += num renpy.notify(str(num) + " {color=#6abd45}{size=12}DÍDAC POINTS!!{/size}{/color}") class PointKeeper(object): def __init__(self...
- Sun Jul 17, 2016 7:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]renpy.notify x2 in diff pos at = time.
- Replies: 10
- Views: 3475
[SOLVED]renpy.notify x2 in diff pos at = time.
I have this code: default pf = PointFucker() default pk = PointKeeper() init python: class PointFucker(object): def __init__(self): self.dp = 0 def ch_dp(self, num): self.dp += num renpy.notify(str(num) + " {size=12}DÍDAC POINT!!{/size}") class PointKeeper(object): def __init__(self): self...
- Sun Jul 17, 2016 6:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]add and subtract problem.
- Replies: 2
- Views: 742
Re: def add and subtract problem.
Thank you very much! That solved the problem!! I added a second person doing this: default pf = PointFucker() default pk = PointKeeper() init python: class PointFucker(object): def __init__(self): self.dp = 0 def ch_dp(self, num): self.dp += num renpy.notify(str(num) + " {size=12}DÍDAC POINT!!{...
- Sun Jul 17, 2016 6:56 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]add and subtract problem.
- Replies: 2
- Views: 742
[SOLVED]add and subtract problem.
init python: # This class keeps all the points, # allowing the variables to be acessed # in functions. class PointFucker(object): def __init__(self): self.dp = 0 # Make instance of class pf = PointFucker() # Adds num points to dp and notifys # the player def add_dp(num): pf.dp += num renpy.notify(s...
- Sun Jul 17, 2016 4:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Pop-Up Points on screen and later disapear.
- Replies: 3
- Views: 706
Re: Pop-Up Points on screen and later disapear offscreen.
Thanks, I didn´t know renpy.notification exists. The only problem I saw with the solution of "TaoistFruitbat", is that if you roll back and then you repeat that scene, the "Neus Points" increase in number every time you get back and go forward... Is there a way to solve that prob...
- Sat Jul 16, 2016 3:31 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Pop-Up Points on screen and later disapear.
- Replies: 3
- Views: 706
[SOLVED]Pop-Up Points on screen and later disapear.
ne "¿Go up or not?.." p "Of course... I really want to see your flat." $ np += 2 ne "Great! You´ll love it!" So the thing is... after adding "$ np += 2" the "np" points will be increased in 2. I manage to put them on screen with: init: ##DidacPoints...
- Sat Apr 30, 2016 2:43 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to make interruptions based on a variable?
- Replies: 12
- Views: 1410
Re: Is there a way to make interruptions based on a variable
This post helped me a lot. I just have a little question about it. Let´s imagine that apart from "Dying" there´s a point where your "courage" goes below 0 and you have to run at home because you are afraid of everything at any step in the game. So there´s need fo 2 config.python_...