Search found 440 matches

by jeffster
Mon May 20, 2024 5:44 am
Forum: Ren'Py Questions and Announcements
Topic: Inventory Help
Replies: 1
Views: 119

Re: Inventory Help

For every item you can set an imagebutton (or a hotspot if you use imagemap ). Set conditions (with "if") whether to show for each of those buttons or hotspots. For example, if on map1 you have to find - a case located at pos (100, 800) - and a book located at pos (700, 700): # Set that yo...
by jeffster
Mon May 20, 2024 5:12 am
Forum: Ren'Py Questions and Announcements
Topic: How to add music and font choices?
Replies: 1
Views: 102

Re: How to add music and font choices?

Hi, there! I'm pretty new to Ren'py and have really only mastered the most basic of basics, but I'm working on a project that I want people to be able to choose the music and font for. I have four songs and two fonts that I want people to be able to choose from, and I feel like I should be able to ...
by jeffster
Mon May 20, 2024 3:48 am
Forum: Ren'Py Questions and Announcements
Topic: Need to make a texting function
Replies: 6
Views: 258

Re: Need to make a texting function

You wanted to see old msgs too. You can do it with define too.for example massages to jasonfrom yuki default tojasonfromyuki = [] and you need define reverse and for others too.it is better to have some kind of db sender, receiver ,massage ,send time or what you need. Some games using json others m...
by jeffster
Sun May 19, 2024 5:33 pm
Forum: Ren'Py Questions and Announcements
Topic: Need to make a texting function
Replies: 6
Views: 258

Re: Need to make a texting function

You need to define everything and use some db. I made online app so using mysql. Not yet in store.it has chat mail login register review snd other things.i am sending and receiving everything. You must do same localy maybe json i dont know exactly I think TS speaks about showing in-game conversatio...
by jeffster
Sat May 18, 2024 11:38 pm
Forum: Ren'Py Questions and Announcements
Topic: Problems with Image/Video Colors
Replies: 3
Views: 158

Re: Problems with Image/Video Colors

I'm having some trouble with image/video discoloration in Ren'Py. PS. Or could there be some problem with the color profile of the images? E.g. they are saved without color profiles, but Ren'Py assumes by default some other color profile than what they used? See e.g. https://photo.stackexchange.com...
by jeffster
Sat May 18, 2024 11:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Problems with Image/Video Colors
Replies: 3
Views: 158

Re: Problems with Image/Video Colors

I would appreciate any assistance you could offer, and I'm happy to provide the full file for people if required. Please note that I'm still a relative beginner when it comes to both Ren'Py and this forum, so you would have to instruct me on how to post that. Thanks! I personally know how to do mos...
by jeffster
Sat May 18, 2024 10:02 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved!] Tooltip for dialogue text needed
Replies: 8
Views: 3631

Re: [Solved!] Tooltip for dialogue text needed

Does anyone know a way to implement conditional entries into this code? Say I have a flag for discovering some newfound lore, if I wanted that lore to be represented in a lexicon entry AFTER that lore is discovered and not before, how would I go about coding that. I've tried a few things tonight an...
by jeffster
Fri May 17, 2024 8:18 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Possible to Restrict Dragging Object Direction or Contain in Set Area
Replies: 4
Views: 189

Re: Possible to Restrict Dragging Object Direction or Contain in Set Area

https://renpy.org/doc/html/drag_drop.html#displayables says: A Drag can be moved around inside is parent. Generally, its parent should be either a Fixed() or DragGroup. Set the parent rectangle, and the drag would be limited to that rectangle. PS. It's probably possible to limit dragging directions ...
by jeffster
Fri May 17, 2024 8:10 pm
Forum: Ren'Py Questions and Announcements
Topic: Transition text box and casting shadows on the characters..
Replies: 2
Views: 128

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

casting shadows on the characters PS. An easy way to cast shadows on a half of the screen is to overlay the screen with a semi-transparent gradient image. Something like: screen say(who, what, side=1): style_prefix "say" if side == 1: add "shadow_right.png" xfill True yfill True...
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: 2
Views: 128

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

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

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

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

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

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 =...