Search found 88 matches

by emz911
Wed Jul 21, 2021 9:36 pm
Forum: Ren'Py Questions and Announcements
Topic: layeredimage with variable = "not defined"?
Replies: 5
Views: 648

Re: layeredimage with variable = "not defined"?

You need "hair_front_green" in quotes since it is defined as an image. Without quotes, it would look for a variable
by emz911
Sun Jul 18, 2021 10:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Uploading the Linux build to Steam
Replies: 1
Views: 519

Re: Uploading the Linux build to Steam

You might want to take a look at this guide here: https://lemmasoft.renai.us/forums/viewtopic.php?t=29362 If you want to build for all 3 of them (Windows, Mac, and Linux) on Steam, follow the instructions in the link (note that some information are outdated, we can now download API directly from the...
by emz911
Mon Jul 12, 2021 3:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Is there a way to know in which language is the game right now?
Replies: 9
Views: 830

Re: Is there a way to know in which language is the game right now?

Xpos is a specific coordinate, if you want to center the text despite its length, use xcenter or xalign
by emz911
Mon Jun 28, 2021 6:28 pm
Forum: Ren'Py Questions and Announcements
Topic: How could Achievements be wiped but not the Gallery?
Replies: 12
Views: 1839

Re: How could Achievements be wiped but not the Gallery?

Nice to know!!! I certainly needed this information before updating my game lol. I do wonder if we should post this reminder, as well as updates like being able to download the SDK now directly from the launcher, under the Steam Achievements Guide (somewhat outdated but extremely useful) for others ...
by emz911
Mon Jun 28, 2021 6:22 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Syncing Steam Achievements on a MAC. Help!
Replies: 17
Views: 4567

Re: [Solved] Syncing Steam Achievements on a MAC. Help!

Not sure if the new config.steam_appid feature has to do with the problem, but I just wanted to post this reminder here for people using the old .txt method: Heya I just wanted to update you guys who were helping me. I got another bug report from a different user, this time someone who was a brand-n...
by emz911
Sun Jun 27, 2021 3:08 pm
Forum: Ren'Py Questions and Announcements
Topic: Calling Multiple Screens
Replies: 4
Views: 796

Re: Calling Multiple Screens

You could make a Function that calls the passed screen name.
Another easier way is to use

Code: Select all

Show("game1_p1_5") 
instead, and give your screens a:

Code: Select all

modal True
by emz911
Sun Jun 20, 2021 11:04 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to put if conditional statements in action Setvariable?
Replies: 3
Views: 679

Re: How to put if conditional statements in action Setvariable?

https://www.renpy.org/doc/html/screen_actions.html#If
Something like this?

Code: Select all

If(someBool, true=SetVariable('thatVar', thatVar-1), false=None)
You can replace the None with any other action you want
by emz911
Fri Jun 18, 2021 9:50 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Sliding Menu in Save Data Screenshot
Replies: 6
Views: 2187

Re: Sliding Menu in Save Data Screenshot

Not familiar with the queue event, but an easy way is to probably show an empty screen after hiding the game_menu and before showing the save menu.
If even this doesn't work, I would ask in the Discord server. :)
by emz911
Fri Jun 18, 2021 8:37 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Sliding Menu in Save Data Screenshot
Replies: 6
Views: 2187

Re: Sliding Menu in Save Data Screenshot

I thought you had another screen that showed the game_menu so I suggested replacing the action Show("game_menu") with ShowMenu("game_menu"), but it looks like you don't have another screen, so maybe try:

Code: Select all

screen game_menu():
    tag menu
by emz911
Fri Jun 18, 2021 12:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Say screen should automatically replace an imagemap
Replies: 3
Views: 912

Re: Say screen should automatically replace an imagemap

Just an idea, in the say screen (in screens.rpy) add:

Code: Select all

on "show" action Hide("yourimagemapscreen")
on "hide" action Show("yourimagemapscreen") #or Call a label, or you might not need this at all, depends on how your game works
Something along those lines!
by emz911
Tue Jun 15, 2021 9:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton appearing in random positions on screen
Replies: 2
Views: 633

Re: Imagebutton appearing in random positions on screen

Easiest way is to define one or two variables, for example:

Code: Select all

default myXpos = 0
default myYpos = 0

label wherever:
     $ myXpos = 0.6
     $ myYpos = 0.2
Then in the screen replace the numbers with the variable names:

Code: Select all

imagebutton:
     xpos myXpos
     ypos myYpos
by emz911
Sun Jun 13, 2021 1:46 am
Forum: Ren'Py Questions and Announcements
Topic: Error message when trying to launch game
Replies: 3
Views: 728

Re: Error message when trying to launch game

Is the ??? path a part of your game or is it a folder on the user's desktop? If it's the latter, it might be that they have given it a non-alphabetical name, maybe suggest them rename the folder or drag it out of there? Just a random guess.