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.
About this post
- Posted
- Archived
- Score
- 1 · 60% up
- Kind
- Text
- ID
- 1igl83f
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.
Godot.
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?
Define "smooth"
Tell us the difference between what yours does and what you want it to do.
Move player from point a to point t b. Put effects over it.
OP said seamless
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.
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.
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.