Search found 22 matches

by lykoia
Fri Mar 26, 2021 1:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem with the main menu on Android
Replies: 1
Views: 481

Re: Problem with the main menu on Android

I fixed it:

Code: Select all

style game_menu_navigation_frame:
    variant "small"
    xsize 200
Changed xsize to 200.

Thanks to anyone who wanted to help
by lykoia
Fri Mar 26, 2021 10:27 am
Forum: Ren'Py Questions and Announcements
Topic: Problem with the main menu on Android
Replies: 1
Views: 481

Problem with the main menu on Android

Hey, all, newbie here. Recently I've been working on an Android version of my game. There is one problem though. The text speed bar and music volume bar aren't next to each other horizontaly, but vertically. Now you have to scroll a bit to change the sound volume. It also doesn't look very good whic...
by lykoia
Mon Feb 15, 2021 11:41 am
Forum: Ren'Py Questions and Announcements
Topic: Renpy can't detect JDK
Replies: 3
Views: 1773

Renpy can't detect JDK

Hey all, newbie here.

I've been trying to make an android version of my game. I installed JDK but doesn't seem to detect it. I still can't install SDK and create keys.
Is there a way to fix this? I've installed JDK twice now. It's in C:/Program Files/Java.

Thanks in advance.
by lykoia
Sat Jan 02, 2021 11:35 am
Forum: Ren'Py Questions and Announcements
Topic: Actions on hovering - why won't my code work?
Replies: 8
Views: 453

Re: Actions on hovering - why won't my code work?

Use SetLocalVariable or SetScreenVariable Your actions/hovered (btw hovered will work with a NullAction on the action) are not altering the screen variable, just a global variable. In most cases it makes more sense to just use global variables though (easier to keep track of) default var = 0 # GLOB...
by lykoia
Sat Jan 02, 2021 11:01 am
Forum: Ren'Py Questions and Announcements
Topic: Actions on hovering - why won't my code work?
Replies: 8
Views: 453

Re: Actions on hovering - why won't my code work?

ok I did notice the you are putting "" around the number hovered SetVariable("schoolfloor", "0") when it should be hovered SetVariable("schoolfloor", 0) I changed it but nothing changed. Here's the entire code: screen mapweek00(): default schoolfloor = 0 imag...
by lykoia
Sat Jan 02, 2021 10:46 am
Forum: Ren'Py Questions and Announcements
Topic: Actions on hovering - why won't my code work?
Replies: 8
Views: 453

Re: Actions on hovering - why won't my code work?

rayminator wrote: Sat Jan 02, 2021 10:44 am are you using define or default

Code: Select all

define schoolfloor = 0 (doesn't change)
default schoolfloor = 0 (changes)

action SetVariable("schoolfloor", 1)
I'm using default
by lykoia
Sat Jan 02, 2021 10:15 am
Forum: Ren'Py Questions and Announcements
Topic: Actions on hovering - why won't my code work?
Replies: 8
Views: 453

Re: Actions on hovering - why won't my code work?

it because you have nothing in the action renpy is reading your code right by ignoring that button cause you have nullaction hovered SetVariable("schoolfloor", "0") won't do anything not in less it has something in the action try putting setvariable in action I changed it so it'...
by lykoia
Sat Jan 02, 2021 9:37 am
Forum: Ren'Py Questions and Announcements
Topic: Actions on hovering - why won't my code work?
Replies: 8
Views: 453

Actions on hovering - why won't my code work?

Hey all, newbie here, I wanted to change a variable on hover but unfortunately it doesn't work. Here's the code: imagebutton: focus_mask True idle "1stfloor-button-idle" hover "1stfloor-button-hover" hovered SetVariable("schoolfloor", "0") xalign 1.0 action Nu...
by lykoia
Wed Jul 22, 2020 7:22 am
Forum: Ren'Py Questions and Announcements
Topic: How to change the look of a scrollbar?
Replies: 0
Views: 243

How to change the look of a scrollbar?

Hey all, newbie here.
I'm sorry if this is a stupid question but how do I change the hover, idle etc sprites of a single scrollbar in a frame?
Thank you in advance.
by lykoia
Wed Jul 08, 2020 8:46 am
Forum: Ren'Py Questions and Announcements
Topic: Problem with changing the icon
Replies: 2
Views: 443

Problem with changing the icon

Hey all, newbie here. Every time I try to change the icon nothing happens. Only the window icon changes, the one you see in the file explorer doesn't. I use a PC. I changed the icon in options.rpy but that did nothing to the file explorer icon. I've seen other Ren'Py games that have different icons ...
by lykoia
Sun May 24, 2020 6:32 am
Forum: Ren'Py Questions and Announcements
Topic: Problem with loading
Replies: 1
Views: 276

Problem with loading

Good morning, everytime I try to load I get this error message: I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/common/00start.rpy", line 273, in script python: File "renpy/common/00start.rpy", line 273, in script python: File "renpy/commo...
by lykoia
Thu May 14, 2020 4:35 am
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to make a minigame that when you press a key before the right time you lose?
Replies: 1
Views: 270

Is it possible to make a minigame that when you press a key before the right time you lose?

Hey all, newbie here

Is there some easy way to implement something like that in a game?

Thank you
by lykoia
Sat May 09, 2020 3:21 pm
Forum: Ren'Py Questions and Announcements
Topic: How to center text?
Replies: 6
Views: 580

Re: How to center text?

vbox: xalign 0.5 label "[config.name!t] v.[config.version!t]\n" xalign 0.5 #etc... Hm, ok, i was bit rushy, this code will work if external container take up screen area (either fixed or have xfill True) and not just big enough to contain this vbox. Is there also a way to center text like...
by lykoia
Sat May 09, 2020 10:09 am
Forum: Ren'Py Questions and Announcements
Topic: How to center text?
Replies: 6
Views: 580

Re: How to center text?

It's not working, where am I supposed to add xalign 0.5?
by lykoia
Sat May 09, 2020 7:40 am
Forum: Ren'Py Questions and Announcements
Topic: How to center text?
Replies: 6
Views: 580

How to center text?

Hey all, newbie here. I wanted to center text in the about section but I don't know how. I tried to do: screen about(): tag menu use game_menu(_("About"), scroll="viewport"): style_prefix "about" vbox: label "[config.name!t] v.[config.version!t]\n" xalign 0.5 ...