Infinite road Godot test

  Рет қаралды 615

ygres158

ygres158

Күн бұрын

Пікірлер: 6
@squidtito8501
@squidtito8501 2 жыл бұрын
Damn, this is relaxing
@zumbl_z
@zumbl_z 4 жыл бұрын
I got seasick and dizzy but it was still magical and I loved it
@ygres158
@ygres158 4 жыл бұрын
well... sorry about that, glad you enjoyed it anyways ^^
@Heagan
@Heagan 3 жыл бұрын
this looks beautiful! Could I see how you did it! I would love to make a racing game that has roads like this😅 I'm new to Godot so I'm not sure where to begin
@ygres158
@ygres158 3 жыл бұрын
I can’t really do a tutorial since I’m also pretty new to it, like, I have done almost nothing more with Godot since this video was posted, still, I can tell you how I got this road effect, thought I must warn it’s not “game ready”, it’s not optimised in any way, there are no collisions and no easy way to implement them or position a car correctly for example. Now, the way this works: the place where the road “appears” or “fades away”, that’s your cursor as a way to control it, you could add something that moves that point instead of using the cursor though, anyways, there is where the “road pieces” spawn, and all they do is use a velocity curve to accelerate to the bottom of the screen while growing in size, after 10 “normal road pieces” have spawned, another 10 “white in the middle road pieces” spawn, this creates the white lines on the middle, for the lights the same happens, but they spawn every 60 “road pieces”, then they are removed after reaching the bottom of the screen. To get the “inclined road effect” I rotate the “road pieces” depending on where they have spawned and then “un-rotate” them as they get closer. There is a glitch that you can see on the video a couple of times where you can see the road that is far away through the road that is closer, this happens because every time something new spawns it’s automatically put on top of everything else, so you have to manually push it back, the thing is, this Y-sort can only sort around 8000 things, so once it runs out of available sorting spaces it resets and does that glitch, I’m sure there is a workaround to do this better, but I didn’t really care since it this was just a test. Now the moon, comets and stars are child of a node permanently rotating, the moon is always visible, the comets alternate at random intervals between visible and invisible, and the stars are just spawn points that spawn an animated node at their current position outside of the rotating node, so they stay still while doing the animation. Now to pixelate everything go to project -> project settings -> display -> window -> mode and set it to “viewport”, you must also set the “width” and “height” to something way smaller than your “test width” and “test height”, and… yeah, that’s all there is, smoke and mirrors basically. Here: drive.google.com/file/d/14zDqCmBSmdm4rClcIqyXYVRF6dIYiA26/view?usp=sharing You can download the project, can’t guarantee it will be up forever tho, I added some comments that should help a little, some resources names are not in English but you should easily understand what they are. Also, for some good tutorials, I recomend HeartBeast's youtube channel specifically it's rpg tutorial, since it's what got me started, then I also like to watch Miziziziz, codat, Game Development Center, Garbaj and GDQuest, though if you have found mine you probably have already found most of those channels xD Anyways, hope this helps, and good luck with your game!
@Heagan
@Heagan 3 жыл бұрын
@@ygres158 Its very clever I think! 🙌 You've helped me a lot, I think I have some idea on how to make this as well now, thank you very much for explaining things to me I'll have a look at the channels you recommended as well 😄
So I Added WAY Too Many Slimes to Minecraft...
43:40
Fundy
Рет қаралды 36 М.
Fallen Angel feat. Aimee B
4:28
Release - Topic
Рет қаралды 5 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Godot Rigid Body 2D Tests
6:01
ygres158
Рет қаралды 226
Land of the Lustrous - Houseki no Kuni - 2D / 3D comparison
1:41
AquaOceanMan
2:09
ygres158
Рет қаралды 70
CorelDRAW Tutorial: Create a Vector Logo with Fish Eye Effect
7:16
chill underground style NY rnb beat
2:16
27onurbeat
Рет қаралды 54
Another moth disintegrates
2:28
EUFONIA
Рет қаралды 216
Catch Me If You Can
1:01:17
home alone.
Рет қаралды 503
【色んな方言で】 いかないで/莉犬 【歌ってみた】
3:15
莉犬くん【すとぷり】
Рет қаралды 4,2 МЛН
Dark souls will be continued
0:22
ygres158
Рет қаралды 65
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН