How do I do them?
I can do every other type of weapon- sword, missile, fire, ice, nailgun, crossbow, spears, so I know the basics of shooting.
But I don't know how to do lasers, bullets or lightning.

How do I do them?
I can do every other type of weapon- sword, missile, fire, ice, nailgun, crossbow, spears, so I know the basics of shooting.
But I don't know how to do lasers, bullets or lightning.




What's the mechanical/programmatic difference that you're going for?

With lasers and lightning, i imagine you would want to generate them with loops untill they collide with a obstacle.
With the lightning you would add random values to make it strike off differently each time.
This really depends on what you're going for. There are thousands of games that use lightning and lasers differently.
A long time ago I made a laser example you apparently liked. Although it would probably not be good for what you want.
Here it is

Well I think with the trick of high-speed 360' bullets (where you set the action point ahead of the object and constantly set that as the bullets position) you could make some cool bullets and if you made longer bullets that joined up and you managed to make the objects travel in true 360' rather than 32 directions you could make a really sweet, sweeping phaser-like thing that followed a target.
I think Nick's right with the lightning - I think a single object being created at random locations would be good with maybe a active system box that flashes a colour all across the screen just for a second.

Well the mechanics of these 3 projectiles are simple. But I need to learn how to Bullet before I can do Laser and Laser before I can do Lightning.
I can already do these:
Shoot an Object
Shoot an Object at 360 Degrees
Do Damge and HP
But I can't do these:
Make the bullet hit its target at the exact frame it was shot however far it is away, it basically has Infinite Speed with Collision.
Now the Laser would just be the above bullet but would paste image into background to make a yellow beam, it Also needs to bounce off Metal. (I could just make a flash and say it bounced off in every direction including 3D Directions)
The absolute hardest projectile to shoot is Lightning, it is similar to the Laser but it arches and splits randomly.

I fail to see how you programmed a 3D engine but can't figure out how to do this. Run a loop which moves the bullet towards the target so it hits it in one frame.
No, you woulnd't paste the laser to the background you would just create many of the object and then destroy them. To make it reflect you would have to work out what angle it would reflect off the object at then set the lasers angle to this number.
The lightning would simply do just as you say, curve around and randomly split into two copies of itself at various points. Be careful with this though as you may end up eating too much processing power.

Oh sorry, I didn't realise you meant like a lightning-gun - I figured you meant a background weather effect.
I agree with Nick: pasting to the background wouldn't do you any good as it would create a permanent, stationary image.
Paste to background is seldom useful in my experience.


For the instant hit bullets, use pythagoras theorim to find out how many times you need the loop to run that propels the bullet towards the player in 360°.