Open asim-shrestha opened 4 years ago
There is a bug where when the host dies, the laser animation doesn't show fully on the client's screen. I think it also applies vice versa. Here are some screenshots:
Another bug I found is when the host dies, the host sprite is still visible from the client's perspective.
How it works overall is that there is a parent Laser script that deals laser speed, turning on and off, direction etc. Then there are two child classes Rotation Laser and Translation Laser that inherit Laser and just handle rotating or translating the laser. For the translation laser, there is a Laser Bound class that will change the direction of the translation laser once the translation laser touches it
Closes #16