You can simplify it even further by using the posmodv() funtion. It takes in a Vector2 as a parameter and it will act as the looping point. It looks like this: position = position.posmodv(get_viewport_rect().size) This way, it's only one line of code.
You can simplify it even further by using the posmodv() funtion. It takes in a Vector2 as a parameter and it will act as the looping point. It looks like this:
position = position.posmodv(get_viewport_rect().size)
This way, it's only one line of code.
Oh very cool, thanking you very much!
I cant understand how to make it?
@@vRV379 you can try and check Godot's documentation for the syntax, and other helpful stuff
Cool stuff! 👍
Thanks man!
Good stuff Steve !
Thanks Rocky!
yoy have to put the function in the loop btw
Nice one :)
Thanks man!
Heyy nice video
Thanks!
it works but how do I assign the borders of the teleportation walls?
Get_viewport is not declared in currunt scope
How slove it in godot4
Hi i want to record audio by my phone while there is sound and play when the sound is stop. Like talking tom. How can i
Good place to start would be the Godot docs they have a good section on recording audio with your microphone.
@@StevePixelFace no
@@BHanif-zc2pr yes
@@Mrtubagames can you tell me how can i?
@@BHanif-zc2pr By going to the Godot docs and reading up on the section on recording audio