Тёмный

BP Time Attack Racer: Checkpoint Event Graph Script | 05 | v4.8 Tutorial Series | Unreal Engine 

Unreal Engine
Подписаться 1,2 млн
Просмотров 22 тыс.
50% 1

In this video we continue inside the Checkpoint Tracker Blueprint and provide all the scripted functionality for the core of the system on the Event Graph such as the game initialization, passing custom user settings to the Player Controller Blueprint as well as what happens when a checkpoint is cleared.
(00:05) - Intro
(00:36) - Apply Settings Setup
(05:18) - Start Sequence
(12:42) - Checkpoint Cleared Script
(16:03) - Recap

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 42   
@Icr125riderI
@Icr125riderI 9 лет назад
First of all: I love these videos. They are extremely helpful and well put together. Great projects and production quality. Thank you for all the work that goes into these. This one's code got a little messy though. The double nested loop I think is a mistake and the level audio shouldn't be started in the checkpoint logic.
@davidmsika3808
@davidmsika3808 9 лет назад
I'm not a big fan of the teaching methodology that frontloads the creation of blueprints/variables/functions and getting back to it later on. It's overwhelming and the point would be made better by creating what is needed when it's needed. If time was an issue, then you sacrificed educational value for time-compression. The lesson still has value, don't get me wrong, but it's (in my opinion) the wrong way to go about it.
@Dekcc
@Dekcc 7 лет назад
Completely agreed. I've got a few years in scripting languages but could barely keep up with exactly why we were creating all the setup beforehand. The other videos this guy does are great, but this series seems to be a bit more 'just do as i do', despite when he does explain things. Doing the setup as needed would've been a better approach.
@novaria
@novaria 4 года назад
For everyone complaining about the redundant music playback activation inside the second for-loop: Just add the Play node to the Event BeginPlay nodechain, I don't see what the big deal is... Sure this isn't best practices in blueprint design that we're getting out of this series but imho I'll be more than happy to have a running game in the end than totally sound code. Don't get me wrong, a sound code-base is essential for a long-term project but I see this more as a prototype project than anything else and I'm personally getting a lot out of the series anyway (for example getting to know how to setup up functions, event dispatcher and so on in a general manner). Cheers to everybody watching through the series and have fun learning.
@seraphpl91
@seraphpl91 8 лет назад
Fixes ForEachLoop: - 1st ForEachLoop [Completed Pin] SET Total Checkpoints - 2nd ForEachLoop [Completed Pin] Play Level Music
@blindseerurza
@blindseerurza 8 лет назад
You technically can just set the checkpoint number and bind the event in one loop. I wonder if this guy knows how to actually code?
@lv9735
@lv9735 6 лет назад
he actually said you can do this but ge did this his way for the blueprint to look more.....hmm....like more... beautifull xD
@benjioffdsv
@benjioffdsv 3 года назад
@@lv9735 that's stupid
@jolobor6686
@jolobor6686 2 года назад
at 13:25 why is my next Checkpoint a boolean adn not an integer and is that an issue?
@jeffersonjung7876
@jeffersonjung7876 8 лет назад
Can somebody help me? I can not find 'cast to my player' about 1:59
@PotatoTroll
@PotatoTroll 7 лет назад
In my case it's myPLayerController, but still I cannot fint cast to my player controller...
@abuhassanwael8633
@abuhassanwael8633 6 лет назад
You need to cast to Player controller not Player if you want to cast to player use get player pawn node then cast it to player vehicle
@MichalNizinski
@MichalNizinski 4 года назад
@Jefferson, i had the same problem. What i did is double click on MyPlayerController to open it, and then i could cast.
@SpikeBlighty
@SpikeBlighty 4 года назад
@@MichalNizinski I had the same problem until I read your comment. many thanks for the tip. lifesaver.
@SuperDogWannabe
@SuperDogWannabe 4 года назад
For anyone watching this still - When you right click, in the upper right hand corner there is a check box and the words "Contextual Sensitive". Uncheck this box, and try looking for the MyPlayerController again. It should come up. If you want, you can then re-check that box to maintain similar searches to the tutorial.
@clivejimenez7596
@clivejimenez7596 7 лет назад
Great Tutorial, however, this drove me crazy, the Tracker/Event Graph/StartSequence: The first ForEach loop, you connect the remaining flow from the the iteration of the loop (8:31), this means the initialisation runs (in my case 12 * 12 times) just need to connect "Loop Body" to the Set CheckNumber and then use "Completed" to move on to the remaining flow (sorry if I'm not using correct terminology, I'm very new to this concept). The reason it drove me crazy was stepping through to try and locate the "Accessed None trying to read property CallFunc_Array_Get_Item2" error I was getting, which seems to have sorted itself out... Must of been a property I missed as all checkpoints were enabled at the start.
@NathanZackery
@NathanZackery 7 лет назад
This series is ridiculous. I liked this guy;s other tutorials, in which he walked us through how to make something. But this time, seemingly for his own convenience, he decided to do it backwards. I'm following along, but I don't feel I'm learning!
@TheRealMrGreen
@TheRealMrGreen 9 лет назад
Your Start Sequence loop is seriously messed up.
@yonjuunininjin
@yonjuunininjin 9 лет назад
***** Please share your almighty knowledge and tell us what could be improved < 3
@TheRealMrGreen
@TheRealMrGreen 9 лет назад
The way he's set it up, there's a bunch of code that runs for each checkpoint unnecessarily. He's starting the game music as many times as there are checkpoints and there's a second loop inside the first one... It works but it made me cringe a little. Sorry if that came off as pretentious, that wasn't my intention.
@growiel
@growiel 9 лет назад
***** Agreed, I'm shocked that everything is connected in the loop body and also that we use two loops when we can easily do the Checkpoint number set and event binding in the first "loop body" and then plug the rest in the Completed pin. I wonder if he's going to change it in a future video though.
@thalessabino166
@thalessabino166 9 лет назад
***** "It works but it made me cringe a little." I'm in the ground screaming "noooooooooooo" Darth Vader style. Kidding, but this kind of things happens.
@aysikl
@aysikl 8 лет назад
to be honest these are vids which are supposed to show us how to make things work.. (I would think..?) seeing these kinds of basic 'fails' is pathetic to put it in a deservedly harsh fashion.. that being said, most people would be able to fix it reasonably quickly -- and doing so sets the bool 'has fiddled with project' to true and once u've done that, why not fiddle with some other things - and learn a bunch that way This would be a semi-decent way of poking people into taking those 'fiddle with it' steps if they're 'shy' or scared or watever. But on an actual "this is how to" level, it's *really* bad. - Im codenoob and as soon as the total checkpoints got set via length inside the loop body my brain triggered and went "dude this should be before the loop start.." Reading the comments it seems it's gonna get worse with the audio being done in the loop as well? That just makes me go "you can do that without making the sound trip the hell out?" but yea.
@ThePascalbriand
@ThePascalbriand 4 года назад
hi, im block at 13 and 14" i can't find function race complete and race restart even if its clearly created….is it because this video is a bit old? thanks for any help
@IsaiahSmith
@IsaiahSmith 8 лет назад
Really appreciate all the work and effort put into these videos. They're helping me tremendously. Maybe it was the topic, idk, but this one was slightly more confusing towards the end. I have the code and I'm assuming it will work but I had to re-watch things like 6 times to really understand what was going on. Just some (hopefully) helpful feedback ;)
@thomasarmstrong7716
@thomasarmstrong7716 6 лет назад
This is a great way to get introduced to programming in unreal /very helpful and easy to follow/GREAT!!!!!
@LEOvsMAO
@LEOvsMAO 4 года назад
Love your voice and speed of giving information, man. Thank you
@750li_Behemoth
@750li_Behemoth 4 года назад
Can anyone help me, my checkpoints seem to jump a lap and go to the end lap after one lap. i dont make it through the second lap since it restarts me after one. anyway i can solve this. so to clarify, my game starts off then i can do a lap but as i soon as i hit the last checkpoint it then jumps to the last ( like if i have three laps it jumps from 1 to 3) but it also thinks i have completed the lap which i haven't. Can anyone help
@RyanMacDougall1981
@RyanMacDougall1981 2 года назад
Did you ever figure this out? I'm running into the same problem
@myAutoGen
@myAutoGen 7 лет назад
Did this guy start learning programming yesterday?
@adekunleadebisi1607
@adekunleadebisi1607 3 года назад
Thank you!
@davidpeters5713
@davidpeters5713 6 лет назад
Et cetera - 'Et' - Not 'Ec' - (sorry - pet peeve).
@davidpeters5713
@davidpeters5713 6 лет назад
I appreciate the effort though :)
@انواعالموسيقى-د6ل
I Bind Blueprint in my mind with c++ code I see c++ code easier Because you have all control in your code Really that was very hard !!!! I don't know where we are goes!!!!!!!
@EthanThomson
@EthanThomson 7 лет назад
I followed everything to the letter up to around video 10, but some things arent working at all -Checkpoints dont dissappear when i pass through them, with the next one not appearing AFTER (they all spawn right away) -the timer runs for 4 seconds, stops, then dissappears
@aluchko
@aluchko 3 года назад
Not shocked, I'm halfway through the 5th video and the only actual piece of functionality he's implemented yet is a vanishing checkpoint. If you made a single mistake in any of those videos it won't show up till several videos later. For example, I just did the step getting an item from the checkpoint array and tried passing it to Activate Checkpoint, and it wouldn't link. I'm an experienced programmer so it only took me a few seconds to figure out the types mismatched and that Activate Checkpoint should be taking a Checkpoint and not an int as an input. But I can see an actual novice getting completely lost at that stage since there's no way to test any of the work you did. The only way to really follow the logic and guess where he's going is to have programming skills well in excess of what's supposedly assumed for this tutorial. In a way I'm the perfect audience as I have the coding ability to understand how these bits will fit together logically, and so probably am saving a bit of time. But I'm also getting bored since so far it's writing a bunch of stuff without running it.
Далее
ТАРАКАН
00:38
Просмотров 845 тыс.
ПОЮ ВЖИВУЮ🎙
3:19:12
Просмотров 879 тыс.
I Made My First Game in Godot in 3 Weeks...
26:21
Просмотров 370 тыс.
Why Solo Developers Should Use Unreal
9:51
Просмотров 386 тыс.
How Games Have Worked for 30 Years to Do Less Work
23:40
Why Unreal Engine 5.4 is a Game Changer
12:46
Просмотров 1,3 млн
ТАРАКАН
00:38
Просмотров 845 тыс.