Search found 831 matches

by gas
Wed Dec 02, 2020 5:27 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py games wont open
Replies: 6
Views: 657

Re: Ren'Py games wont open

Try launch it and keep pressing SHIFT+G to change the graphical driver.
by gas
Tue Dec 01, 2020 11:15 am
Forum: Ren'Py Cookbook
Topic: BEST of Cookbook (working)
Replies: 6
Views: 4654

Re: BEST of Cookbook (working)

XT9K wrote:
Sun Nov 29, 2020 6:17 pm
Looks pretty nice. Thanks for making this. Also, I believe the button issue with mine is mostly worked out. Someone posted a good workaround that doesn't require modifying Ren'py's internals. So think it should be useful just about wherever.
Updated, thank you.
by gas
Tue Dec 01, 2020 10:30 am
Forum: Ren'Py Questions and Announcements
Topic: NVL textbox shenanigans - making it scrollable and more
Replies: 2
Views: 415

Re: NVL textbox shenanigans - making it scrollable and more

Get illuminated. As you want to stand in the technical area of the game, you should be technical. Or your friends will haunt you! Using NVL and try to twist it means not understanding why NVL is here. It does actually simulate book pages. Your system simulate an assirian scroll XD. Now mind this: A)...
by gas
Tue Dec 01, 2020 9:26 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] Stat rankings
Replies: 7
Views: 510

Re: Stat rankings

The above is a perfect approach. To check for ties, the thing is quite more complex. There are various possible approaches, this is one. label start: $ stats["strength"] += 3 # this is how you access the stat, as a string index (key). the expected value of strength now is 6. $ highest = max(stats, k...
by gas
Tue Dec 01, 2020 9:14 am
Forum: Ren'Py Questions and Announcements
Topic: [PRO] hex grid of buttons
Replies: 4
Views: 876

Re: [PRO] hex grid of buttons

Thank you for all your insights! Much appreciated! @ _ticlock_ so, let's debate. It's probably over-optimization, I mean, I've seen hundred of tiles placed around so it shouldn't be an issue. But whatever, discussing is interesting the same. Placing on hex grids offer a real design challenge, mostly...
by gas
Sun Nov 29, 2020 2:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Main Menu Textbuttons Not Hiding In New Screen
Replies: 7
Views: 520

Re: Main Menu Textbuttons Not Hiding In New Screen

You messed up quite a lot, as the navigation should be transcluded in other screens, and you removed everything. Post your entire screens.rpy, and also tell what exactly was your goal. NOTE: tell in advance if by any chance you messed up the GUI.rpy script, no need to post it here, but maybe you're ...
by gas
Sun Nov 29, 2020 2:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Program re-downloading error(solved)
Replies: 1
Views: 318

Re: Program re-downloading error

It close on launch?
Launch and keep pressed SHIFT+G, check the graphical driver and set another.

Also verify if you don't have previous .renpy folders in your system folders (location depend on OS).
by gas
Sun Nov 29, 2020 1:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Making imagebutton jump to label
Replies: 1
Views: 348

Re: Making imagebutton jump to label

Wrong approach, the one to jump directly from shown screens. label whatever: call screen pick_prize $ prize = _return if prize == "blue": "you picked the blue prize!" if prize == "red": "you picked the red prize!" "now finish your code!" screen pick_prize(): vbox: imagebutton auto "blablabla_whateve...
by gas
Sat Nov 28, 2020 10:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Label Undefined when Calling from For Loop (solved)
Replies: 5
Views: 427

Re: Label Undefined when Calling from For Loop

Sorry, really sorry. The whole thing is so wrong on multiple POV's that giving you a solution is only aggravating the issue. It's easier to me to give you some pseudocode to see how to rewrite the thing. Ok, the first wrong thing is your object approach. Let's simplify it. init python: class What(ob...
by gas
Sat Nov 28, 2020 7:44 pm
Forum: Ren'Py Questions and Announcements
Topic: RenPy Dialogue and Extend Inside Python Block (solved)
Replies: 4
Views: 428

Re: RenPy Dialogue and Extend Inside Python Block

You can use WHILE loops, anyway, in renpy, you're not always forced to FOR iterator. If you're forced to use python, you have all the equivalents (well, in fact is quite the inverse: renpy statements are parsing of the original python commands...). So, for example, all these are equivalent. e "Line"...
by gas
Sat Nov 28, 2020 11:12 am
Forum: Ren'Py Cookbook
Topic: BEST of Cookbook (working)
Replies: 6
Views: 4654

BEST of Cookbook (working)

FOR RENPY: 7.3 This is a non exaustive list of stuff you can surely implement on your games, tested to work on new releases and not "vaporware" ( == things that are nothing but docs examples or simple use of default renpy you can come on your own - or not even that). If something's missing tell me!...
by gas
Sat Nov 28, 2020 4:04 am
Forum: Ren'Py Questions and Announcements
Topic: Current speaking character?
Replies: 2
Views: 414

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...
by gas
Fri Nov 27, 2020 7:05 am
Forum: Development of Ren'Py
Topic: CRASH: Memory Error
Replies: 9
Views: 4886

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 ...
by gas
Fri Nov 27, 2020 5:54 am
Forum: Ren'Py Questions and Announcements
Topic: Enter name button like in ddlc
Replies: 1
Views: 391

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 ...
by gas
Thu Nov 26, 2020 7:37 pm
Forum: Ren'Py Questions and Announcements
Topic: [PRO] hex grid of buttons
Replies: 4
Views: 876

[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 issue is al...