Search found 431 matches

by jeffster
Fri May 17, 2024 2:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Transition text box and casting shadows on the characters..
Replies: 1
Views: 41

Re: Transition text box and casting shadows on the characters..

Hello, i've been tinkering with ren'py for the past few days. I've had little to no issue working with the easy part of the engine, but i wanted to try and replicate the dialogue effect found on "Ruined King", there is a video for context. https://www.youtube.com/watch?v=fyeDhcgIVoA&t...
by jeffster
Fri May 17, 2024 12:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Some classes don't default on new game start [solved]
Replies: 5
Views: 131

Re: Some classes don't default on new game start

what happens is that after the __init__ finishes the store should look something like: store{ 'timers':{'building':[], 'setup':[]}, 'job':{stuff}, 'FTE':{stuff} etc...} OK, here: (1) "store" is the name of the main Ren'Py namespace. It's best to not use that name for your data to avoid co...
by jeffster
Fri May 17, 2024 5:44 am
Forum: Ren'Py Questions and Announcements
Topic: imagebutton transform looping
Replies: 1
Views: 166

Re: imagebutton transform looping

What I want is for the image of the orbs to show with the transform Bezier, then when hovering over them, they'll disappear with another transform. The issue here is that the transform animation keeps playing infinitely, it doesn't even wait for the transform to end before a new one starts again. I...
by jeffster
Fri May 17, 2024 5:29 am
Forum: Ren'Py Questions and Announcements
Topic: Want to add text to a (image)button
Replies: 1
Views: 114

Re: Want to add text to a (image)button

Hiya, technically this question has been answered twice through these two links: https://lemmasoft.renai.us/forums/viewtopic.php?p=466433 https://lemmasoft.renai.us/forums/viewtopic.php?t=40730 I am trying to add the cost of clothing to my shop, alongside an image. I've tried the fixed and button m...
by jeffster
Fri May 17, 2024 4:57 am
Forum: Ren'Py Questions and Announcements
Topic: Need help with Leveling System [SOLVED]
Replies: 3
Views: 109

Re: Need help with Leveling System

PS I want the level-up points to correlate with the level. So, in level two, you have 2 points; in level three, you have 3. Then you don't need a separate variable for "level-up points". If it's always the same as "player level", just use "player level" variable there.
by jeffster
Fri May 17, 2024 4:52 am
Forum: Ren'Py Questions and Announcements
Topic: Need help with Leveling System [SOLVED]
Replies: 3
Views: 109

Re: Need help with Leveling System

I don't really understand the code, but to initialize variables that would be changed and used in saving and rollback, use default rather than init python . (For constants it's OK to use "init python"). I mean instead of init python: player_level = 1 init_level_up = player_level level_up =...
by jeffster
Fri May 17, 2024 4:27 am
Forum: Ren'Py Questions and Announcements
Topic: Some classes don't default on new game start [solved]
Replies: 5
Views: 131

Re: Some classes don't default on new game start

Ren'Py variables are normally in "store" namespace, right? Why would you use globals()['campus'] Shouldn't it be store.campus ? Another question: default time = timeclass() screen TSTtimeSCR(): $time = store.time.displaytime() Wasn't store.time defined as timeclass() ? And then you assign ...
by jeffster
Fri May 17, 2024 3:32 am
Forum: Ren'Py Questions and Announcements
Topic: Best way to have bottom textbox open and close w/ unique animation?
Replies: 1
Views: 80

Re: Best way to have bottom textbox open and close w/ unique animation?

my confusion has been trying to figure out what about UI (or otherwise things on the transient layer) i'm capable of manipulating like this. i've been poking at general transition statements but apparently there's also defined images or animation statements to consider... what do people recommend i...
by jeffster
Wed May 15, 2024 11:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Need help with adjustable hp
Replies: 4
Views: 218

Re: Need help with adjustable hp

# player_stats file default player_health = player_health_func() init python: def player_health_func(): return 50 + constitution + patch_constitution # player_hud_battle file screen player_hud_battle(): vbar: value AnimatedValue(player_health, player_health_func(), delay=1.0) align(0.005, 0.87) max...
by jeffster
Wed May 15, 2024 4:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Need help with adjustable hp
Replies: 4
Views: 218

Re: Need help with adjustable hp

Hiya. I got combat working in my game, where attacks scale off other variables like strength and weapons. However, I currently need help with the health bar. While I can get the enemy to attack the player, the health bar does not update from variables, such as constitution, leaving an empty part wh...
by jeffster
Fri May 10, 2024 10:20 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I make a custom pixel dialogue box with drop shadow?
Replies: 2
Views: 213

Re: How can I make a custom pixel dialogue box with drop shadow?

Basically, how can I make this drop shadow effect and make the dialogue box resizeable? The default style for the dialogue box (textbox) is this I believe: style window: xalign 0.5 xfill True yalign gui.textbox_yalign ysize gui.textbox_height background Image("gui/textbox.png", xalign=0.5...
by jeffster
Fri May 10, 2024 9:45 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Variable as a part of another variable's name?
Replies: 9
Views: 388

Re: Variable as a part of another variable's name?

How can I do the second thing? You type long in the console and press Enter. This doesn't work. You mean presing Shift+o to open the console and then type long there, right? Because it still looks the same. For me it works. I open the console, then type "long"<Enter>, then type "rp&q...
by jeffster
Fri May 10, 2024 9:39 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]How can I reuse the screens?
Replies: 5
Views: 285

Re: How can I reuse the screens?

(...) # An "extreme" substitution is performed, in which the 30 variables obtain the values of ing_list[i][0] and ing_list [i][1]. # I made the transfer of values using the variable "ingridence". #At the beginning, each variable had its own screen, but I was able to reuse... 1 s...
by jeffster
Fri May 10, 2024 3:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Yo Dawg, I Heard You Like Pauses - Screen Timer + renpy.pause
Replies: 8
Views: 302

Re: Yo Dawg, I Heard You Like Pauses - Screen Timer + renpy.pause

if I'm using call screen, can I then still show screens on top of that? My navigation/point and click systems use a lot of different layered screens. Yes. Call one main screen, and there we can additionally both use screens (like Main Menu uses the navigation screen) and show screens. Also we can s...
by jeffster
Fri May 10, 2024 10:54 am
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to load a PyGithub library into a game?
Replies: 1
Views: 154

Re: Is it possible to load a PyGithub library into a game?

As the documentation says, 1) install it to game/python-packages . 2) Try that import in .py file, not .rpy 3) Try to minimize conflicts, like import github.Auth and the like instead of importing all github If nothing works, then probably that package is not compatible with Ren'Py. You might try to ...