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

Project1

 找回密码
 注册会员
搜索
查看: 1714|回复: 5
打印 上一主题 下一主题

[已经解决] 求你急用脚本..游戏卡在这了...

 关闭 [复制链接]
头像被屏蔽

Lv1.梦旅人 (禁止发言)

梦石
0
星屑
50
在线时间
0 小时
注册时间
2009-7-7
帖子
102
跳转到指定楼层
1
发表于 2009-7-9 01:22:15 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
提示: 作者被禁止或删除 内容自动屏蔽
头像被屏蔽

Lv1.梦旅人 (禁止发言)

梦石
0
星屑
50
在线时间
0 小时
注册时间
2009-7-7
帖子
102
2
 楼主| 发表于 2009-7-9 02:06:57 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

Lv2.观梦者

天仙

梦石
0
星屑
610
在线时间
184 小时
注册时间
2008-4-15
帖子
5023

贵宾

3
发表于 2009-7-9 07:35:02 | 只看该作者
事件里使用脚本: $scene = Scene_Actors.new 调用
  1. class Window_Actors < Window_Selectable
  2.   def initialize
  3.     super(0, 0, 136, 416)
  4.     @index = 0
  5.     @item_max = 1
  6.     @message_window = Window_Message.new
  7.     refresh
  8.   end
  9.   def refresh
  10.     @actor_ids = []
  11.     for i in 1...$data_actors.size
  12.       @actor_ids.push(i) unless $game_party.members.include?($game_actors[i])
  13.     end
  14.     self.height = WLH * @actor_ids.size + 32
  15.     create_contents
  16.     self.height = 416 if self.height > 416
  17.     @item_max = @actor_ids.size
  18.     for i in 0...@actor_ids.size
  19.       y = WLH * i
  20.       self.contents.draw_text(4, y, 108, WLH, $data_actors[@actor_ids[i]].name)
  21.     end
  22.   end
  23.   def update
  24.     @message_window.update
  25.     if Input.trigger?(Input::C)
  26.       if $game_party.members.size < 4
  27.         Sound.play_decision
  28.         $game_party.add_actor(@actor_ids[@index])
  29.         @actor_ids.delete_at(@index)
  30.         refresh
  31.       else
  32.         Sound.play_buzzer
  33.         $game_message.texts.push("\\c[10]队伍已满")
  34.       end
  35.     elsif Input.trigger?(Input::B)
  36.       $scene = Scene_Map.new
  37.     end
  38.     super
  39.   end
  40.   def actor
  41.     return @actor_ids[index]
  42.   end
  43.   def dispose
  44.     super
  45.     @message_window.dispose
  46.   end
  47. end
  48. class Scene_Actors < Scene_Base
  49.   def start
  50.     @window_actors = Window_Actors.new
  51.     create_menu_background
  52.     @window_actors.active = true
  53.   end
  54.   def update
  55.     super
  56.     update_menu_background
  57.     @window_actors.update
  58.   end
  59.   def terminate
  60.     dispose_menu_background
  61.     @window_actors.dispose
  62.   end
  63. end
复制代码
VA脚本开工中...
偷窃脚本1.0 - 已完成
回复 支持 反对

使用道具 举报

头像被屏蔽

Lv1.梦旅人 (禁止发言)

梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-3-16
帖子
15
4
发表于 2009-7-9 12:18:46 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

头像被屏蔽

Lv1.梦旅人 (禁止发言)

梦石
0
星屑
50
在线时间
0 小时
注册时间
2009-7-7
帖子
102
5
 楼主| 发表于 2009-7-9 12:21:43 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

Lv2.观梦者 (管理员)

八云紫的式神

梦石
0
星屑
549
在线时间
1243 小时
注册时间
2008-1-1
帖子
4282

烫烫烫

6
发表于 2009-7-15 16:56:34 | 只看该作者
LZ你是在玩游戏还是制作游戏啊,玩游戏的话,下载新版本,作者已经更新了
制作的话,3楼4楼的试试
rm for linux(wine)制作中,期待夏娜SAMA能实现到webrm上
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

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

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

GMT+8, 2024-5-9 01:39

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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