Skip to content

How to do smooth teleportation in gamedev

I am actually suprised there isnt any more post on the topic, the only thing i could find was some deleted post on unreal5 and one on the roblox gamedev forum, anyways, how do you do smooth teleportation, when teleporting players to one place to another, you can usually tell, which might break the immersion in some cases, is there any videos, tutorials or personal recommendations that will help me make teleporting as seemless as possible, there is probably a few factors to account for like the players position, speed, etc, and in some cases you dont want the player to know they have been teleported.

1 points7 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 60% up
Kind
Text
ID
1igl83f

Author

61
posts
18
comments
7
media
View profile

9 comments

This is a very engine-specific question. So you might want to tell us what game engine you are using. Or if you aren't using one, then you could tell us what you tried to implement teleportation and what artifacts the player can notice that tells them they were teleported.

3 points

Godot.

-2 points

sorry to see all the downvotes, but i think you need to be more clear

what's the teleportation for? is it like a power for the character? transitioning between maps? how does it break immersion in your game?

4 points

Define "smooth"

Tell us the difference between what yours does and what you want it to do.

1 points

I'd go into the draw event of the player object and I'd put if (!teleporting) draw_self(); Then I'd create a teleportation area effect animation, set teleporting to true after the animation is like halfway done, do the move, play the animation again but in reverse, then set it to false again. That way there is an animation that hides or distracts from the fact that you aren't drawing the player, do the move without the player being seen, then redraw the player.

3 points

Maybe, you, could, start, by, using, periods, and, not, typing, like, a, maniac.

You could share a clip, reference to another specific game's implementation, or draw something in paint.

Don't expect quality answers if you're gonna ask low quality questions.

3 points

Are you referring to:

- area transition

- short range teleport ability

- portal

- optical illusion tricks

because each of those would be treated different for teleportation. There is also the question if only the player teleports or other characters as well.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.