Search found 786 matches
- Wed Aug 24, 2016 11:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: Press button to enter scene, return to last read text before
- Replies: 8
- Views: 759
Re: Press button to enter scene, return to last read text be
when you use "jump" your position in the script is saved and when you use "return" you'll be back to the last place you jumped from. hide the screen and return. I think you meant "call". Jump has no way of returning to the current script position, and I think pytom mentioned that it's not possible ...
- Tue Aug 23, 2016 6:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to make all items in vbox to have same xsize?
- Replies: 5
- Views: 1659
Re: How to make all items in vbox to have same xsize?
Not sure if it's the right answer for precise sizing, but I find that "xfill True" seem to do the job for me.
- Mon Aug 22, 2016 3:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Build Distribution Not Working.
- Replies: 14
- Views: 961
Re: Build Distribution Not Working.
Sorry for asking the obvious, but have you checked the images folder to make sure the images are there?
- Mon Aug 22, 2016 1:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to select gender using images? + Gender -> Diff Story?
- Replies: 4
- Views: 588
Re: How to select gender using images? + Gender -> Diff Stor
1) Imagemaps (https://www.renpy.org/doc/html/screens.html#imagemap-statements) or Imagebutton (https://www.renpy.org/doc/html/screens.html#imagebutton) could both do this You can set the hover state to the show the changed image. 2) There're multiple ways of doing this, but the easiest one without t...
- Sat Aug 20, 2016 12:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to release a renpy game?
- Replies: 3
- Views: 8821
Re: How to release a renpy game?
One thing to bear in mind is that by default, your persistent save file will be included in the build, meaning all CG Galleries for example would be unlocked. Actually, it never happens. A Ren'Py game build never includes save files or persistent variables state. What is happening is that your game...
- Sat Aug 20, 2016 6:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to release a renpy game?
- Replies: 3
- Views: 8821
Re: How to release a renpy game?
When you launch Ren'py, look for the Build DIstributions button / link. One thing to bear in mind is that by default, your persistent save file will be included in the build, meaning all CG Galleries for example would be unlocked. Personally I always duplicate the folder first before deleting the pe...
- Thu Aug 18, 2016 3:07 am
- Forum: Ren'Py Questions and Announcements
- Topic: Help with the IF fuction
- Replies: 12
- Views: 1013
Re: Help with the IF fuction
Unfortunately psuedo code isn't a good way of helping others debug, as mistakes can be syntax / flow related.
Could you duplicate the code (so as to not lose it), condense the dialogues to bare bone, test to see if bug still exists, then post it here?
Could you duplicate the code (so as to not lose it), condense the dialogues to bare bone, test to see if bug still exists, then post it here?
- Thu Aug 18, 2016 2:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: Help with understanding variables in conversation
- Replies: 4
- Views: 390
Re: Help with understanding variables in conversation
Just to further explain what happened: In your original code you only defined the snitch variable within the menu statement. I'm not sure whether it crashed for you when you chose the alternative path only, if so, that would be because your script never reached the snitch define statement, and so it...
- Tue Aug 16, 2016 12:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to keep my code neat?
- Replies: 4
- Views: 536
Re: How to keep my code neat?
I think it highly depends on the game flow and mechanics, but I've been tweaking my file structure myself and here's what i've got: Assets Folder: this folder generally include images, objects, characters etc.. for me. Functions and Classes folder: Here I've got different files separating the releva...
- Fri Aug 12, 2016 2:44 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is a pause loop the right way to do battles or non-dialogue?
- Replies: 2
- Views: 432
Is a pause loop the right way to do battles or non-dialogue?
I just wanted to check if I'm going about this the right way before going too far into development. Normally when you're playing a visual novel game, dialogues are punctuated by user choices - menus - to await user input before proceeding onwards. But say you're at a point of the game where there're...
- Thu Aug 11, 2016 5:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Trouble with image manipulation
- Replies: 4
- Views: 423
Re: Trouble with image manipulation
I think what you want is size and crop: size (config.screen_width,config.screen_height) crop (x,y,width,height) Use your favourite image editor to work out the x, y, width and height for the desired zoom. Edit: I used config.screen_width and config.screen_height assuming that your image is full scre...
- Wed Aug 10, 2016 5:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: add variable every minute [SOLVED]
- Replies: 7
- Views: 610
Re: add variable every minute
Basically have nothing but the timer in it. This is test code that worked for me:
Code: Select all
label start:
$ test_var = 0
show screen invi
pause
"[test_var]"
screen invi:
timer 1.0 repeat True action SetVariable("test_var", test_var+10)
- Wed Aug 10, 2016 4:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Accounts and online data upload and download
- Replies: 12
- Views: 2151
Re: Accounts and online data upload and download
Yeah if it's part of your course you should do some research. I'm still new to Python, but I suggest you look up RESTful API, since urllib2 seems to support http requests at first glance.
- Wed Aug 10, 2016 4:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: add variable every minute [SOLVED]
- Replies: 7
- Views: 610
Re: add variable every minute
I think timer is the way to do it: https://www.renpy.org/doc/html/screens.html#timer I think the code may look something like this: timer 60.0 repeat action SetVariable('money', money + income) does this work no matter what screen you're on? I'm afraid you'll have to test it yourself. I suspect wha...
- Wed Aug 10, 2016 4:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Centerin styles for one person[SOLVED]
- Replies: 4
- Views: 319
Re: Centerin styles for one person
I couldn't get this to work but this is the cookbook suggestion: http://fuckyeahrenpy.tumblr.com/post/88894830272/creating-custom-text-boxes-for-different What I ended up doing was editing the say screen in the screens.rpy file: style "say_two_window_vbox" if who: window: if who.lower() == "specific...