Okay, no clue what version of DSE or Ren'Py was used when you helped her out. I did everything you put in and I'm getting a crap load of errors no matter what I do. Here's the latest one:OokamiKasumi wrote:Sure!Zalkyria wrote:Hi I was wondering if you could help me. I would like to use this, or something similar for my date sim I am working on. I am stumped as to how to add in a love meter to my game. Can you please help me?
I hope that helps.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game\script.rpy", line 138, in script
UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in position 24: ordinal not in range(128)
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\execution.py", line 266, in run
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\ast.py", line 1028, in execute
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\exports.py", line 939, in with_statement
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\display\core.py", line 1512, in do_with
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\display\core.py", line 1813, in interact
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\display\core.py", line 2118, in interact_core
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\display\core.py", line 1402, in draw_screen
File "render.pyx", line 366, in renpy.display.render.render_screen (gen\renpy.display.render.c:4567)
File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\display\layout.py", line 514, in render
File "render.pyx", line 95, in renpy.display.render.render (gen\renpy.display.render.c:2290)
File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\display\transition.py", line 362, in render
File "render.pyx", line 95, in renpy.display.render.render (gen\renpy.display.render.c:2290)
File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\display\layout.py", line 514, in render
File "render.pyx", line 95, in renpy.display.render.render (gen\renpy.display.render.c:2290)
File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\display\layout.py", line 514, in render
File "render.pyx", line 95, in renpy.display.render.render (gen\renpy.display.render.c:2290)
File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
File "accelerator.pyx", line 74, in renpy.display.accelerator.transform_render (gen\renpy.display.accelerator.c:1068)
File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\text\text.py", line 1282, in render
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\text\text.py", line 440, in __init__
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\text\text.py", line 219, in glyphs
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\text\font.py", line 569, in get_font
File "G:\...novel maker\renpy-6.14.1-sdk\renpy\text\font.py", line 530, in load_face
UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in position 24: ordinal not in range(128)
Windows-7-6.1.7601-SP1
Ren'Py 6.14.1.366
Code: Select all
$ show_devon=True
# This makes the Meter appear.
pause 0.5
# This makes the meter sit there for half a second, so that when the points
# are added, the player can actually 'see' the meter extend.
$ devon_love+=50
#This adds points to the meter.
show expression Text("{color=ffffff}{font=LHFmisterkookyREG_0.TTF}+50 Love Points{/font}{/color}",
size=50,
yalign=0.5, # Centers the text -- Toward Bottom.
xalign=0.5, # Centers the text -- Toward Right.
drop_shadow=(2, 2)) as text
with dissolve
# This is the Announcement Text for the Love Meter, including a specific font, and font color.
# This states how many points Devon is being awarded.
$ show_devon=True
# This is a Refresh that shows the increase in points ON the meter.
$ renpy.pause()
#This keeps the bar visible until the player hits a key.
hide text with dissolve
# This hides the Text.
$ show_devon=False
# This hides the Meter.
Thanks in advance for any help I can get