Skip to content

Commit

Permalink
更新了bgm调整滑块
Browse files Browse the repository at this point in the history
  • Loading branch information
MCDFsteve committed Nov 12, 2023
1 parent f54b682 commit 5b3ed1a
Show file tree
Hide file tree
Showing 24 changed files with 42 additions and 57 deletions.
8 changes: 4 additions & 4 deletions errors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
errors listed below, and try again.


File "game/script.rpy", line 353: unexpected indent
with urllib.request.urlopen(req) as response:
^
File "game/options.rpy", line 22: style property width is not known.
width 400
^

Ren'Py Version: Ren'Py 8.1.3.23091805
Sun Nov 12 14:08:23 2023
Mon Nov 13 00:18:33 2023
Binary file modified game/cache/bytecode-39.rpyb
Binary file not shown.
Binary file modified game/cache/py3analysis.rpyb
Binary file not shown.
Binary file modified game/cache/screens.rpyb
Binary file not shown.
18 changes: 9 additions & 9 deletions game/cache/shaders.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
renpy.dissolve renpy.geometry
renpy.alpha renpy.geometry renpy.texture
renpy.alpha renpy.texture
renpy.ftl
renpy.dissolve renpy.dissolve
renpy.geometry renpy.solid
renpy.geometry renpy.texture
renpy.solid
renpy.texture
renpy.geometry renpy.texture
renpy.ftl
renpy.dissolve renpy.dissolve
renpy.alpha renpy.texture
renpy.solid
renpy.alpha renpy.geometry renpy.texture
renpy.geometry renpy.solid
renpy.texture
renpy.dissolve renpy.geometry
6 changes: 3 additions & 3 deletions game/gui.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,9 @@ define gui.frame_tile = False
## 默认的 GUI 仅使用滑块和垂直滚动条。所有其他栏仅在创建者编写的屏幕中使用。

## 水平条,滚动条和滑块的高度。垂直条,滚动条和滑块的宽度。
define gui.bar_size = 1
define gui.scrollbar_size = 18
define gui.slider_size = 38
define gui.bar_size = 30
define gui.scrollbar_size = 30
define gui.slider_size = 30

## 若为 True,则条的底图平铺。若为 False,则条的底图线性缩放。
define gui.bar_tile = False
Expand Down
Binary file modified game/gui.rpyc
Binary file not shown.
Binary file modified game/gui/bar/left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified game/gui/bar/right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified game/gui/slider/horizontal_hover_bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified game/gui/slider/horizontal_hover_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified game/gui/slider/horizontal_idle_bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified game/gui/slider/horizontal_idle_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified game/hito.rpyc
Binary file not shown.
8 changes: 5 additions & 3 deletions game/options.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
##

## 游戏版本号。
$ config.default_music_volume = 1.0
$ persistent.vits = True
define config.version = "1.3.0"
define version = "·新增了AI语音,可在设置里切换。"
define config.version = "1.3.1"
define version = "·新增了AI语音,可在设置里切换。\n·新增了bgm音量大小调节模块。"
## 以“##”开头的语句是注释,您不应该对其取消注释。以“#”开头的语句是注释掉的代码,
## 在适用的时候您可能需要对其取消注释。
screen time:
Expand All @@ -19,6 +18,8 @@ init python:
vits_switch = "AI语音"
else:
vits_switch = "关键词回复"
style custom_slider_style:
xmaximum 600
screen creater:
python:
if persistent.vits:
Expand All @@ -41,6 +42,7 @@ screen creater:
text "\n当前语音状态:\n[vits_status]"
text "\nBGM音量调节"
hbox:
style "custom_slider_style"
bar value Preference("music volume")
textbutton ("\n\n点我返回") action Return()
key "pad_b_press" action Return()
Expand Down
Binary file modified game/options.rpyc
Binary file not shown.
2 changes: 1 addition & 1 deletion game/saves/navigation.json

Large diffs are not rendered by default.

Binary file modified game/saves/persistent
Binary file not shown.
2 changes: 1 addition & 1 deletion game/screens.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ style check_button_text:
properties gui.button_text_properties("check_button")

style slider_slider:
xsize 525
xsize 300

style slider_button:
properties gui.button_properties("slider_button")
Expand Down
Binary file modified game/screens.rpyc
Binary file not shown.
Binary file modified game/script.rpyc
Binary file not shown.
Binary file modified game/tl/None/common.rpymc
Binary file not shown.
53 changes: 18 additions & 35 deletions log.txt
Original file line number Diff line number Diff line change
@@ -1,51 +1,34 @@
Sun Nov 12 23:27:38 2023
Windows-10-10.0.22621
Mon Nov 13 00:36:47 2023
macOS-14.1.1-arm64-arm-64bit
Ren'Py 8.1.3.23091805


Bootstrap to the start of init.init. took 0.03s
Bootstrap to the start of init.init. took 0.02s
Early init. took 0.00s
Loader init. took 0.06s
Loading error handling. took 0.03s
Loading script. took 0.17s
Loading save slot metadata. took 0.03s
Loader init. took 0.00s
Loading error handling. took 0.02s
Loading script. took 0.04s
Loading save slot metadata. took 0.02s
Loading persistent. took 0.00s
Failed to initialize steam: Exception('Init returned false.')
- Init at game/script.rpy:29 took 0.48657 s.
Running init code. took 0.78s
- Init at game/script.rpy:29 took 2.38982 s.
Running init code. took 2.43s
Loading analysis data. took 0.02s
Analyze and compile ATL. took 0.01s
Reloading save slot metadata. took 0.02s
Index archives took 0.00s
Backing up script files to 'C:\\Users\\HS\\AppData\\Roaming/RenPy/backups\\Amadeus-git':
Dump and make backups. took 0.05s
Dump and make backups. took 0.03s
Cleaning cache. took 0.00s
Making clean stores. took 0.00s
Initial gc. took 0.03s
Initial gc. took 0.02s
DPI scale factor: 1.000000
nvdrs: Loaded, about to disable thread optimizations.
nvdrs: Disabled thread optimizations.
Creating interface object. took 0.25s
Creating interface object. took 0.00s
Cleaning stores took 0.00s
Init translation took 0.03s
Init translation took 0.02s
Build styles took 0.00s
Load screen analysis took 0.00s
Analyze screens took 0.01s
Save screen analysis took 0.02s
Prepare screens took 0.05s
Load screen analysis took 0.01s
Analyze screens took 0.00s
Save screen analysis took 0.00s
Prepare screens took 0.03s
Save pyanalysis. took 0.00s
Save bytecode. took 0.02s
Running _start took 0.00s
Performance test:
Interface start. took 0.10s

Initializing gl2 renderer:
primary display bounds: (0, 0, 1920, 1080)
swap interval: 1 frames
Windowed mode.
Vendor: "b'NVIDIA Corporation'"
Renderer: b'NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2'
Version: b'4.6.0 NVIDIA 537.58'
Display Info: None
Screen sizes: virtual=(1920, 1080) physical=(1739, 978) drawable=(1739, 978)
Maximum texture size: 4096x4096
Save bytecode. took 0.00s
2 changes: 1 addition & 1 deletion project.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"build_update": false, "packages": ["win"], "add_from": true, "force_recompile": false, "android_build": "Release", "renamed_all": true, "renamed_steam": true}
{"build_update": false, "packages": ["mac"], "add_from": true, "force_recompile": false, "android_build": "Release", "renamed_all": true, "renamed_steam": true}

0 comments on commit 5b3ed1a

Please sign in to comment.