this might help you out more
viewtopic.php?f=51&t=37710#p408490
the reason why you getting errors is because you didn't defined the variables
default enemyhp = 50
default currenthp = 50
default maxhp = 50
default maxhpe = 50
Search found 544 matches
- Fri Jan 22, 2021 10:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How can I add RPG combat to my game?
- Replies: 5
- Views: 387
- Fri Jan 22, 2021 1:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Do I need the GUI.rpy file for anything?
- Replies: 2
- Views: 69
Re: Do I need the GUI.rpy file for anything?
No you don't need it as long as you have your own style template on a different rpy file for the stuff you are using
renpy only needs option.rpy
renpy only needs option.rpy
- Wed Jan 20, 2021 11:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: My CG Gallery Can't Run
- Replies: 10
- Views: 135
Re: My CG Gallery Can't Run
are you using g for a character at all? I will suggest that you use this one https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=55597 Thank you for your answer! I checked a few times on all of the scripts and I found that I didn't define "g" as character or any variables. Let me update you as s...
- Wed Jan 20, 2021 1:19 am
- Forum: Ren'Py Questions and Announcements
- Topic: My CG Gallery Can't Run
- Replies: 10
- Views: 135
Re: My CG Gallery Can't Run
are you using g for a character at all?
I will suggest that you use this one
viewtopic.php?f=51&t=55597
I will suggest that you use this one
viewtopic.php?f=51&t=55597
- Mon Jan 18, 2021 1:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Sound effects cutting off. [Solved]
- Replies: 3
- Views: 123
Re: Sound effects cutting off.
question:
do you want to stop audio before or after text appears or disappears?
the reason why I asked that cause you stop music & stop sound after the images appears before the text shows up
do you want to stop audio before or after text appears or disappears?
the reason why I asked that cause you stop music & stop sound after the images appears before the text shows up
- Sun Jan 17, 2021 11:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How do I make a custom transition?
- Replies: 1
- Views: 112
Re: How do I make a custom transition?
this might help you out
viewtopic.php?f=52&t=37628
viewtopic.php?f=52&t=37628
- Sun Jan 17, 2021 10:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Virus detection after installing 7.4 updated game
- Replies: 3
- Views: 125
Re: Virus detection after installing 7.4 updated game
it's mostly due to a custom icon
- Thu Jan 14, 2021 11:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Live 2D
- Replies: 5
- Views: 186
Re: Live 2D
look at these two lines and tell me what you see is wrong A or B
A. image hiyori = Live2D("Resources/Hiyori", base=.6)
B. image hiyori = Live2D("C:\Program Files (x86)\Resources\Hiyori", base=.6)
A. image hiyori = Live2D("Resources/Hiyori", base=.6)
B. image hiyori = Live2D("C:\Program Files (x86)\Resources\Hiyori", base=.6)
- Thu Jan 14, 2021 8:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Color string u'#228B22' must be 3, 4, 6, or 8 hex digits long.
- Replies: 2
- Views: 121
Re: Color string u'#228B22' must be 3, 4, 6, or 8 hex digits long.
have tried it this way https://www.renpy.org/doc/html/text.html#text-tag-color screen hp_indicator(): zorder 100 modal False for x in ind_list_e: if x >= 0: text "{color=#228B22}-{/color}" + str(x) size 30 yoffset -25 at A_ind_enemy else: text "{color=#228B22}+{/color}" + str(x * - 1) size 30 yoffse...
- Wed Jan 13, 2021 4:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Renpy Reload Glitch [SOLVED]
- Replies: 2
- Views: 150
Re: Renpy Reload Glitch
either you have to disable pickle or stop reloading by pressing shift+r to many times
more info on pickle
https://www.renpy.org/doc/html/save_loa ... y-can-save
more info on pickle
https://www.renpy.org/doc/html/save_loa ... y-can-save
- Wed Jan 13, 2021 4:49 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Animation slows down
- Replies: 12
- Views: 257
Re: Animation slows down
how many frames are you using? and I would use show instead of scene if the animation are only 5 frames then I would this code here image anim_scene_1: "images/anim/image1.png" pause 1.0 "images/anim/image2.png" pause 1.0 "images/anim/image3.png" pause 1.0 "images/anim/image4.png" pause 1.0 "images/...
- Wed Jan 13, 2021 3:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Animation slows down
- Replies: 12
- Views: 257
Re: Animation slows down
Post your code so someone can help you better
- Wed Jan 13, 2021 3:08 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Customize Choice Boxes [SOLVED]
- Replies: 7
- Views: 237
Re: Customize Choice Boxes
Though I still wonder how I can keep the textbook from disappearing, thank you again <3 Hi, acorn-says-no , What do you mean by textbook? Do you mean textbox (the window the dialogue is displayed in)? For the textbox you just put the 'dialogue' inside menu : menu: "What was that?" "Yanny": "I think...
- Tue Jan 12, 2021 10:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: Customize Choice Boxes [SOLVED]
- Replies: 7
- Views: 237
Re: Customize Choice Boxes
has I said look in your gui.rpy lines between 201 to 214 find this change gui.text_size to a number define gui.choice_button_text_size = gui.text_size to put image as a heart there is a away I can't remember how but if I can remember Ill post it here Edit: go to your gui/button and look for choice_h...
- Mon Jan 11, 2021 5:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Customize Choice Boxes [SOLVED]
- Replies: 7
- Views: 237
Re: Customize Choice Boxes
open screens.rpy look for line 201 to 237
open gui.rpy look for line 201 to 214
define gui.choice_button_text_xalign = 0.5
those are the line you need to modify
Code: Select all
style choice_vbox:
xalign 0.5
ypos 270
yanchor 0.5
define gui.choice_button_text_xalign = 0.5
those are the line you need to modify