Search found 1134 matches

by noeinan
Wed May 11, 2022 7:47 pm
Forum: Ren'Py Questions and Announcements
Topic: GUI Scaling for Web Development
Replies: 1
Views: 931

Re: GUI Scaling for Web Development

https://lemmasoft.renai.us/forums/viewtopic.php?t=44132 Still doing research on this issue. So far all I've come up with is... "Use xalign and yalign instead of xpos and ypos" and "use programming to generate as much graphics as possible instead of using images". Right now I'm en...
by noeinan
Fri May 06, 2022 7:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Any multiplayer middle & backend solutions for Ren'py?
Replies: 2
Views: 1387

Re: Any multiplayer middle & backend solutions for Ren'py?

I have the same question, but I don't think anything like that currently exists. However, you can check the Cookbook! People post free code there all the time, if anything exists it will be there.
by noeinan
Tue Apr 12, 2022 11:12 am
Forum: Ren'Py Questions and Announcements
Topic: GUI Scaling for Web Development
Replies: 1
Views: 931

GUI Scaling for Web Development

I'm starting my code from scratch and just cannibalizing old code into a new architecture for a current game project. One of my main goals is to prioritize GUI scaling early so I don't have to redo a bunch of stuff when I want to port to desktop vs mobile (probably gunna export the game to web and j...
by noeinan
Tue Apr 05, 2022 11:36 am
Forum: Ren'Py Questions and Announcements
Topic: Works in Python, Doesn't Work in RenPy Python block... (solved)
Replies: 2
Views: 800

Re: Works in Python, Doesn't Work in RenPy Python block...

Okay, weirdest thing. I slept overnight and suddenly I'm not getting the error message anymore. I actually fully exited RenPy and opened it back up and still got the error. But now it suddenly stopped. I have no idea what did this, but you know what, I'll take it. Maybe it was holding onto some pers...
by noeinan
Mon Apr 04, 2022 3:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Works in Python, Doesn't Work in RenPy Python block... (solved)
Replies: 2
Views: 800

Works in Python, Doesn't Work in RenPy Python block... (solved)

I am using this code to generate weighted random numbers: https://www.renpy.org/wiki/renpy/doc/cookbook/Making_random_choice_with_some_outcomes_more_likely_than_others My Git is public, if you would like download and try yourself: https://github.com/noeinan/Fucksekai I did change the names a little ...
by noeinan
Wed Dec 09, 2020 6:20 pm
Forum: Ren'Py Questions and Announcements
Topic: Advice on Having Multiple NVL Mode Text Positions (solved)
Replies: 6
Views: 2286

Re: Advice on Having Multiple NVL Mode Text Positions

Oof! Thanks for catching that typo. After fixing the typo I no longer get the error message, but it also does not move the text. At your suggestion, I tried this: screen nvl(dialogue, items=None): layer "textwindow" window: style "nvl_window" if grapple_textbox == True: xpos 356 ...
by noeinan
Wed Dec 09, 2020 2:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Advice on Having Multiple NVL Mode Text Positions (solved)
Replies: 6
Views: 2286

Re: Advice on Having Multiple NVL Mode Text Positions

So, I tried another method, which is setting the text position to a variable and then changing said variable, but even if I define the variable in the line right before the gui. definition, it refuses to accept it... ## The position, width, and alignment of nvl_thought text (the text said by the ## ...
by noeinan
Wed Dec 09, 2020 1:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Advice on Having Multiple NVL Mode Text Positions (solved)
Replies: 6
Views: 2286

Re: Advice on Having Multiple NVL Mode Text Positions

Thanks for the idea! I tried this: screen nvl_dialogue(dialogue): layer "textwindow" if grapple_textbox == True: gui.nvl_thought_xpos = 940 else: $ gui.nvl_thought_xpos = 620 for d in dialogue: window: id d.window_id fixed: yfit gui.nvl_height is None if d.who is not None: text d.who: id d...
by noeinan
Tue Dec 08, 2020 3:52 pm
Forum: Ren'Py Questions and Announcements
Topic: Advice on Having Multiple NVL Mode Text Positions (solved)
Replies: 6
Views: 2286

Re: Advice on Having Multiple NVL Mode Text Positions

I tried copying the entire code for nvl mode in screen.rpy and gui.rpy, then changing it to grapple mode, then making a new "character" that speaks in grapple mode, but I got an undefined error when I tried to add that mode to the character. I suspect characters won't accept new modes I've...
by noeinan
Tue Dec 08, 2020 3:31 am
Forum: Ren'Py Questions and Announcements
Topic: Advice on Having Multiple NVL Mode Text Positions (solved)
Replies: 6
Views: 2286

Advice on Having Multiple NVL Mode Text Positions (solved)

My game primarily uses nvl mode, but I would like the text position and nvl textbox image to change during certain parts of gameplay. Specifically, the textbox is centered when the player is walking around the map, but when they are in combat the textbox is on the right side, so centered text would ...
by noeinan
Sat Dec 05, 2020 12:51 am
Forum: Ren'Py Questions and Announcements
Topic: Layered Image Not Accepting Class Variables... (solved)
Replies: 9
Views: 2266

Re: Layered Image Not Accepting Class Variables...

Okay, so I just deleted all of my elses and "pass"es and suddenly everything works. I guess I need to ignore the need to close these if clauses and just leave them alone.
by noeinan
Sat Dec 05, 2020 12:42 am
Forum: Ren'Py Questions and Announcements
Topic: Layered Image Not Accepting Class Variables... (solved)
Replies: 9
Views: 2266

Re: Layered Image Not Accepting Class Variables...

Omg! I didn't notice the error is actually in a different part of the file. It's here: init python: player.grapple_arms = "up" player.grapple_face = "shock" player.grapple_legs = "up" screen grapple_overlay(npc): #layer "overlay2" ## Ensure this appears on top...
by noeinan
Fri Dec 04, 2020 11:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Layered Image Not Accepting Class Variables... (solved)
Replies: 9
Views: 2266

Re: Layered Image Not Accepting Class Variables...

I do have them in all different files, to keep things organized... Maybe I'll have to put them in the same file but I think that may cause an issue since there's multiple layered images and they're going to be quite big. So if I put literally all of them in the same file, ugh, I feel that will be a ...
by noeinan
Fri Dec 04, 2020 10:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Layered Image Not Accepting Class Variables... (solved)
Replies: 9
Views: 2266

Re: Layered Image Not Accepting Class Variables...

I tried that one too but I am still getting the same undefined error. I am not sure what the difference between default and define are, but neither work.
by noeinan
Fri Dec 04, 2020 9:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Layered Image Not Accepting Class Variables... (solved)
Replies: 9
Views: 2266

Re: Layered Image Not Accepting Class Variables...

Thanks for the help! Unfortunately, defining instead of doing it in the start_label did not change anything. Also, making the layered image init 999 did not fix the error either. I'm really confused about why this is happening! I feel like I was putting variables after the start label for a reason, ...