Swizpig / ZGloom

Reimplementation of an old Amiga FPS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plasma 5 covers up to 100% of FOV with autofire

TCH68k opened this issue · comments

commented

Example screenshot: http://oscomp.hu/depot/zgloom_plasma_5_autofire_at_distance_0.png

This is caused by the plasma not spawning before the shooter, but right at the spot of the shooter.
I've made a quick patch for this: http://oscomp.hu/depot/zgloom_shoot_distance.patch
Not very optimized, just POC, but works. (Could be done with two tables of integers, indexed by the object's rotation variable.)

Example screenshot: http://oscomp.hu/depot/zgloom_plasma_5_autofire_at_distance_64.png

commented

Unfortunately this approach will not cut it as it exacerbates the bug reported in #33.