Search found 15 matches
- Fri May 17, 2024 12:51 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Need help with Leveling System [SOLVED]
- Replies: 3
- Views: 186
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....
- Thu May 16, 2024 5:58 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Need help with Leveling System [SOLVED]
- Replies: 3
- Views: 186
Need help with Leveling System [SOLVED]
Hiya, I'm working on a level-up screen right now. Everything is working perfectly except for the increase in level-up points. 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. But, for level three and onward, you would always onl...
- Thu May 16, 2024 12:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: Need help with adjustable hp
- Replies: 4
- Views: 272
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...
- Wed May 15, 2024 6:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Need help with adjustable hp
- Replies: 4
- Views: 272
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...
- Tue May 14, 2024 4:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Need help with adjustable hp
- Replies: 4
- Views: 272
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 whe...
- Mon May 13, 2024 7:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Default ability not affecting action?
- Replies: 1
- Views: 146
Default ability not affecting action?
Hiya. I edited my code to be smoother, changing the player stats to default so I didn't have to constantly create a Python block when I needed to refer to them. However, the section in my character creator to increase the player's abilities no longer impacts the stats. For example, the strength abil...
- Thu May 09, 2024 6:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Screeen not Refreshing after Shift + R
- Replies: 2
- Views: 162
Screeen not Refreshing after Shift + R
Hello, I got my inventory screen working how I wanted it to, but it won't update in a current save if I Shift + R. When I edit dialogue, I can use the same save and see the changes, but my inventory screen is not the same. I have to start a new save to see my updated code. Why is this? Is there a fi...
- Tue May 07, 2024 5:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to add images to inventory grid?
- Replies: 2
- Views: 216
How to add images to inventory grid?
Hello, I am creating an inventory system for my game and need some help. I followed this excellent guide https://www.youtube.com/watch?v=237jY-KtbVA on how to make one, editing it slightly to have a grid appearance. However, the code I followed used text to represent items instead of images. How wou...
- Wed May 01, 2024 9:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Unable to add name function to renpy.random.choice
- Replies: 1
- Views: 713
Unable to add name function to renpy.random.choice
Hello, I'm unsure if I worded the title correctly to what my issue is, but I tried my best. I'm using a "renpy.random.choice" in a menu to have two random dialogues happen. I wanted to add a function that made attributes from my character creator into words (I chose blond hair and could re...
- Wed May 01, 2024 3:43 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Choice menu not repositioning
- Replies: 1
- Views: 188
Choice menu not repositioning
Hello, I'm trying to change how choice menus appear, and while I successfully did it in one project, I can't replicate it in the other. I want the choice box to be horizontal and low on the screen. Mine, however, is sticking to the top no matter what I do. Here are the edits I made in screens.rpy st...
- Mon Apr 29, 2024 3:51 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to make menu choices as a text button?
- Replies: 2
- Views: 194
Re: How to make menu choices as a text button?
I saw this https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=18047&start=15#p395926 post about making a simple combat minigame. I wanted to make the combat options text buttons instead, though. I cannot for the life of me figure out how to do that with this line of code. Any help would...
- Mon Apr 29, 2024 2:33 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to make menu choices as a text button?
- Replies: 2
- Views: 194
How to make menu choices as a text button?
I saw this https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=18047&start=15#p395926 post about making a simple combat minigame. I wanted to make the combat options text buttons instead, though. I cannot for the life of me figure out how to do that with this line of code. Any help would ...
- Tue Apr 23, 2024 4:31 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to add ability points to screen?
- Replies: 1
- Views: 429
How to add ability points to screen?
Hello. I recently got a character creator working with the ability to name and change the character's appearance on one screen. I would also like to add an ability point system, where you would have eight default points in Strength, Dexterity, Constitution, Intelligence, Wisdom, and Charisma. You wo...
- Mon Apr 22, 2024 6:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Character Creator Crashing
- Replies: 2
- Views: 340
Re: Character Creator Crashing
Sorry, I didn't specify when the crash occurred; I'm new to posting here. Also, I did some fiddling, and now it doesn't crash getting to the character screen. My code was just out of order; it was my mistake. I still need to do some editing but its working! #Characters define k = Character("Kel...
- Mon Apr 22, 2024 2:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: Character Creator Crashing
- Replies: 2
- Views: 340
Character Creator Crashing
Hello. I recently got into RenPy and started working on a visual novel. I'm working on a character creator where you will choose colors to define other body parts. By that, I mean selecting a "blond" hair color and having the hair and eyelashes match. The option buttons for the eyes or hai...