设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索

XP好感度脚本在VA可以通用 请问如何回到大地图

查看数: 1727 | 评论数: 1 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2017-6-19 14:24

正文摘要:

本帖最后由 j296196585 于 2017-6-19 14:54 编辑 RUBY 代码复制1000经验求大触帮忙路过的大神帮帮1000经验求大触帮忙路过的大神帮帮 RUBY 代码复制SceneManage ...

回复

魔法丶小肉包 发表于 2017-6-19 18:04:06
稍微改造了一下
SceneManager.call(Scene_FF)

RUBY 代码复制
  1. class Scene_FF < Scene_Base
  2.   def start
  3.     super
  4.     c_ff
  5.   end
  6.   def c_ff
  7.     @bl = W_FF.new
  8.     @bl.set_handler(:cancel,    method(:return_scene))
  9.   end
  10. end
  11. class W_FF < Window_Selectable
  12.   def initialize
  13.     super(0,0,544,416)
  14.     refresh
  15.     activate
  16.   end
  17.   def refresh
  18.     contents.clear
  19.     if $game_switches[202]==true
  20.       contents.font.color = Color.new(0, 255, 0, 255)
  21.       draw_text(0, 0, 128, 32,"剑越卄" )
  22.              case  $game_variables[52]
  23.              when 0
  24.              draw_text(88, 0, 126, 32,"一面之缘" )
  25.              when 10
  26.              draw_text(88, 0, 126, 32,"颇有好感" )
  27.              when 20
  28.               draw_text(88, 0, 126, 32,"惺惺相惜" )
  29.               when 30
  30.              draw_text(88, 0, 126, 32,"爱慕倾心" )
  31.               when 40
  32.               draw_text(88, 0, 126, 32,"生死与共" )
  33.               end
  34.     end
  35.     if $game_switches[203]==true
  36.       contents.font.color = Color.new(0, 255, 0, 255)
  37.       draw_text(0, 32, 128, 32,"幻羽" )
  38.              case  $game_variables[53]
  39.              when -10
  40.               draw_text(88, 32, 126, 32,"不胜厌恶" )
  41.              when 0
  42.           draw_text(88, 32, 126, 32,"一面之缘" )
  43.              when 10
  44.              draw_text(88, 32, 126, 32,"颇有好感" )
  45.              when 20
  46.               draw_text(88, 32, 126, 32,"惺惺相惜" )
  47.               when 30
  48.             draw_text(88, 32, 126, 32,"爱慕倾心" )
  49.               when 40
  50.              draw_text(88, 32, 126, 32,"生死与共" )
  51.               end
  52.     end
  53.     if $game_switches[202]==false
  54.           draw_text(250, 200, 126, 32,"暂无人物关系" )
  55.         end
  56.       end
  57. end

点评

draw_face(face_name, face_index, x, y, enabled = true)  发表于 2017-6-20 09:55
draw_actor_face ("颇有好感" )难道这样设置。。。  发表于 2017-6-20 00:13
draw_actor_face  发表于 2017-6-19 22:30
问个小小的问题,如何在脚本显示图片 很小很小的图像 头像那种哒50x50格式的 谢谢  发表于 2017-6-19 21:10

评分

参与人数 2星屑 +240 收起 理由
VIPArcher + 200 认可答案
j296196585 + 40

查看全部评分

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2025-7-22 06:54

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表