Search found 399 matches
- Sun Aug 21, 2016 3:42 am
- Forum: Ren'Py Questions and Announcements
- Topic: Wanting to use persistent data to remember... (Resolved!)
- Replies: 4
- Views: 1505
Re: Wanting to use persistent data to remember a user's name
simple example with 'persistent.true/false flags': label start: if persistent.PName is None: $ PName = renpy.input("What is your name, stranger?") or "Anonimus" $ persistent.PName = PName "Welcome, [PName]." else: $ PName = persistent.PName "Welcome back, [PName]!" menu: "Go to Left": $ persistent.l...
- Sat Aug 20, 2016 6:46 am
- Forum: Ren'Py Questions and Announcements
- Topic: Wanting to use persistent data to remember... (Resolved!)
- Replies: 4
- Views: 1505
Re: Wanting to use persistent data to remember a user's name
label start: if persistent.PName is None: $ PName = renpy.input("What is your name, stranger?") or "Anonimus" $ persistent.PName = PName "Welcome, [PName]." else: $ PName = persistent.PName "Welcome back, [PName]!" https://www.renpy.org/doc/html/persistent.html
- Mon Aug 08, 2016 2:56 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to make a clicker game?
- Replies: 5
- Views: 3458
Re: How to make a clicker game?
something like this default points=10 default plus=2 default max_point=30 default clicked = True init: image happy = "happy.png" image neitr = "neitral.png" image sadd = "sad.png" screen clicker: modal True timer .5 repeat True action [If(points <= 0, true=Jump("lost"), false=SetVariable("points", p...
- Sun Aug 07, 2016 1:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to make a clicker game?
- Replies: 5
- Views: 3458
Re: How to make a clicker game?
4 Example: default points=10 default plus=2 default max_point=30 default clicked = True screen clicker: modal True timer .5 repeat True action [If(points <= 0, true=Jump("lost"), false=SetVariable("points", points - plus))] button: text "[points] / [max_point]" size 40 background "#000" xpos .5 ypos...
- Sun Aug 07, 2016 12:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Trying Automatic Voice [Solved]
- Replies: 5
- Views: 1393
Re: Trying Automatic Voice
try
https://www.renpy.org/doc/html/python.h ... -statement
Code: Select all
init python:
def auto_voice_function(ident):
return "voice/" + ident + ".ogg"
config.auto_voice = auto_voice_function- Sun Aug 07, 2016 7:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: Add Delay After Voice Playback
- Replies: 4
- Views: 434
Re: Add Delay After Voice Playback
https://www.renpy.org/doc/html/audio.ht ... ng-silence
(for Ren'Py version 6.99.9 and higher)
(for Ren'Py version 6.99.9 and higher)
- Sun Aug 07, 2016 7:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: Always on top
- Replies: 1
- Views: 609
Always on top
Hello.
Game is started in the full-screen mode. If at this moment other application is started (for example, was insert a DVD disk), then game is 'turned'.
It can be prevented somehow?
In other words, how to create 'always on top' mode?
Game is started in the full-screen mode. If at this moment other application is started (for example, was insert a DVD disk), then game is 'turned'.
It can be prevented somehow?
In other words, how to create 'always on top' mode?
- Tue Aug 02, 2016 3:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Help with syntax
- Replies: 3
- Views: 401
Re: Help with syntax
try im.Composite():
https://www.renpy.org/doc/html/displaya ... .Composite
https://www.renpy.org/doc/html/displaya ... .Composite
- Sat Jul 30, 2016 7:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Simple "If" causing syntax error.
- Replies: 3
- Views: 1513
Re: Simple "If" causing syntax error.
">=" instead of "=>"
- Tue Jul 26, 2016 8:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Long background image for imagemap
- Replies: 8
- Views: 859
Re: Long background image for imagemap
Try to "init" images without xpos, xanchor etc.. And then: screen hallway_imagemap: imagemap: xoffset -960 #<<< ! ground "hallright" hover "hallwaymap" hotspot (1964, 884, 87, 86) clicked Return("pot") activate_sound "sounds/cup.ogg" hotspot (1765, 84, 256, 395) clicked Return("handbag") activate_so...
- Mon Jul 25, 2016 9:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]Return to main menu after jumping to another label
- Replies: 6
- Views: 509
Re: Return to main menu after jumping to another label
try init: $ ate = 0 $ sleep = 0 $ plays = 0 $ days = 0 label start: $ days +=1 "Day [days]" "What should I do" menu: "eat": jump eat_test "sleep": jump sleep_test "Play": jump play_test "New variables" if days>=3: jump next label eat_test: "I ate" $ ate += 1 jump start label sleep_test: "I slept" $ ...
- Sun Jul 24, 2016 8:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: Use the pc username to a character name in-game
- Replies: 5
- Views: 937
Re: Use the pc username to a character name in-game
At the same time, username has to contain only the english symbols (i.e. ASCII-symbols).
Otherwise this code will lead to the error (UnicodeDecodeError).
Otherwise this code will lead to the error (UnicodeDecodeError).
- Wed Jul 20, 2016 1:33 am
- Forum: Ren'Py Questions and Announcements
- Topic: Show Image During Text
- Replies: 3
- Views: 414
Re: Show Image During Text
still it is possible so (but only without dissolve):
Code: Select all
"Thats the way it looks."
show image_1 at right
"Thats the way it looks.{fast} Did you recognize it?"- Mon Jul 18, 2016 12:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: I have some problems with the save menu
- Replies: 4
- Views: 406
Re: I have some problems with the save menu
in file screen.rpy find screen navigation() : textbutton _("Return") action Return() textbutton _("Preferences") action ShowMenu("preferences") textbutton _("Save Game") action ShowMenu("save") textbutton _("Load Game") action ShowMenu("load") textbutton _("Main Menu") action MainMenu() textbutton _...
- Mon Jul 11, 2016 12:53 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Adding double-vision effect to imagemap screen
- Replies: 6
- Views: 789
Re: Adding double-vision effect to imagemap screen
I don't know how to help. It is necessary to change function. In such look it isn't applicable for imagemap. Hmmm. I believe that you have a scene of the drunk person which something looks for.. And that if to remake this scene? for example: at first to include double-effect ( he wakes up ) then he ...