标签: javascript
你怎么做涂鸦跳,所以你不会穿过墙? 我试图更改此代码:
//Make the player move through walls if (player.x > width) player.x = 0 - player.width; else if (player.x < 0 - player.width) player.x = width;
这是链接: http://codepen.io/atatwalker/pen/JdmGMp
我是新人,只有十岁