| 赞 | 1 |
| VIP | 269 |
| 好人卡 | 3 |
| 积分 | 1 |
| 经验 | 43300 |
| 最后登录 | 2019-12-5 |
| 在线时间 | 1208 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 54
- 在线时间
- 1208 小时
- 注册时间
- 2011-1-23
- 帖子
- 910

|
- mouse_x, mouse_y = Mouse.get_mouse_pos
- if Mouse.press?(Mouse::LEFT)
- if mouse_x > 0 and mouse_x < 320 and
- mouse_y > 200 and mouse_y < 480
- $game_temp.common_event_id = 1
- else
- $game_variables[1] = 0
- end
- end
复制代码 这段用来确定你所说的区域,建一个并行事件,事件脚本里输入这个。意思是在这个区域里时执行1号公共事件,出区域时1号变量归0
在1号公共事件里写一号变量+1,等待40帧(1秒=40帧)
当变量大于3了就可以执行个事件宣告过关了 |
评分
-
查看全部评分
|