Battery Operated Flashlight With Pickups | Updated - Unreal Engine 4 Tutorial

  Рет қаралды 10,500

Matt Aspland

Matt Aspland

Күн бұрын

Hey guys, in today's video, I'm going to be showing you how to create a flashlight which you can toggle on and off, and have it so that when it is on the battery will drain. We will also create a simple battery pickup for the flashlight to increase its battery again.
Battery 3D Model: drive.google.com/drive/folder...
Please follow this link and support the developer. The game is very cheap and amazing. They are one of you, please show them love and support and enjoy the game as well.
Download GALSAD Now: store.steampowered.com/app/13...
#Ue4 #UnrealEngine4 #Ue4Tutorial
___________________________________________________________________________
00:00 - Intro
00:02 - Overview
00:59 - Download GALSAD Now
01:47 - Creating The Flashlight
03:50 - Turning The Light On and Off
06:56 - Battery Drain
11:39 - Battery Increase
14:10 - Battery Pickup
19:47 - Final Overview
10:15 - Outro
___________________________________________________________________________
Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
The Basics Of Nodes Playlist: • The Basics Of Nodes In...
Blender Tutorials Playlist: • Blender Tutorials
___________________________________________________________________________
If you enjoy make sure to subscribe: / @mattaspland
Join My Discord Server: / discord
Follow Me On Instagram: / matt_aspland_
___________________________________________________________________________
If you want to support me, you can PayPal me at "matt.aspland.1@gmail.com". This is by no means expected or required. It is just a nice support :)
Link to PayPal: www.paypal.com/
You can also support me on Ko-Fi following this link: ko-fi.com/mattaspland
Thank you :) ___________________________________________________________________________
♫Music By♫
●Kronicle - Chill Noons
●Soundcloud - / the-chemist-10

