咳!!小时候玩过超级玛丽的都进来看看 咱这游戏是白玩了
浏览量:459 回帖数:4
1楼
Walljump is when you jump towards a wall and somehow Mario's foot catches the wall and allows to jump again, boosting from the wall. The walljump in the left image is easy to try even on the real console. In the right image (using a custom map), three walljumps are performed.踩墙跳时当你跳向一堵墙的时候,当Mario的脚触到墙的一瞬间,允许你借助墙的作用再跳一次。左图中的跳法即使在真正的游戏机上面也很容易尝试,而在右图中(用了自定义地图),进行了三次踩墙跳。Theory: Walljump happens because the game does a floor check (a simple "is position divided by 16 even? Is there a solid block below him?" test) even during a wall-ejection. Wall-ejection is SMB's mechanism to adjust Mario's horizontal position properly when his left side and right side have a different inside-wall status. The game ejects Mario towards the opposite of his steering.理论:踩墙跳之所以能够成功是因为游戏即使在进行碰壁反弹的时候也会执行地板检测(这个检测只是检测”Mario的坐标可以被16整除吗?它下面有东西的支撑么?)。碰壁反弹是超级玛丽当中一种机制,用来在 Mario的左侧或右侧具有墙壁的时候能够调整Mario的水平位置,把Mario向它运动的相反方向弹出。right To perform a walljump, you need two things:* Some horizontal speed (towards the wall)* Mario's feet must hit the wall exactly at a block boundary (every 16 pixels)要实现踩墙跳,你需要两个条件:* 水平速度(朝向墙壁)* Mario的脚必须准确的落在图块边界上(每16个像素处)It's possible to perform walljump from any non-lethal solid material (bricks, pipes, etc).只要这样,理论上可以在任何非致命性的静态物体(例如砖块和水管等)边缘完成踩墙跳。
2008/8/16 12:43:02