This project was last tested in Godot 3.5 and does not work with Godot 4.0
This is a buggy and imperfect demo of teleportation portals in the Godot Engine.
I did my best to comment the portal.gd script, but that's the only script I added comments to.
Also, I'm not an amazing programmer or Godot user so parts of the code may be wack.
Use left/right mouse button
to shoot portals
Use W
, A
, S
, D
to move
io12's Godot-Portal-Demo helped me out a lot:
https://github.com/io12/godot-portal-demo
Sebastian Lague's portal coding adventure:
https://www.youtube.com/watch?v=cWpFZbjtSQg&t=574s
DigiDigger's video on portals:
https://www.youtube.com/watch?v=_SmPR5mvH7w&t=267s
I am using Bauxitedev's motion blur shader:
https://github.com/Bauxitedev/godot-motion-blur
I partly modified a script made by turtlewit and Blasterott18 for the player controller:
https://github.com/turtlewit/VineCrawler/blob/master/PlayerNew.gd