用了鼠标操作以后不响应开头的图片菜单,我在66问了这个问题,他们给了我一个什么代码,还要用到公共事件,可是我不知道怎么用,可能是太苯的缘故……所以来这里问问……
图片标题菜单的位置:
for i in 1..6
x=80
y=(i+1)/2*60+150
@sprite.x =x
@sprite.y =y
end
图片的大小:190X57
如果可以的话尽可能说的具体一些,我这个人理解力很差…… [s:8]
mouse_x, mouse_y = Mouse.get_mouse_pos
if Mouse.press?(Mouse:EFT)
if mouse_x > 0 and mouse_x < 320 and
mouse_y > 200 and mouse_y < 480
$game_temp.common_event_id = 1
end
end