| 赞 | 0 |
| VIP | 0 |
| 好人卡 | 0 |
| 积分 | 1 |
| 经验 | 345 |
| 最后登录 | 2012-3-30 |
| 在线时间 | 0 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 0 小时
- 注册时间
- 2007-12-24
- 帖子
- 34
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
unless $game_system.map_interpreter.running?
if Input.press?(Input::RIGHT) and Input.press?(Input::A)
if passable?(@x, @y, 4) and $game_map.terrain_tag($game_player.x+1, $game_player.y) != 1
Audio.se_play ("Audio/SE/016-Jump02", 90, 100)
jump(2,0)
end
end
unless $game_system.map_interpreter.running?
if Input.press?(Input::RIGHT) and Input.press?(Input::A) and Input.press?(Input::A)
if passable?(@x, @y, 4)
if $game_map.terrain_tag($game_player.x+1, $game_player.y) != 6
if $game_map.terrain_tag($game_player.x+2, $game_player.y) != 6
if $game_map.terrain_tag($game_player.x+3, $game_player.y) != 6
if $game_map.terrain_tag($game_player.x+4, $game_player.y) != 6
Audio.se_play ("Audio/SE/016-Jump02", 90, 100)
jump(5,0)
end
end
end
end
end
end
(来源本站跳跃脚本)
我要问的就是 if passable?(@x, @y, 4) and $game_map.terrain_tag($game_player.x+1, $game_player.y) != 1和 if passable?(@x, @y, 4)
if $game_map.terrain_tag($game_player.x+1, $game_player.y) != 6
if $game_map.terrain_tag($game_player.x+2, $game_player.y) != 6
if $game_map.terrain_tag($game_player.x+3, $game_player.y) != 6
if $game_map.terrain_tag($game_player.x+4, $game_player.y) != 6
为什么一个是=1一个是=6呢?
还有它那脚本的第一句unless $game_system.map_interpreter.running?是什么意思,?就这样啦 |
|