Browse Search Popular Register Upload Rules User list Login:
Search:
Laser Repulsion Beam

Image:
screenshot of the scene

Author: Little

Group: Default

Filesize: 269.48 kB

Date added: 2025-07-27

Rating: 6.1

Downloads: 3253

Views: 586

Comments: 10

Ratings: 3

Times favored: 0

Made with: Algodoo v2.2.4

Tags:

Scene tag

Hello!

I've been making a lot of destructible stuff lately -- and to ease my urge to destroy, I built this laser repulsion beam, and a car to mount it on.
The car uses my rotary collision engine and isn't really anything to write home about -- the main thing here is the repulsion beam on top!


The repulsion beam uses 4 spinning lasers that spawn invisible circles on whatever they hit that push the object away.
In essence, this is a laser repulsion ray!

The repulsion beam's actual mechanism (the 4 lasers) is inspired by a shield generator scene I saw a while back, although the code is my own original code.:D


The car itself is fairly un-remarkable.
Pressing A or D causes it to go forward or backward, pressing S brakes it, and pressing W toggles lifted suspension.

On top is the repulsion beam itself! The repulsion beam will aim towards your mouse cursor (it does have a limited range of motion though!).

To repel objects, press F -- this will push objects in the direction the gun is aiming!
On the more destructive hand, the beam can also destroy objects entirely. Press V to vaporize!

Or, for the ultimate destruction, you can also press both at once! >:D

I have included 3 buildings for you to destroy! -- A small pointless tower, a cell tower, and an entire castle!
Have phun!



CREDITS: Aim limiter springs use code derived from UnityDogGaming04's "Rope and Reverse Rope"

2017 - 2025 Little (Thyme Scene)
Any item in my scenes can be used freely with credit:D


NOTE: If the scene is laggy, try deleting the background by right clicking on the sky, clicking "Layers" and pressing the X next to "Layer 1".:lol:

EDIT: Made the laser significantly more powerful

EDIT 2: Added Vaporize Mode (suggested by Xray) and made the gun's range of motion slightly larger
Last edited at 2025/07/28 21:31:52 by Little
Please log in to rate this scene
edit
Similar scenes
Title: LASER INTENSITY - Script Only! V2
Rating: 5
Filesize: 17.76 kB
Downloads: 642
Comments: 1
Ratings: 1
Date added: 2013/09/03 23:15:16
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: onLaserStop event
Rating: 5
Filesize: 31.7 kB
Downloads: 558
Comments: 6
Ratings: 1
Date added: 2014/12/03 23:44:49
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Backward Laser
Rating: 5
Filesize: 52.52 kB
Downloads: 687
Comments: 1
Ratings: 1
Date added: 2013/10/30 03:09:41
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Solid Laser Beam?
Rating: 5.625
Filesize: 37.96 kB
Downloads: 573
Comments: 1
Ratings: 2
Date added: 2014/12/02 06:50:03
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: Laser Art 2.0
Rating: 5.625
Filesize: 30.02 kB
Downloads: 447
Comments: 6
Ratings: 2
Date added: 2015/04/29 05:38:47
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: Annihilator Beam Spawn Gun
Rating: 5
Filesize: 44.65 kB
Downloads: 474
Comments: 0
Ratings: 1
Date added: 2011/02/06 17:19:12
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Ooooohhhh.... That repulsion beam is awesome! I wish I had one on top of my Chevy pickup truck. Traffic jams woild never be a problem again because I'd simply press F on my computer and push all the cars off the road that are blocking me! :lol:
Last edited at 2025/07/27 20:11:58 by Xray
:lol: It works great for sabotaging the cars in front of you in races!
A race car passes this slow truck, next thing they know they're flying in the air with no control...
Last edited at 2025/07/27 20:37:48 by Little
Suggestion:
Include a separate "Vaporize" (V key) beam that vaporizes the stubborn cars that refuse to move out of the way with the repulsion beam!:devil:
:lol:
Not entirely sure how that would work -- would the lasers just call Scene.removeEntity(e.geom)?

Or would I find out some way to calculate the mass of the object and spawn smoke particles... :devil: :devil: :devil:

I think we know which one I'm going to do! :lol:

EDIT: I added the vaporize mode!
Last edited at 2025/07/28 21:34:21 by Little
There are many ways to do that. I think for some degree of realism you could kill the object with onLaserHit = {e.geom.timeToLive = 0} OR use your Scene.removeEntity(e.geom) Plus spawn something in its place that looks like an explosion and have it die out within a second or so.

As mentioned, this is just a suggestion so don't worry about it if you don't want to do it or cannot do it for any reason. :tup:
I added the latter I mentioned -- The lasers slowly chip away at the object's mass before it eventually reaches 0 mass and vaporizes (either getting deleted or effectively turning into dust and flying away). :lol:

I also added little red smoke particles, but they seem to be a little laggy. I think it was worth it though! :lol: :lol:
That's awesome! I love it! :tup: _o_ :tup:
"im firin mah lazor" in 2025:(
I just thought it would be funny. :lol:
It IS funny. I even Laughed Out Loud! :lol: