Search found 835 matches
- Sat Nov 28, 2020 4:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: Current speaking character?
- Replies: 2
- Views: 472
Re: Current speaking character?
There are a couple of system variables that sort out the speaking character, but none of them are reliable (it's quite impossible to access them the moment they are set or they do indirect reference). In the end to retrieve them correctly will be longer that what you've read in such posts: using cha...
- Fri Nov 27, 2020 7:05 am
- Forum: Development of Ren'Py
- Topic: CRASH: Memory Error
- Replies: 9
- Views: 5939
Re: CRASH: Memory Error
A: are side images the only sprites going? If so, probably you can find another implementation to obtain the same goal (like showing sprites on an upper layer). B: have you added in your code some callback/function? Maybe some code is calling redundantly in the thread. If nothing of this work, I'll ...
- Fri Nov 27, 2020 5:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: Enter name button like in ddlc
- Replies: 1
- Views: 477
Re: Enter name button like in ddlc
It's all messed up, and generally speaking REDDIT is not a relyable source for code. Not even YOUTUBE is. This own forum is the only official source you should scan. If you ever cared to read the docs, you'll knew of INDENTATION and such VERY VERY VERY BASIC stuff to begin with Renpy (or any coding ...
- Thu Nov 26, 2020 7:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [PRO] hex grid of buttons
- Replies: 4
- Views: 1160
[PRO] hex grid of buttons
This: download.jpg An hex grid of buttons, that SCROLL on the four directions. Clicking on a cell, the map should scroll centered on the clicked cell. I'm ok with the logic of converting the normal array into an hex one and "move" on coordinates. Practically, the math is not an issue. My i...
- Thu Nov 26, 2020 3:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Create Function To Darken Non-Speaking Characters
- Replies: 5
- Views: 1586
Re: Create Function To Darken Non-Speaking Characters
There's already a tag for changing the image of the talking sprite. https://www.renpy.org/doc/html/config.html#var-config.speaking_attribute so, for example define config.speaking_attribute = "speak" use the darken image as the normal one and the highlighted one with the tag you tell here....
- Thu Nov 26, 2020 10:39 am
- Forum: Ren'Py Questions and Announcements
- Topic: renpy.return from screen
- Replies: 9
- Views: 2169
Re: renpy.return from screen
Use just after the call line
and stored will be equal the returned value.
...as the guy writing the same time as me correctly said...
Code: Select all
call screen test
$ stored = _return
...as the guy writing the same time as me correctly said...
- Thu Nov 26, 2020 5:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: creating new text box styles
- Replies: 3
- Views: 433
Re: creating new text box styles
Ok, you just need to create a new speaker, and add different properties in the definition. define intro = Character(None, window_width =500, window_xalign = 0.5, window_yalign = 0.5) Now, if you'll use intro "A centered small box!" you'll see a different dialogue box. Go read how to define...
- Wed Nov 25, 2020 7:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] How Do I Make a Menu Item Go Back To Other Menu Items/How Would I Make two Character Images Transition at Once?
- Replies: 2
- Views: 447
Re: How Do I Make the Menu Item Go Back To the Other Menu Items/How Would I Make two Character Images Transition at Once
First question. default check_first_question = False default check_second_question = False label story: # blabla label question_time: menu: "First question": call first_reply "Second question": call second_reply "End babbling" if check_first_question and check_second_qu...
- Tue Nov 24, 2020 10:58 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Changing Sprites in-game
- Replies: 19
- Views: 2139
Re: Changing Sprites in-game
It turn to be a real challenge as probably all such characters doesn't have the same number of moods, right? Something that sound easy is instead so difficult! Add this at the start of your script: default old_style = True and also these: image witch happy = ConditionSwitch ("old_style", &...
- Tue Nov 24, 2020 2:36 am
- Forum: General Discussion
- Topic: Cookbook and other forum things
- Replies: 0
- Views: 5470
Cookbook and other forum things
### Cookbook management Someone rised an interesting matter. Very old recipes are indexed the same, but belong to incompatible releases. Google and the site search seems to not care. Suggestion From now ownard, to be approved, a recipe should include in the name the release number it was made for. ...
- Tue Nov 24, 2020 2:15 am
- Forum: General Discussion
- Topic: Ren'py language vs standard python
- Replies: 3
- Views: 5512
Re: Ren'py language vs standard python
Yes, they are equivalent. init python: # your codelines is equal to say: init: python: # your codeline The obvious difference is that in the first case you told that ALL lines that follow in the block MUST BE python lines. In the second case you can do a mixed thing. As for referencing. The moment y...
- Tue Nov 24, 2020 1:22 am
- Forum: Ren'Py Questions and Announcements
- Topic: People need to start adding images or demos in Ren'Py Cookbooks
- Replies: 4
- Views: 598
Re: People need to start adding images or demos in Ren'Py Cookbooks
This discussion should belong to the GENERAL section of the forum. I don't comply with most of the things you say, some function is so open wide that seeying it in action doesn't tell you about how the code work. Let's pick a good example, the PinkEngine. It's GREAT. But being an open wide thing, re...
- Tue Nov 24, 2020 12:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: Project directory separation
- Replies: 4
- Views: 842
Re: Project directory separation
The moment you set the directory, doesn't belong to the "launcher" anymore but the setting is stored in your application data folder (something like .renpy) somewhere on your device - that depend on the OS. That's why each different launcher point to the same folder if that data exist. Thi...
- Mon Nov 23, 2020 7:37 am
- Forum: Ren'Py Questions and Announcements
- Topic: Registerin Atom Editor instead installing an outdated one from the Renpy site
- Replies: 6
- Views: 924
Re: Registerin Atom Editor instead installing an outdated one from the Renpy site
"Integration" means quite nothing. You can click the "open folder" button and the launcher will use a command line to launch the editor with all the rpy scripts there. That's "integration". It does nothing more than this, and is the same exact number of clicks that laun...
- Mon Nov 23, 2020 4:10 am
- Forum: Development of Ren'Py
- Topic: Ren'Py Gripes
- Replies: 556
- Views: 597434
Re: Ren'Py Gripes
STUFF Sorry, but if your game is actually requiring a controller, it probably goes beyond the standard of a VNL, and so you're messing with the wrong engine. The fact controllers are not a priority is a matter of ergonomy. Now probably you don't know being here JUST 3 years, but there was a war to ...