Search found 990 matches

by m_from_space
Tue May 07, 2024 7:55 am
Forum: Ren'Py Questions and Announcements
Topic: Problem with screen action "Hide" (and layers ?)
Replies: 5
Views: 193

Re: Problem with screen action "Hide" (and layers ?)

Thing is, I noticed that jumping to a label hides the screens, ... That is only true if you called the screen in question, instead of just showing it. There is no need to put it on another layer, it makes things more complicated in my opinion. Screens should be shown on the screens layer, not elsew...
by m_from_space
Mon May 06, 2024 5:21 am
Forum: Ren'Py Questions and Announcements
Topic: Eyes following the mouse cursor in the main menu.
Replies: 7
Views: 695

Re: Eyes following the mouse cursor in the main menu.

Hello, did it work? If so, could you please share the code? I need the same thing, but I'm not good enough in coding for this. Here is a very simple way of doing it, just put the image into your images folder for that. You can of course add another eyeball, figuring that out should be a little lear...
by m_from_space
Mon May 06, 2024 4:46 am
Forum: Ren'Py Questions and Announcements
Topic: Eyes following the mouse cursor in the main menu.
Replies: 7
Views: 695

Re: Eyes following the mouse cursor in the main menu.

. init python: eye_angle = 0 screen Eyes(): add "eyes.png" # Replace "eyes.png" with the name of your eye sprite timer 0.1 repeat True action Jump("update_eye_angle") label update_eye_angle: python: mouse_x, mouse_y = renpy.get_mouse_pos() eye_x, eye_y = # Eye center c...
by m_from_space
Sun May 05, 2024 6:11 am
Forum: Ren'Py Questions and Announcements
Topic: Annoying script error
Replies: 2
Views: 208

Re: Annoying script error

https://github.com/overlordofflies/court_record The reason it does work when not changing anything is, that it uses the precompiled .rpyc files when executing. As soon as you edit anything, it will try to recompiling the game and result in the error. The error is due to the code not being proper an...
by m_from_space
Sun May 05, 2024 5:54 am
Forum: Ren'Py Questions and Announcements
Topic: Problems with translation in image composite Text
Replies: 3
Views: 198

Re: Problems with translation in image composite Text

philat wrote: Sun May 05, 2024 3:16 am I'm unable to reproduce this.
Works fine on my end as well, even using @thelastsecret's exact string (I mean it could have been an issue with some characters).
by m_from_space
Fri May 03, 2024 6:39 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]How to make a number positive
Replies: 3
Views: 184

Re: How to make a number positive

Thank you. Turns out I was just confused about the brackets. If((((coocker_posy>0.41)or(coocker_posy<0.39))and(abs(food1_pos-coocker_posx)<0.10)), Not sure if you're a former LISP coder, but you don't need that many brackets. So you are not getting confused as easily. ^^ if (coocker_posy > 0.41 or ...
by m_from_space
Fri May 03, 2024 4:47 am
Forum: Ren'Py Questions and Announcements
Topic: Help with buttons with multiple components.
Replies: 1
Views: 136

Re: Help with buttons with multiple components.

Thanks in advance if there is any way of solving this, I'm a self-taught coder so this has gone beyond my skillset a bit, and I can't find a good tutorial on just buttons on Youtube or anywhere, everybody is using text or image buttons there which I understand. So I am missing your actual question ...
by m_from_space
Fri May 03, 2024 4:04 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]How to make a number positive
Replies: 3
Views: 184

Re: How to make a number positive

I'm making a mini game in a visual novel. I have an object moving on the screen. And there is a second object that the player controls. If the difference between the coordinates of the first and the second object is small, the player loses. The difference between the objects can be either positive ...
by m_from_space
Thu May 02, 2024 3:15 am
Forum: Ren'Py Questions and Announcements
Topic: Choice menu not repositioning
Replies: 1
Views: 137

Re: Choice menu not repositioning

Hello, I'm trying to change how choice menus appear, and while I successfully did it in one project, I can't replicate it in the other. I want the choice box to be horizontal and low on the screen. Mine, however, is sticking to the top no matter what I do. Here are the edits I made in screens.rpy s...
by m_from_space
Tue Apr 30, 2024 7:28 am
Forum: Ren'Py Questions and Announcements
Topic: Custom GUI - Button and slider alignment/positioning
Replies: 5
Views: 199

Re: Custom GUI - Button and slider alignment/positioning

I've been poking at the settings in the GUI and trying to find something in the documentation and Youtube tutorials, but have not had much luck. Thank you! Very neat design you got there as your goal! Immediately gives off werewolf vibes, not even reading about "weresex". xD So one thing ...
by m_from_space
Mon Apr 29, 2024 2:56 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make menu choices as a text button?
Replies: 2
Views: 120

Re: How to make menu choices as a text button?

I saw this https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=18047&start=15#p395926 post about making a simple combat minigame. I wanted to make the combat options text buttons instead, though. I cannot for the life of me figure out how to do that with this line of code. Any help would...
by m_from_space
Mon Apr 29, 2024 2:22 pm
Forum: Ren'Py Questions and Announcements
Topic: How do you make an interactable phone?
Replies: 1
Views: 107

Re: How do you make an interactable phone?

How do you make an interactable phone? Where you're able to scroll and stuff, just like Nighten's! I'm quite new to coding and I've watched a tutorial on how to add it but whenever the Main Character would text, it would always appear like this. I read through the comments and it seems some other p...
by m_from_space
Sun Apr 28, 2024 4:56 am
Forum: Ren'Py Questions and Announcements
Topic: Fixed list of rpy / py files to parse
Replies: 1
Views: 223

Re: Fixed list of rpy / py files to parse

A short background: I've made a game with some kind of lock-code. It's pretty easy to work-around this code by writing a .rpy file, put it in the game directory and overload the checker function. So my idea would be, when the distribution starts, there should be a .txt file containing all valid imp...
by m_from_space
Sun Apr 28, 2024 4:52 am
Forum: Ren'Py Questions and Announcements
Topic: live2d define causes error in renpy8
Replies: 3
Views: 151

Re: live2d define causes error in renpy8

it's okay in renpy7 Ren'Py 8.1.3.23091805 You may wanna try it using the latest version of Renpy stable, which is 8.2.1. If it persists, please create a bugreport here: https://github.com/renpy/renpy/issues (better not use the forum for bugreports, Tom probably doesn't check every entry and it's ha...
by m_from_space
Sun Apr 28, 2024 4:47 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] get click position on the button?
Replies: 5
Views: 165

Re: get click position on the button?

I have a big button and I want to find out where it has been clicked in relation to it's top left. So far I've been positioning it manually, that way I know where my button starts at all times, this limits the use of vbox, hbox, paddings and drags. I wonder is there's an easy way to find where on t...