5 Commits

Author SHA1 Message Date
673b0882ea feat: 新增清除数据按钮 2026-03-04 23:01:16 +08:00
e00c084e61 fix: 用 Function(renpy.show_screen) 替换 ShowScreen
Ren'Py 8.5.2 中 ShowScreen 不在 py_eval globals 内,
改用 renpy.show_screen 经 Function 包装的方式调用:
- gallery_panel 花朵按钮 → Function(renpy.show_screen, "yitao_gallery")
- yitao_gallery 卡片按钮 → Function(renpy.show_screen, "gallery_detail", photo=photo)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 22:01:34 +08:00
591d10a5cc fix: 修正 add 语句不支持 xfill/yfill/xmaximum 的错误
Ren'Py add 语句不接受 xfill、yfill、xmaximum、ymaximum,
改用 xsize/ysize 显式指定尺寸:
- icon_gallery: xsize 112, ysize 112
- 照片卡片: xsize 425, ysize 567
- 详情页图片: xsize 960, ysize 1008

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 21:57:25 +08:00
dce1aaf9b2 feat: 实现 YITAO-REN GALLERY 画廊功能
- 新增 game/images/gallery/ 目录(5 张处理过的图片资源)
  · icon_gallery.png(花朵图标,256x256)
  · photo_pearl.png / photo_monalisa.jpg / photo_corridor.jpg / photo_sleeping.jpg(统一裁切 720x960)
- game/script.rpy: 新增 persistent.gallery_seen 和 gallery_photo4_unlocked 变量
- game/Chapters/Chapter1.rpy: Chapter1_Scene4 开头自动解锁"力学之美"照片
- game/screens.rpy:
  · gallery_panel 改造为右侧侧边栏(340px),含花朵图标入口
  · 新增 yitao_gallery 屏幕(4 张卡片横排,NEW 角标,锁定状态)
  · 新增 gallery_detail 屏幕(左图右文详情页)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 21:50:57 +08:00
4e305599f2 Initial commit: XinLanDiary dev0.0.7
添加 HUD 画廊/日期面板:右上角页面图标按钮,点击弹出叠层显示当前游戏内日期(Day 1 = 2029年9月3日)。
修复 renpy.pygame.draw.rect 不支持 border_radius 的兼容性问题。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 03:44:59 +08:00