Тёмный
Real Robots
Real Robots
Real Robots
Подписаться
How to generate voxel meshes in Godot
29:43
Месяц назад
Making Rimworld - Trees Dying and Propagating
32:27
2 месяца назад
How to Make Rimworld - Trees that Grow
28:47
2 месяца назад
Clicking and Bug Fixing
27:48
3 месяца назад
Ripping Off Rimworld Part 12 - I'm Spiraling
36:14
3 месяца назад
Making Rimworld 10: The Refactoring
29:56
4 месяца назад
Drawing Build Orders in line in Godot 4
36:54
4 месяца назад
How to make Rimworlds UI in Godot 4
30:32
4 месяца назад
Harvesting Resources in Godot 4
24:24
5 месяцев назад
Pawn AI - Task System in Godot 4
31:23
5 месяцев назад
How to make an Item System in Godot 4
36:15
5 месяцев назад
How to make a 2D Camera Pan & Zoom in Godot 4
18:50
5 месяцев назад
Hovercraft Test 2
1:21
3 года назад
Hovercraft Test 1
0:22
3 года назад
Комментарии
@Enigma758
@Enigma758 14 часов назад
00:18 You really should specify a pullup or pulldown resistor a, otherwise the input is floating when the button is not pressed.
@real_robots
@real_robots 14 часов назад
@@Enigma758 that's true, I could have mentioned it. In the context of using an Arduino pro micro you don't need to add one as the pull-ups are built in
@OgioniBH
@OgioniBH 19 часов назад
Good evening my favorite genius, friends, I'm bothering you again to ask for your help. I made a Matrix with 3 "joysticks" of 5 positions, in rr_Configurator, the buttons are working perfectly, but Windows doesn't recognize all of them, do you have any idea what it could be? It still doesn't include the diodes, could that be why? (Sorry for the English, it's Google Translate)
@real_robots
@real_robots 18 часов назад
@@OgioniBH if it's recognising some but not others, and they're working in the Configurator, I'm guessing you numbered them higher than 32? Windows won't recognise higher than 32
@OgioniBH
@OgioniBH 6 часов назад
@real_robots I put it as directional, in the setup replies... the Windows does not.
@Snapper-gaming
@Snapper-gaming 3 дня назад
Why are you making a pathfinding system from "scratch" instead of using the pathfinding nodes? You don't seem to be explaining that in the video :)
@real_robots
@real_robots 3 дня назад
@@Snapper-gaming I'm not making it from scratch, I'm using the very simple pathfinding grid system built into Godot
@ahmetttt10
@ahmetttt10 5 дней назад
When joyistick + throttle + pedals are made, are they transferred to the pc via a single usb?
@real_robots
@real_robots 5 дней назад
@@ahmetttt10 if they are all connected corrextly yes. I recommend testing it out first, the firmwares a bit dated now and I'm not sure how it holds up with all the updates Arduino has had
@canjiica
@canjiica 5 дней назад
Great quality tutorial! Thank you!
@ahmetttt10
@ahmetttt10 6 дней назад
25xbuttons + (4x units)Thru-hole 5-way Navigation switch (6pin -Product ID: 504-) how can we connect the buttons in this way. So it has 6 pins (5 way navigation swtich), I guess one of them is gnd? I couldn't find a source anywhere.
@real_robots
@real_robots 5 дней назад
@@ahmetttt10 those guys have 1 common pin. You need to find that and connect it to ground and the rest go to different digital pins. YOu can connect them in a matrix, just consider them to all be in the same column
@ahmetttt10
@ahmetttt10 5 дней назад
@real_robots so the column pin (shown in green) will be connected as Gnd (common pin). I will connect each of the other different legs to the Row pin and add diodes to the ends ? So will I include the potassometer in this matrix? According to the FreeJoy project
@real_robots
@real_robots 5 дней назад
@@ahmetttt10 that's right, and you'd treat each button as being in the same column, and on different rows
@ahmetttt10
@ahmetttt10 5 дней назад
@@real_robots Thank you very much,
@qualia765
@qualia765 7 дней назад
if there are multiple of the sprites on top of each other and you click all of them trigger how do i make it such that only the top most sprite runs code?
@NavsSane
@NavsSane 8 дней назад
Hey man, just wanted to say that I appreciate so much that you link a specific commit in every video. I do some stuff differently (I use actual terrain instead of just tiles, some other small things) and being able to just browse files reeeeeeally helps. Thanks so much for the series!
@ischysyt
@ischysyt 15 дней назад
Amazing video series! Can't wait to see the following videos, I was dying to get started with 3D but wanted to learn more about what goes behind the scenes rather than just placing an asset in the engine and be done with it, this was exactly what I needed! Keep up the great work man!
@flynsarmy
@flynsarmy 17 дней назад
If you want to do this on the GPU instead of the CPU, create a MeshInstance3D with a SphereMesh. Attach a SurfaceMaterialOverride shader with the following GLSL: shader_type spatial; uniform vec3 min_col : source_color = vec3(0, .3, 0); uniform vec3 max_col : source_color = vec3(.8, 1, .8); uniform float magnitude = .1; uniform vec2 seed = vec2(0.); uniform sampler2D tex_distortion : source_color; float rand(vec2 co){ return fract(sin(dot(co, vec2(12.9898, 78.233))) * 43758.5453); } void vertex() { VERTEX += NORMAL * texture(tex_distortion, UV + seed).rgb * magnitude; } void fragment() { ALBEDO.r = min_col.r + (max_col.r - min_col.r) * rand(seed); ALBEDO.g = min_col.g + (max_col.g - min_col.g) * rand(seed + vec2(.2)); ALBEDO.b = min_col.b + (max_col.b - min_col.b) * rand(seed + vec2(.3)); } That's all there is to it. Make the texture seamless with a low frequency then adjust the seed and magnitude vars as desired.
@torgo_
@torgo_ 20 дней назад
Wow this is really interesting! One could apply the same ideas to make rocks and other features. I will be trying this out tonight. I've been thinking about this lately and I was wondering if it would be possible to generate things like this but with more of an organic appearance, like the rounded fleshy shapes of an alien planet. Perhaps it could be done with shaders. And I wonder if one could join several of these together. I was looking at metaballs on Shadertoy. If you could line up a row of these with various properties with the right shaders, you could maybe get things that look like strange worms/creatures or tree roots, generated with code.
@iangraham6730
@iangraham6730 21 день назад
Brilliant! 👏
@amurense
@amurense 21 день назад
thanks!
@slo1nickgame574
@slo1nickgame574 21 день назад
Thank you very much! This tutorials have helped me.
@tayete
@tayete 23 дня назад
Fantastic tutorial! Thank you so much!!!
@RG-ef8vm
@RG-ef8vm 23 дня назад
at 34:46 when you realized you forgot to divide by the tile_size, I ran into this a few times as well. I found that you can do terrain.local_to_map(position) instead of position / terrain.tile_set.tile_size and the function takes care of the conversion.
@RG-ef8vm
@RG-ef8vm 24 дня назад
When calling super()._init, since you're calling the same function in the parent, you can just use super()
@patrickmulholland1840
@patrickmulholland1840 25 дней назад
perfect thankyou
@Damjan184-rq9gu
@Damjan184-rq9gu 27 дней назад
Wow, everything fits perfectly into each other and is very easy to upgrade, would love to write that kind of code one day.
@OgioniBH
@OgioniBH 28 дней назад
Good evening my old friend, Can you tell me if rr_Configurator would recognize a hall sensor?
@real_robots
@real_robots 28 дней назад
@@OgioniBH if it uses a pwm signal, yes.
@rskee8990
@rskee8990 Месяц назад
Great work! I love the clear explanations on how you approach ideas and problems.
@aydnbozbeyoglu3594
@aydnbozbeyoglu3594 Месяц назад
Does original Arduino work? Atmega 32?
@real_robots
@real_robots Месяц назад
@@aydnbozbeyoglu3594 needs to be a pro micro, or any Arduino with an ATMEGA32u4. The standard Arduino uno can't do USB hid
@Gabirell
@Gabirell Месяц назад
Great! 👍
@DudaWas
@DudaWas Месяц назад
Are there any plans to add this to the 2D parts?
@real_robots
@real_robots Месяц назад
@@DudaWas I'm just toying with 3d at the moment. I'll end up either returning to the 2d version, or else porting what I've done so far into this new 3d world. Another option would be to keep the voxels, but only have 2 z levels and do like a 3d rendered version of rimworld, with the single ground level and rocks that can be dug at
@DudaWas
@DudaWas Месяц назад
​@@real_robotsthx, sounds interresting and makes sense. Would you add floating rivers?
@real_robots
@real_robots Месяц назад
@@DudaWas That's actually one of the main reasons I wanted to move to 3d, so I could make flowing water like in Timberborn. The granddad of this kind of game, Dwarf Fortress has flowing water and lava as well. Of course I'm not sure how hard it is yet, I've not done any research on it at all.
@samuelfunk3778
@samuelfunk3778 Месяц назад
really neat series! I'm coding along with you and was curious on how one would get the terrain to be smooth rather than blocky (more like Astroneer rather than Minecraft).
@real_robots
@real_robots Месяц назад
@@samuelfunk3778 you'd want to take that function that generates the 6 faces, and replace it with a marching cubes algorithm
@victorsoares8838
@victorsoares8838 Месяц назад
Man, what a great video. I had been looking for a video like this with Godot for 3 or 4 years.
@S-B-O
@S-B-O Месяц назад
Can you convert this project to touch events? Please!😢
@Krumelur
@Krumelur Месяц назад
I cannot decide if I'm more impressed by this elegant solution, or the amazing sound quality and your voice 🙂
@noahhamilton3786
@noahhamilton3786 Месяц назад
An error occurred while uploading the sketch. That is all I am getting. Same thing happens when uploading the basic blink test file. I can't upload any files when using mbed os rp2040.
@real_robots
@real_robots Месяц назад
It's been a while and I don't have the Arduino IDE set up in front of me right now. But there are two main choices for the rp2040 board in Arduino, try the other one. Only one has the USB HID stack that this library relies on
@hinturi4293
@hinturi4293 Месяц назад
idk why i’m watching this i don’t even know how to code but your voice is super relaxing and you showing your thought process probably helps a lot of people that are learning so keep it up man good shit
@Sagolera1218
@Sagolera1218 Месяц назад
i'm very curious how you'll implement lighting. most people use in-engine directional lighting but i'd like to see the "original" minecraft way of handling it. i love these videos man!
@real_robots
@real_robots Месяц назад
@@Sagolera1218 I'll be curious to find out myself. What is the "original" Minecraft way?
@RedWitherITA
@RedWitherITA Месяц назад
@@real_robots if I recall correctly, lighting in Minecraft on a block is defined by an integer value clamped between 15 and 0, and the value decreases from the source of light by 1 every block
@Sagolera1218
@Sagolera1218 Месяц назад
i've been bingeing on minecraft clone content over the last week and this is the best explained version of them. thank you for you effort and please go on!
@JacobEnfield
@JacobEnfield Месяц назад
Using just the sprite2D was nice, but for me, that detected every click whether it was on the sprite or not. I added an if statement to fix that. extends Sprite2D func _input(event): if event.is_action_pressed("click"): if self.get_rect().has_point(get_local_mouse_position()): print("clicked on the sprite")
@_Bowen
@_Bowen Месяц назад
I just wanted to say your godot videos are some of the best ones I've found or watched. I hope you're able to keep this series going for a while (at least to completion!). You're one of about 3 channels I actually set up notifications for so I could keep up with new vids.
@DboktheDbok
@DboktheDbok Месяц назад
Thank you for the awesome tutorials! Your videos are straight to the point, and including the code separately is a big bonus (my computer can’t handle super high res video so I can’t always read the code in the video)
@RedWitherITA
@RedWitherITA Месяц назад
Will you include also a saving system? if so, what is your approach? btw ty for this incredibly helpful series!
@real_robots
@real_robots Месяц назад
@@RedWitherITA saving system for these big, randomly generated maps is interesting, it's pretty inefficient to save everything, so I'll probably have a way to flag things that have changed since generation and only save those since everything else can just be regenerated from the seed.
@hodayfa000h
@hodayfa000h 25 дней назад
@@real_robots maybe making it an option? is regenerating so fast that there will be no "lag"?
@real_robots
@real_robots 24 дня назад
@@hodayfa000h I don't think there's a way to generate it instantly, it's actually probably going to get slower in the future when an extra pass for simplifying the geometry, adding trees etc is added. The actual terrain generation will probably be hidden behind a loading screen in the end. I'm not sure if I did it in this video or not, but you can also generate only so many chunks per frame and spread out the job so the computer doesn't freeze up.
@baseltup
@baseltup Месяц назад
Dude i wanted to build one thank you
@Uforik64yt
@Uforik64yt Месяц назад
You should check out 'Voxel Tools' which is a godot plugin that already does a lot of this. Adapting that may give you a head start on the voxel stuff!
@iangraham6730
@iangraham6730 Месяц назад
Very nice! Thanks for sharing, looking forward to the next part!
@jRsqILVOY
@jRsqILVOY Месяц назад
It looks great! Would be interesting to add water too. Overall I think making it 3D makes it a much more interesting project than just copying Rimworld directly. Even if game objects are just billboarded sprites.
@jRsqILVOY
@jRsqILVOY Месяц назад
For really large generation you could try moving the generation to the GPU with a compute shader. There I find it's easy to use GodotExtension and Rust (or C++, etc.) than GDScript directly though as it's easier to pass the data through when you have structs and vectors that naturally map to PackedArrays.
@DboktheDbok
@DboktheDbok Месяц назад
Thanks for the awesome tutorial! RU-vid actually recommended this video almost the same day I got the idea to try making a voxel game, so that's something. I sabotaged myself so many times while making this and spent an hour troubleshooting when it was just the face_count variable being in the wrong place :P
@xcoder2205
@xcoder2205 Месяц назад
Is the Rimworld series no longer being updated?
@real_robots
@real_robots Месяц назад
This is the rimworld series, I'm experimenting with switching it over to 3D. I might go back to 2D, or else end up porting what I've done so far to 3D so I can have z levels.
@xcoder2205
@xcoder2205 Месяц назад
@@real_robots I suggest that it might be better to do a 3D series after completing the 2D series
@matejamilosavljevic2978
@matejamilosavljevic2978 Месяц назад
Or potentially running them in parallel...
@Uforik64yt
@Uforik64yt Месяц назад
Fantastic work. Very clean. Do you plan on implementing 3D pathfinding so your units can move up and down on the terrain?
@real_robots
@real_robots Месяц назад
@@Uforik64yt yeah will definitely need to implement pathfinding
@jRsqILVOY
@jRsqILVOY Месяц назад
@@real_robots annoyingly there's no AStarGrid3D so you'll need a bit of manual code to set up the grid.
@real_robots
@real_robots Месяц назад
@@jRsqILVOY It shouldn't be too hard, just have to add the connections between the points as well as the points. Finding the connectable points is just a matter of checking the surroiunding blocks, similar to how I'm checking surrounding blocks now to see if I need to draw faces there.
@jRsqILVOY
@jRsqILVOY Месяц назад
@@real_robots yeah, it's not hard, just a hassle. Although it also gives you the freedom to add in portals and stuff which the built-in grid doesn't.
@kurtu5
@kurtu5 Месяц назад
Your favorite friend that you can pause. Man. I am this far in and haven't subbed? I feel like an ass now. Anyway, unpause and back to following your tutorial/exploration.
@ralph_f16simulator
@ralph_f16simulator Месяц назад
Hi, I have a unit called a CPD in my simulator cockpit. The unit has a build in matrix Cann i connect the columns and rows directly to a Bodnar board?
@danm2286
@danm2286 Месяц назад
Question: the gitlab says that the ESP32 can be Bluetooth only. Does this mean that you can’t use the device (once complete) with a usb cable and you have to use Bluetooth to connect it to a pc? HID master devices ATMEGA32U4 (eg. Arduino Pro Micro) ESP32 (bluetooth only, no USB HID)
@real_robots
@real_robots Месяц назад
@@danm2286 that's right, the esp32 cant connect has an HID device over USB.
@danm2286
@danm2286 Месяц назад
@@real_robots I am trying to upload the firmware to a esp32 (Freenove ESP32-WROOM Board), and i'm getting this error: "error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum) 25 | #include <Preferences.h>" any idea what i can do to fix this?
@JakubSK
@JakubSK Месяц назад
3D Sprite!
@OldRod99
@OldRod99 Месяц назад
OK, I'm finally caught up - bring on the new videos :) Thank you so much for doing these. I can't speak for everyone else, but I'm really getting a lot out of them!
@kurtu5
@kurtu5 Месяц назад
I have been following along. The font is tiny, but its a feature. I make mistakes, break the code and learn better how it works and where I can improve it later. I am 61 git commits in already. Yeah, using git to keep up.