Пікірлер: 53
@MattAspland
@MattAspland 3 жыл бұрын
Download GALSAD Now: store.steampowered.com/app/1344340/GALSAD__Galactic_Salvage_and_Disposal/ Sorry about the mic issue, it lasts no longer than 10 seconds :)
@TheF4c3m4n
@TheF4c3m4n 3 жыл бұрын
Nice, I'll definitely grab the game for $1, it looks fun! Great tutorial Matt!
@MattAspland
@MattAspland 3 жыл бұрын
@@TheF4c3m4n That's great to hear, thank you for supporting them :) And thank you for the kind words too
@wyvernwerks4550
@wyvernwerks4550 3 жыл бұрын
@@TheF4c3m4n Hey. Thanks for buying my game! Hope you enjoy it. I was thinking of having a contest and giving prizes to the top five scores at the end of the month. What do you think?
@OtakuCulture0
@OtakuCulture0 Жыл бұрын
@@wyvernwerks4550 i was thinking of buying it to support indi games, how many times it been downloaded , i cant see it on link
@stevenwynn819
@stevenwynn819 Жыл бұрын
@@OtakuCulture0 The game is still available for $1 on Steam. I'd make it free, but Steam won't let me. Enough people have downloaded it to fill the leaderboard. Making it was a fun learning experience.
@Asmund648
@Asmund648 2 жыл бұрын
A little tip for anyone here in 2022: Adjust the spotlight so its just abit below the camera, or else the shadows from objects gonna dissapear if you point at them. This is the best flashlight tutorial out there which I use in all my projects :)
@vladiktomil434
@vladiktomil434 3 ай бұрын
Hello Matt, very good morning, first of all, thank you very much for your videos, even though I hardly know English, I have learned a lot throughout this year and I thank you because without you that would not be possible. Thank you very much bro and I hope to see you here more, greetings.
@bumblebumble7031
@bumblebumble7031 2 жыл бұрын
Best tutorials out, just started learning UE4 and can't understand others as well. I appreciate the depth and clarity keep it up 💯👍
@djbxrtzxll
@djbxrtzxll Жыл бұрын
A good thing to note is that if you get a negative number of battery percentage when your battery runs out, and it's a miracle that I got this idea, it's because the number you have picked doesn't go into 100. For example, I had it set to quite a large number to drain each time so that I can demonstrate quickly and see if it works, and I picked 6, but if you think about it, you cannot countdown precisely to 0 from 100 by taking away 6 each time. At the end I was left with 4 and if it drained the battery again, which it would because the battery is still above 0, it would do 4-6 which equals -2.
@r_e_d_squirrel367
@r_e_d_squirrel367 2 жыл бұрын
Batteries included.. nice job
@GaryParkin
@GaryParkin 2 жыл бұрын
Another like from me! This was pretty cool in it doesn't use the Tick. Gives me plenty of ideas.
@JustZiReacts
@JustZiReacts 3 жыл бұрын
Nice one. Awesome❤👍
@MattAspland
@MattAspland 3 жыл бұрын
Thank you so much! :)
@AdamBarkerThe
@AdamBarkerThe 2 ай бұрын
This is exactly what I was looking for,thanks. What would you recommend as the best method for having your flashlight glow? Attach a glow actor to a socket on the camera for when you turn it on?
@johndoe35717
@johndoe35717 Жыл бұрын
great tutorial
@stevenwynn819
@stevenwynn819 3 жыл бұрын
Lots of useful concepts in this one. The logic could apply to ammo pick up, health regeneration, or whatever. Nice job!
@MattAspland
@MattAspland 3 жыл бұрын
Yep, its all about applying your knowledge like that! Thank you! Well done on the game too, all the best of luck with the launch! :)
@nextanvil3346
@nextanvil3346 3 жыл бұрын
That's awsome
@MattAspland
@MattAspland 3 жыл бұрын
Thank you!
@scrpion669
@scrpion669 3 жыл бұрын
I recently found your channel and I have been loving the tutorials and have learned quite alot.Thank you for making these videos!I'm not sure if you take requests but I've added a day/night cycle to my project and it works great but I'm using emissive materials on the windows of the buildings to make it look like the lights are on inside but I would like to make these materials toggle on/off with the day/night cycle so it looks like the lights turn off when it's day time and on at night.I can't find any tutorials on how to do this.Maybe you could do a tutorial on this?That would be awesome.
@MattAspland
@MattAspland 3 жыл бұрын
No problem man, so glad you discovered my channel and that I can help you! And yeah I can add that to my list to do thank you, its quite a lengthy list lol, but I'll keep it mind. Thanks for the suggestion :)
@scrpion669
@scrpion669 3 жыл бұрын
@@MattAspland Thank you. :)
@Thomas-un5jo
@Thomas-un5jo 3 жыл бұрын
A good tutorial
@MattAspland
@MattAspland 3 жыл бұрын
Thank you!
@itsfuyzz8951
@itsfuyzz8951 3 жыл бұрын
Hey matt! Can you pls make a video on how to create Taser Gun ?
@MattAspland
@MattAspland 3 жыл бұрын
Hey, great suggestion, I could look into that :)
@coffee-coco
@coffee-coco 2 жыл бұрын
Isn't using the delay node the same as the thick node? which consumes more resources?
@MarcellinoNatanael
@MarcellinoNatanael 3 ай бұрын
How to show how much battery remains on player screen, like stamina when your running it will be appear indicator on the screen how to do that?
@Juri-xz8qv
@Juri-xz8qv Жыл бұрын
how can i pick up the battery with a line trace setup?
@martelthefirst
@martelthefirst 15 сағат бұрын
If I wanna get the light intensity to fade as the battery drain, how do I do that? I tried converting the integer to float but that was a bad idea…
@PlayItAgainGames2023
@PlayItAgainGames2023 Жыл бұрын
2023 and still working. How would you add a meter to it?
@DarbuTheTank
@DarbuTheTank Жыл бұрын
Is there a tutorial where you could pick these items up and it shows on the ui how many batteries you have collected?
@DeadEndGames
@DeadEndGames Жыл бұрын
whenever my battery goes down to 0, The flashlight doesn't turn off automatically. Also when I pick up a new battery, it doesn't go down until I toggle the flashlight again
@ZimCrusher
@ZimCrusher 3 жыл бұрын
Hey. Thanks for this. Very helpful. Would it be possible for a part 2? I can't find it anywhere, where it's a black light. You know, where you shine it on the wall, and some writing appears, or vampire FX where certain objects burn or change texture when hit by the light, permanently or temperrary (like the black light would or with a timer).
@MattAspland
@MattAspland 3 жыл бұрын
Hey, no problem, happy to help! And that's a fantastic idea, I'll definitely add it to my list to do! Thanks!
@ZimCrusher
@ZimCrusher 3 жыл бұрын
​@@MattAspland I'm thinking 2 different things here. 1) would be text/image is revealed only when the light is shown on it, like a blacklight on hidden text. 2) would be like a heat lamp on invisible ink, where once the text is revealed , it is permanent, or fades slowly over time.
@MattAspland
@MattAspland 3 жыл бұрын
@@ZimCrusher Great ideas, thanks for more in-depth information about it!
@SanneBerkhuizen
@SanneBerkhuizen 3 жыл бұрын
Well, what Steven Wynn said. I don't know if you already did a tutorial on the subject. But maybe you could do a game instance tutorial. Where the game instance keeps track of all your relevant variables like battery status, ammo, health, etcetera. So when you travel to another level, your stuff will come with you.
@MattAspland
@MattAspland 3 жыл бұрын
Yeah okay, I think that sounds like a good idea thank you
@GaryParkin
@GaryParkin 2 жыл бұрын
@@MattAspland I'd like to see that too Matt. This way I can save from one location.
@PlayItAgainGames2023
@PlayItAgainGames2023 Жыл бұрын
This really needs a meter display since the print strings only work in editor
@gtagam3r
@gtagam3r 3 жыл бұрын
Hey bro, i cant find anywhere on youtube tutorial for walk speed, want to reduce walking speed. if you have time to make one tutorial about that. Thx in advance
@MattAspland
@MattAspland 3 жыл бұрын
Hey man, to do this you can simply open your character blueprint, select "Character Movement" in the top left and then in the top right search for "Max Walk Speed" and change this to be what you want. 600 is default. Hope this helps :)
@triscitt
@triscitt 2 жыл бұрын
For some reason the gate will never open because my interact button is not working right
@LightningCayo
@LightningCayo Жыл бұрын
This all works in UE5, right? I plan to test this out in UE5.
@mapi9039
@mapi9039 3 жыл бұрын
I am facing a strange problem I can only pick up batteries in a specific sequence
@nathanjoly462
@nathanjoly462 Жыл бұрын
hi, I have the same problem, did you find a solution ?
@lalamontage
@lalamontage 9 ай бұрын
me too @@nathanjoly462
@codevaporReal
@codevaporReal 3 жыл бұрын
hey I was wondering if you could help me with an unrelated problem im having
@MattAspland
@MattAspland 3 жыл бұрын
Hey, yeah of course I can. I believe you are in my server right? If so, you could message me in there in the problems and solutions channel. Or reply here, whichever is easier for you :)
@codevaporReal
@codevaporReal 3 жыл бұрын
@@MattAspland one of you morerators told me what the problem was. thank you
@MattAspland
@MattAspland 3 жыл бұрын
Ah great, no problem, glad they could help :)
Sprinting And Stamina - Unreal Engine 5 Tutorial
17:00
Matt Aspland
Рет қаралды 70 М.
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 12 МЛН
Советы на всё лето 4 @postworkllc
00:23
История одного вокалиста
Рет қаралды 4,6 МЛН
Comfortable 🤣 #comedy #funny
00:34
Micky Makeover
Рет қаралды 9 МЛН
Learning Unreal Engine in One Month to make a Game!
15:25
Will Hess
Рет қаралды 66 М.
Evolution of NVIDIA Tech Demos 1999-2022 w/ Facts
14:34
Game Evolutions
Рет қаралды 342 М.
How to Make an Interactable Flashlight in Unreal Engine 5
7:45
Gorka Games
Рет қаралды 26 М.
The biggest lie in video games
15:18
AIA
Рет қаралды 1,7 МЛН
How I Remade MW2 with Unreal Engine 5
12:37
reubs
Рет қаралды 3 МЛН
choosing a game engine is easy, actually
15:08
samyam
Рет қаралды 393 М.
Blueprint Interfaces | Unreal Engine 5 Tutorial
14:41
Tyler Serino
Рет қаралды 44 М.
How To Create A Day Night Cycle In Unreal Engine 5 (Tutorial)
11:00
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 12 МЛН