Simple question [laser beam projectile]
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Simple question [laser beam projectile]
Is it possible made in gzdoom laser beam projectile?If yes is there some sample code?
-
- Posts: 5043
- Joined: Sun Nov 14, 2010 12:59 am
Re: Simple question
If I recall correctly, this weapon is supposed to be a beam-based weapon.
- Ed the Bat
- Posts: 3060
- Joined: Thu May 03, 2012 1:18 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Maryland, US
- Contact:
Re: Simple question
That's just a series of high-speed projectiles. The laser beam weapons I made use continuous rail attacks. It's not perfect, but...
- Matt
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
- Contact:
Re: Simple question
Well, he did say "laser beam projectile"... really, without further details (e.g. "like they shoot in Star Wars") I don't think it's clear whether a projectile, a fastprojectile, a rail or just a plain old hitscan would work the best.
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
Re: Simple question [laser beam projectile]
I've updated your thread title to be much more descriptive.
- Ed the Bat
- Posts: 3060
- Joined: Thu May 03, 2012 1:18 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Maryland, US
- Contact:
Re: Simple question
Good point. I guess what I meant was that the weapon linked above uses projectiles (in the ZDoom-technical definition), and they don't really work as what I picture to be a continuous beam. Taking 'laser' more literally (and yes, I may be assuming too much), I figured a continuous beam would fit the bill better, and to the best of my knowledge, the closest approximation available would be made with rail attacks.Vaecrius wrote:Well, he did say "laser beam projectile"... really, without further details (e.g. "like they shoot in Star Wars") I don't think it's clear whether a projectile, a fastprojectile, a rail or just a plain old hitscan would work the best.
Re: Simple question [laser beam projectile]
i´m sorry that i didn´t write more details in my first post.i meant laser effect like this one for example

