Unreal Engine City Building Game - Building Roads - EP 7

  Рет қаралды 19,954

The Game Dev Channel

The Game Dev Channel

Күн бұрын

Пікірлер: 60
3 жыл бұрын
Thanks for taking the time and making this video! Turns out it's exactly what I've been trying to solve!
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
No problem! I'm glad it's what you were after
@TiagoDosakiCorreia
@TiagoDosakiCorreia 3 жыл бұрын
Thanks for making these videos. I'm a programmer (though not in games) and I've always looked at visual programming languages with a bit of disdain. You helped me see their usefulness! I'm building my game with a mix of Blueprints and C++ code and your videos have been absolutely stellar!
@MarkesOrelies
@MarkesOrelies 3 жыл бұрын
For anyone finding things to messy, look at using a few macros/functions, to help tidy things up. When the corners are checked (parts at the end), that can be made into a macro, since the only difference is, the input, (east or west). And something as simple as the "check if road", can be made into a quick 2 node macro, that replacing 8 massive enum equal blocks into a small nodes. You can also use a pure function and move the "if null/valid checks" into the "check road" as well. Great videos so far, keep up the good work.
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
Ah great tip, thanks!
@AkitaMix
@AkitaMix Жыл бұрын
this was really helpful, thanks!
@jamiereid6888
@jamiereid6888 3 жыл бұрын
Hi mate, this has been extremely useful for me so far. Keep it up! I'm currently using a 200x200 grid on a noisy terrain where I've edited the UpdatePlacement function to linetrace the height of the terrain and it's working brilliantly. Many thanks!
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
Oh awesome, good job! I was considering looking into doing custom terrain that's editable in future episodes using procedural meshes but I think that's still a ways off yet Thanks for the support! I really appreciate it
@Outrack
@Outrack 7 ай бұрын
23:06 After zooming out and witnessing the structure of this, it feels as if I've committed a war crime.
@abhishekkushwaha2455
@abhishekkushwaha2455 6 ай бұрын
😂😂😂
@TROYSOLLY
@TROYSOLLY 10 ай бұрын
Thanks man! awesome series!
@baguetteDuGame
@baguetteDuGame 3 жыл бұрын
When you check the validity of every neighbour at 32:00 and added all these messy strings everywhere, why not checking all 4 validity at the same time and plug them all in a single AND boolean node ?
@tbunreall
@tbunreall 2 жыл бұрын
For fixing the bug at around 34 minutes. I put a .2 second delay on the tick. It's not noticeable and saves a lot of performance.
@MoonRabbit_EN
@MoonRabbit_EN 2 жыл бұрын
Yup, that's my only issue with the tutorial. I've been following it closely but so far I still don't use a single Tick event in my project. Instead, I'm using 0.25s timers and event dispatchers. My FPS went up from 45 to 65.
@hansknut2284
@hansknut2284 3 жыл бұрын
good as alle the other tutorials before :)!
@ZenoFar853
@ZenoFar853 2 жыл бұрын
Really cool but I really hope if u can add radius features as planet coaster roads system
@MohamedSamy-vp2pq
@MohamedSamy-vp2pq 2 жыл бұрын
Planet coaster have amazing bulding road system i hope if u make this system it awesome
@lethiagames9208
@lethiagames9208 2 жыл бұрын
isn't better to have multiple road meshes depending on the neighbour?
@wilfred8391
@wilfred8391 3 ай бұрын
I havent watched your other videos yet, other then the previous ones from this tutorial but please for the love of all that is holy: tell people what you do. I just had to redo a shit ton of code because i missed that you switched between blueprints and just kept working in the previous one which of course would not function
@b3rk15
@b3rk15 3 жыл бұрын
Nice video!
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
Thanks! :)
@waterkoyje
@waterkoyje 3 жыл бұрын
regarding blueprint looking horrible anyway and making it more visually approachable, would be doing classes like the components or the baseasset in c++ help with that? Like blueprints will always look kinda messy but maybe that could be a cool video, your approach to how some of those could be optimized by bringing them to c++ and strengthen the architecture doing that? Would also love some insight how you usually approach such a task.
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
Yes, to me C++ is much much neater. The reason I'm using Blueprint is to make this more accessible for people who don't know how to program. Blueprints are quite easily translated to C++ but not the other way round. If that's going to be useful I may do a separate video on converting BP to C++ in the future. Thanks for the feedback! Much appreciated
@lorentzstrachan6246
@lorentzstrachan6246 3 жыл бұрын
Over how many episodes do you plan on finishing this project? I have a sneaky suspicion that everything i want to do you'll be covering in time haha
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
Haha, are games ever finished? ;) In all seriousness I have no idea, it'll run until I think it's at a good point to leave. Just keep commenting what you want to see and I'll prioritize those features :)
@lorentzstrachan6246
@lorentzstrachan6246 3 жыл бұрын
Fair enough haha. Will do. Looking forward to the next vid
@pineappleperson2022
@pineappleperson2022 2 жыл бұрын
What would you do if you want to build something that is on multiple tiles
@Vangsguard
@Vangsguard 3 жыл бұрын
I'm having a problem with the Road check. I can place in 2 of the sides where I shouldn't be able to. I get the following error: "Accesed none trying to read property NeighbourWest. Blueprint: CB_PloppableComponent Function: Road Placeable Check Graph: RoadPlaceableCkeck Node: Branch". I get it for West, south, and then again west and south so 2 times each. Hope you can help since I'm stuck.
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
Hmm without being able to debug I'm unsure. Is it maybe that the roads are not populating their neighbours properly?
@user-lj1qw5hv7l
@user-lj1qw5hv7l 3 жыл бұрын
Look at my comment on last video, maybe that was your issue?
@user-lj1qw5hv7l
@user-lj1qw5hv7l 3 жыл бұрын
This might help! Listen closey to what he says at 23:16, when pulling off the North / copying the graph, I had to plug in the South blue ref previously into the SE and SW branches, this might fix it for you. I had the same issue i thought 1 giant blue line with a re-route node would work
@waterkoyje
@waterkoyje 3 жыл бұрын
Also this got a bet messy. Any chance you could upload the final blueprints? The video rarely shows the final tree properly.
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
I'll try and do that going forward! Thanks for the feedback
@AppleBombGames
@AppleBombGames 3 жыл бұрын
Hey man, great series. But I'm having some problems with the road pathways changing visibility. I keep getting an error from the player controller cast. Any chance I can email you so I can get some help? Thank you!
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
Hi, if you're struggling you can always send a message to the email in the about section of the channel :) There may be a delayed response but I'll try and get back to you!
@AppleBombGames
@AppleBombGames 3 жыл бұрын
@@thegamedevchannel3063 Thank you, I just did
@Pinguinattack0815
@Pinguinattack0815 3 жыл бұрын
Hey, I'm having the same problem. Did you find a solution for this?
@xxjesusfreak
@xxjesusfreak 3 жыл бұрын
I know this is 4 months later. but something I missed was I didn't catch him putting road manager into the game at 38:40. this was my problem.
@nicolee5728
@nicolee5728 3 жыл бұрын
How to do that clicking on two points and creates a path between them
@whispi-chan894
@whispi-chan894 7 ай бұрын
Ok i have a problem (after 3 years, meh ~~) its simple, if i build a cross (like you) and trying to put between of road tiles, there is only 2 which turns red and not allow me to do that, its north and west ... suddenly i cannot relize what is going on :
@adam4designss
@adam4designss Жыл бұрын
@ how in this stga i can import fbx from pc to game thank you if you can help me i stopped here
@simgamedev6423
@simgamedev6423 3 жыл бұрын
I think the better way would be using c++, I think as this project goes on, the blueprints are gonna become too complex to read.
@simgamedev6423
@simgamedev6423 3 жыл бұрын
I mean blueprints are fine, but at least this project just can't get away with using 0% c++.
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
I completely agree that this entire project would be much better in c++, but I want this series to be accessible for everyone regardless of programming ability so I'm going to keep it 100% BP if I can!
@headshot2724
@headshot2724 3 жыл бұрын
I'm not sure why this happens in my error log, do you have any suggestions on how to fix it. I've looked at the node in question and the function but can't figure it out. Blueprint Runtime Error: "Accessed None trying to read property CallFunc_Getclosestgridcell_outputvector". Blueprint: CBPC Function: Spawnbuilding Graph: spawnbuilding Node: Set Occupied
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
Is that when you place something at the very edge of the cell? I get that too if it is, it's because you're trying to access a neighbour that is set to NULL most likely
@headshot2724
@headshot2724 3 жыл бұрын
@@thegamedevchannel3063 It happens no matter where I place it , on the gridcell or farther away.
@thegamedevchannel3063
@thegamedevchannel3063 3 жыл бұрын
@@headshot2724 There may be an issue in how you've setup the grid array then
@PHANTOMDONOIMusics
@PHANTOMDONOIMusics 3 жыл бұрын
@@headshot2724 I got the same error, did you get a solution ?
@headshot2724
@headshot2724 3 жыл бұрын
@@PHANTOMDONOIMusics couldn’t find a solution sorry
@Faolon
@Faolon 10 ай бұрын
no clue what i did, but i can place multiple of the same object in the same cell
@Thomas-br3jg
@Thomas-br3jg Жыл бұрын
Not a fan of cutting the video like you did at like 1:27. Very easy to miss things like that and end up with an entirely different result. Sure, if you pay enough attention and have good focus its hard to miss. But why edit out those 20 extra seconds? I prefer to see everything rather than risk missing half and continue the rest of the series based on that mistake
@ruidongqu2236
@ruidongqu2236 2 жыл бұрын
Could you please share the project file with us
@Hoptimus_Prime
@Hoptimus_Prime 5 күн бұрын
Just go through the tutorial
@babytime1
@babytime1 2 жыл бұрын
I came, i saw, I came I saw, I changed a pawn, n broke the log The game has died, it breaks some more My god, im sore, my god, im sore
@babytime1
@babytime1 2 жыл бұрын
i just...like dude haha, I dont even get an error log, I broke my game to the fifth dimension, like clickables no longer work, notttthin, and it happened around when we changed the placeabke actor class, the window that shows you alll your active variables never fully loaded n I clicked exit on it, so now im thinkin theres just some needle in the haystack gettin skippped over. However since it has *no* errors, would a good spot to start be in areas with isValid checks? Since, it well isnt working, and should be spitting out errors. I F9'd it to a begin play on the Update Placement, which yea leads me to think I shouldnt have closed that window lol
@babytime1
@babytime1 2 жыл бұрын
holy shit I am riddled in anxiety, who knew coding would be good for your mental health, like all these major problems that arise, are like the biggest shit in the world cuz Im not use to it, but then I decided to actually do debugging with print strings, found that my roadtiles were spawning in, but the Z on my floor was 32 LOL, such a fuckin nerd bro
Unreal Engine City Building Game - HUD and Building Select - Ep 8
26:34
The Game Dev Channel
Рет қаралды 10 М.
Unreal Engine City Building Game - The Grid - EP 5
17:28
The Game Dev Channel
Рет қаралды 49 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,3 МЛН
I Remade Star Wars VFX in 1 Week
10:39
ErikDoesVFX
Рет қаралды 2,8 МЛН
My Wife and I Made an Indie Game and it Made Millions!
14:45
Eastshade Studios
Рет қаралды 1,6 МЛН
ОСНОВЫ BLUEPRINTS | UNREAL ENGINE
13:02
Мелсик
Рет қаралды 77 М.
Pathways & Roads using RVTs [UE4/UE5]
20:46
PrismaticaDev
Рет қаралды 43 М.
Can You Beat Minecraft From One Grass Block?
35:27
Beppo
Рет қаралды 6 МЛН
How do non-euclidean games work? | Bitwise
14:19
DigiDigger
Рет қаралды 2,5 МЛН