Star Wars gets around that issue because their "laser guns" are actually referred to by the more scientifically appropriate name plasma rifles, and they fire plasma bolts, which can behave as you showed with your special effects.