Search found 1030 matches

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: 270

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: 453

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: 270

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: 205

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: 6
Views: 438

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: 204

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: 204

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: 422

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: 376

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: 302

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...
by m_from_space
Thu Apr 25, 2024 1:50 am
Forum: Ren'Py Questions and Announcements
Topic: Issue with layered images
Replies: 1
Views: 306

Re: Issue with layered images

Hey guys! For some reason, I am having trouble making layered images work. I've read through the documentation on this but I must be messing up how I set it up somehow as it just isn't working for me. Any combination of attributes result in some form of "Exception: Image 'kazuki eyes_mad' does...
by m_from_space
Tue Apr 23, 2024 3:24 am
Forum: Ren'Py Questions and Announcements
Topic: Using JSON for optimization?
Replies: 5
Views: 472

Re: Using JSON for optimization?

There really is a lot of data that I need stored, to the level that having all of it at memory all of the time feels less than ideal, even if I haven't noticed any slowdowns. Still wondering what kind of data we are talking about and how memory this data takes up right now. For a mobile variant, hu...
by m_from_space
Mon Apr 22, 2024 7:34 am
Forum: Ren'Py Questions and Announcements
Topic: ATL Transformation VS Image Statement (ATL Block) VS Movie
Replies: 1
Views: 353

Re: ATL Transformation VS Image Statement (ATL Block) VS Movie

Anyone knows where can I read more about Ren'Py resources usage? Or if anyone could point me into how I could measure it myself that would be awesome. Hitting F4 when inside your game gives you a little bit of information regarding memory usage of textures. Whatever you mean by measuring usage, you...
by m_from_space
Mon Apr 22, 2024 7:24 am
Forum: Ren'Py Questions and Announcements
Topic: renpy.music.get_duration() cannot return duration of some BGM
Replies: 2
Views: 321

Re: renpy.music.get_duration() cannot return duration of some BGM

Li yuanlin wrote: Mon Apr 22, 2024 5:41 am anyone here?
renpy.music.get_duration()

"Returns 0.0 if no file is playing on channel, or the duration is unknown. Some formats - notably MP3 - do not include duration information in a format Ren'Py can access."
by m_from_space
Mon Apr 22, 2024 5:36 am
Forum: Ren'Py Questions and Announcements
Topic: Character Creator Crashing
Replies: 2
Views: 350

Re: Character Creator Crashing

Hello. I recently got into RenPy and started working on a visual novel. I'm working on a character creator where you will choose colors to define other body parts. By that, I mean selecting a "blond" hair color and having the hair and eyelashes match. The option buttons for the eyes or ha...