赞 | 0 |
VIP | 0 |
好人卡 | 4 |
积分 | 1 |
经验 | 45455 |
最后登录 | 2021-11-14 |
在线时间 | 446 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 55
- 在线时间
- 446 小时
- 注册时间
- 2006-11-18
- 帖子
- 1686
|
以下引用hitlerson于2008-5-31 19:27:22的发言:
对的~ 这个东西做的粗糙,小毛病一定不少!
#----- 滚动条判断
if @item_max > 10
if inside(self.x+self.width-30, self.y+65+@lan1_y, self.x+self.width-7, self.y+110+@lan1_y)
@index = 10001
@mouse_x_not_in_rect = false
if tp_index != @index
tp_index = @index
#$game_system.se_play($data_system.cursor_se)
end
if @mouse_x_not_in_rect
@index = -1
end
elsif inside(self.x+self.width-30, self.y+50, self.x+self.width-7, self.y+64)
@index = 10002
@mouse_x_not_in_rect = false
if tp_index != @index
tp_index = @index
#$game_system.se_play($data_system.cursor_se)
end
if @mouse_x_not_in_rect
@index = -1
end
elsif inside(self.x+self.width-30, self.y+441, self.x+self.width-7, self.y+455)
@index = 10003
@mouse_x_not_in_rect = false
if tp_index != @index
tp_index = @index
end
if @mouse_x_not_in_rect
@index = -1
end
end
end
#------ kaishi排列按钮
if inside(self.x+self.width-129, self.y+19, self.x+self.width-109, self.y+28)
@index = 10011 #
@mouse_x_not_in_rect = false
if tp_index != @index
tp_index = @index
$game_system.se_play($data_system.cursor_se)
end
if @mouse_x_not_in_rect
@index = -1
end
if @item_max > 10
bitmap_gdt = RPG::Cache.picture("gundongtiao")
self.contents.blt(self.width - 42, 50+@lan1_y, bitmap_gdt, Rect.new(0, 0, 20, 100), 255)
end
[本贴由作者于 2008-5-31 19:29:38 最后编辑]
我懒````
你整和吧```````然后发我````` |
|