当我移动播放器时,如何使子弹轨迹不会减慢?

时间:2017-04-06 12:02:29

标签: javascript html css

//子弹出现在正确的位置,但在玩家移动时减速。请帮我这个:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:8
#EXT-X-MEDIA-SEQUENCE:20
#EXTINF:4.800000,
live20.ts
#EXTINF:4.800000,
live21.ts
#EXTINF:4.800000,
live22.ts
#EXTINF:4.800000,
live23.ts
#EXTINF:7.200000,
live24.ts
#EXTINF:4.800000,
live25.ts
#EXTINF:4.800000,
live26.ts
#EXTINF:4.800000,
live27.ts
#EXTINF:4.800000,
live28.ts
#EXTINF:4.800000,
live29.ts

//使用这个:

TheWeapon.x -= 10;
TheWeapon.style.left = (688 - bulletincrement - (PlayerHorizontal - ShootedSince)) + "px";

0 个答案:

没有答案
相关问题