- Видео 11
- Просмотров 51 006
Golden Devs
США
Добавлен 18 дек 2022
A Golden Developer is one who never stops learning.
Learn the Unity Interface in 4-MINUTES!!!
in this rather short episode, we'll start by creating a new project inside the unity game engine and continue by going through and explaining the purpose of each and every main tab in the editor! Enjoy!
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Support me on Patreon 👇👇👇
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Support me on Patreon 👇👇👇
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...
Просмотров: 154
Видео
How to install Unity and Visual-Studio [2024]
Просмотров 4,4 тыс.Год назад
A complete walkthrough to install the Unity game engine and VS to get you started with game development! To ensure I don't go bankrupt before finishing the series, You can support me on my Patreon! You'll get some cool perks too 😉 👇👇👇 www.patreon.com/GoldenDevs Join Us On Discord! 👇👇👇 discord.gg/jwMxHfRcGB Some of the elements used in editing this video were taken from these amazing websites/ch...
Watch this if you wanna MAKE GAMES!!!
Просмотров 195Год назад
A complete walk through of how video games are made, what a game engine is, introducing various game engine and at the end picking the best one. This was the first episode of a new series that's gonna get you from installing Unity to making your very own first game. To ensure I don't go bankrupt before finishing the series, You can support me on my Patreon! You'll get some cool perks too 😉 👇👇👇 ...
How to make a HEALTH-BAR in Unity
Просмотров 840Год назад
A complete walk through on setting up a Health Bar system in Unity! In this video we'll go through all the steps of making a Health Bar in Unity, From designing the sprites to making it look towards the camera! Join Us On Discord!!! 👇 discord.gg/fgKZAUChV3 Watch this video to learn 50 Unity Tips and Tricks! 👇 ruclips.net/video/xWatMGP0v80/видео.html Assets used in this video 👇 The Environment: ...
50 Unity tips you MUST know!!!
Просмотров 32 тыс.Год назад
In this video, we go through 50 astonishing Unity tips that will take your game development skills to the NEXT LEVEL. While some might consider the contents of this video are only for beginners, I'm sure that both beginners and intermediates could benefit from the video and learn a ton of new things. But if you've been around for longer than 10 years... what are you doing clicking on youtube vi...
How to implement JOYSTICKS in Unity
Просмотров 314Год назад
Hello folks, in today's video I'll teach you to add joystick controllers to your mobile games for movement and shooting. There are chapters on the video so feel free to skip to the part you need. The asset(s) used in the video : assetstore.unity.com/packages/tools/input-management/joystick-pack-107631 Chapters : 00:00 Intro 00:10 Asset Set-up 01:03 Movement 02:44 Shooting 07:58 Bullets Don't fo...
How to add a SKY in Unity!
Просмотров 448Год назад
Hey you! watch this video to add skies and therefore more detailed lighting to your games. You can use the dozens of Skyboxes available on the Unity asset store or different platforms for free. The assets used in this video are: The Skyboxes: assetstore.unity.com/packages/2d/textures-materials/deep-space-skybox-pack-11056 The Player: assetstore.unity.com/packages/3d/characters/humanoids/sci-fi/...
First-Person Movement in Unity [2023]
Просмотров 780Год назад
Hello and Welcome everyone! This video is a step-by-step guide to setting up a First-Person Movement system in Unity, Enjoy! The asset used for the environment in the video: assetstore.unity.com/packages/3d/environments/sci-fi/sci-fi-styled-modular-pack-82913 The asset used for the Player: assetstore.unity.com/packages/3d/characters/humanoids/sci-fi/sci-fi-soldier-29559 watch this video to lear...
3 ways to set up a CAMERA-FOLLOW system!
Просмотров 294Год назад
hello and welcome everyone, in this video, I cover 3 ways you can set your camera up to follow an object, the video is meant for intermediates, if you're just starting out, Use the first method and spend most of your time on player movement and shooting mechanisms. I also explain a straightforward movement system for Beginners here : /the link A video on shooting projectiles for beginners will ...
2D Player Movement in Unity for Beginners [2023]
Просмотров 2,6 тыс.Год назад
How to program a simple movement system in unity for beginners. In this video, you will learn how to get input from the player and how to access and work with components. This video is meant for beginners, so the code is not top quality. New videos will be coming out soon covering the concept at intermediate and advanced levels, so stay tuned. If you found the video helpful, make sure to drop a...
How to use Color.lerp in Unity [ The Right Way !!! ]
Просмотров 9 тыс.Год назад
How to smoothly transition between colors in unity! In this video, you'll learn how to program a smooth color transition in unity with in depth explanation. This is the first video of the channel, every single view, like, and subscribe is highly appreciated.
Waiting for other episodes... Teach Sensei 🙌
CODE: using System.Collections; using System.Collections.Generic; using UnityEngine; public class ColorTransition : MonoBehaviour { public Material material; public Color[] colors; private int currentColorIndex = 0; private int targetColorIndex = 1; private float targetPoint; public float time; void Update() { Transition(); } void Transition() { targetPoint += Time.deltaTime / time; material.color = Color.Lerp(colors [currentColorIndex],colors [targetColorIndex], targetPoint); if(targetPoint >= 1f) { targetPoint = 0f; currentColorIndex = targetColorIndex; targetColorIndex++; if(targetColorIndex==colors.Length) targetColorIndex = 0; } } }
Thanks
Wow @ Tips 32
Happy the video is still helping people
5:17 wtf is this tip
Key Notes: 01. While right-clicking the SceneView, use W/S to move forward/back, A/D to move left/right, and Q/E to move up/down. (WASD + QE controls!) 02. Alt+Arrow keys move a line of code in your IDE up/down. 03. Set up multiple layouts for different workflows: E.g. One for Animation, one for gameplay, one for rendering, one for navigation, etc. Makes it easy to switch to different ideas/workflows! 04. Use Invoke() to simply call a function at a fixed wait time. Much more simple than setting up a couroutine. 05. Use InvokeRepeating() to call a function on a loop after a fixed wait time. Much more simple than setting up a couroutine. 06. When using a function that passes in the name of a variable/function/etc as a string, use nameof() to get the name of it as a string. This ensures no spelling related issues and if you later rename it, it will correct itself! 07. Selecting renamable object/function and hitting F2 will allow quick renaming of it. 08. Join a game development Discord. (self-promo) 09. CTRL+SHIFT+N makes a new GameObject in the hierachy. 10. F focuses on a selected GameObject in the SceneView. SHIFT+F to focus and follow. 11. CTRL+SHIFT+F aligns a GameObject to the position and rotation of the SceneView camera. (Great for aligning cameras and vcams!) 12. C switches from Dopesheet to Curves and back in the Animation tab. 13. The question mark icon opens the documentation of a component in the browser. 14. CTRL+K+C to comment block a section of code in your IDE (vscode, etc). 15. CTRL+K+U to uncomment block a section of code in your IDE (vscode, etc). 16. Typing the keyword of an 'if', 'while', or 'for' and hitting tab twice auto-completes it. 17. CTRL+P to enter Play Mode. 18. CTRL+SHIFT+P to pause Play Mode. 19. CTRL+ALT+P to advance frame-by-frame in Play Mode. 20. Navigating to 'Edit>Shortcuts' allows you to see and modify all of the current shortcuts available to you. 21. [SerializeField] attribute added on to a variable makes it serializable and therefore viewable in the inspector, even if it is private/protected! 22. [HideInInspector] attribute added on to a variable makes it invisible to the inspector, even if it is public. 23. Use empty GameObjects to divide the Hierarchy into sections. You don't have to make all of the objects children in the catagories, since this can often cause world/relative space issues, etc. 24. [Header("TEXT GOES HERE")] attribute added on to a variable divides the inspector variables into sections making it easier to see and manage. 25. [Space(int/float)] attribute added on to a variable divides the inspector variables with vertical space making it easier to see and manage. 26. You can drag-and-drop another scene into the hierarchy to make copy-pasting from one scene to the other easier. 27. [Tooltip("TEXT GOES HERE")] attribute added on to a variable adds text for the user to see after hovering, making it easier to understand the purpose of the variable. 28. [Range(int/float, int/float)] attribute added on to a variable narrows down the potential serialized values that the user can set the variable to within the confines of the range. It also give the UI a slider in the inspector. 29. [Min(int/float] attribute added on to a variable narrows down the potential serialized values that the user can set the variable to above the minimum. It does not give the UI any slider in the inspector. There is no max attribute. 30. In the Layers drop-down menu, in the top-right corner, the eye icon disables what layer can be seen in the SceneView. Likewise, the touch icon disables what layer can be selected/pickable in the SceneView. 31. Eye/touch icons in the hierarchy have the same functionality as #30, but on a per GameObject basis. 32. When creating a new layer or tag, using a slash (/) in the name creates a submenu and item when selecting a layer or tag. 33. #region and #endregion creates a region of code in your IDE, that makes it easy to hide sections to make finding/organising stuff easier and faster. Placing text after the #region names it. 34. Clicking the hamburger menu (three dots) icon on the scene and navigation to 'Discard changes' reverts back to the last saved copy of the scene (wipes the Undo History). 35. (self-promo) 36. Set up a Tags class script to avoid spelling-related issues that can happen when using string literals. E.g. better to use Tags.player than having to manually type "Player". 37. Use gameObject.CompareTag("tagName") instead of gameObject.tag == "tagName". Combine with tip #36 for some solid code! 38. In the Assets tab, you can click the shapes icon to search for assets of a type. CLICK on a type to search it, or CRTL-CLICK to search muliple types (which broadens the search types, it doesn't narrow it) 39. Use the Undo History button (top-right corner) or use CTRL-U to access the Undo History tab. Clicking on any of the items in the buffer will undo all of the changes to that point in time. 40. Use Debug.Log(), Debug.LogWarning(), and Debug.LogError() to make and send a message (and specify the severity of it) to the Console tab when in Play Mode. Makes it much easier to debug code behaviour while in Play Mode. 41. Navigate to 'Edit>Preferences>General>Script Changes While Playing' to change what happens when the code is changed during Play Mode. Default is 'Recompile And Continue Playing', but this can cause null-reference errors. 42. Use the sliders icon button in the component's header to save and load custom component presets. 43. [ContextMenu("TEXT")] attribute makes a button that execute a function when pressed in the Editor, in or out of Play Mode. This button is found when right-clicking the component header, or with the hamburger menu (three dots) icon. 44. Navigate to 'Edit>Project Settings>Editor>Numbering Scheme>Game Object Naming' to select your naming/numbering scheme preference for when you make multiple copies of a GameObject or Prefab. 45. Change Application.targetFrameRate to limit the frame rate of the game while playing. This is useful for debugging frame-timing related issues. Be careful to not ship the game with this. Make an in-scene GameObject to manage this. 46. Navigate to 'Edit>Project Settings>Time' to manage the default FixedUpdate()/Physics Timestep interval, particle Timestep, and overall Time Scale. Useful for increasing the amount of FixedUpdates are in a second and more. 47. Use the ternary operator (?) to set a variable, rather than using if statements to conditionalize it. E.g. string variable = (condition) ? "VALUE IF TRUE" : "VALUE IF FALSE". Ternary operators can be nested, too! 48. Time is money; When you can buy a useful asset for cheap, do it if it will save you a greater amount of time or money for your project, rather than making your own solution. 49. Use a TO-DO list (Trello board, etc) to organize your project step-by-step, so you don't get lost. 50. Use Cinemachine for controlling and managing your camera. It's very versatile and it can get you exactly what camera effects you need for your game.
Here if anyone wants it. I recommend writing them down yourself by hand since they'll probably be easier to remember that way.
Thank you for doing this, appreciate it
Very helpful video! Thanks a lot! One problem though, wonder if anyone could help; I tried the script on a few 2D lights for my 2D game and, while the global light worked fine, the spot lights don't seem to be working, it's just not showing anything... any help on why?
Very helpful! Thank you!
I doubled checked if I was on RUclips when I saw the guy.
Why? Am I just that pretty?
Doesnt show up the unity keywords
The best way to learn something is learning it 50 Tips at a time 😅
As a beginner game dev, thank you for the tips! (I'm also sending this to my friend Jeremy who doesn't use Unity)
Lol, awesome, thanks for the feedback, good luck with your journey
Thank you sir!
"Rigidbody does not contain a definition for Velocity and no accessible extension method Velocity accepting a first argument of type Rigidbody could be found (are you missing a using directive or an assembly reference?)" I also don't have variables like you in my movement script in inspector
Ctrl+shift+n for new empty object. That's useful!
Improve your voice btw tips are amazing 🤩
Thank you for the feedback, I already have, check out my latest video if you got the time, happy you liked the content
nice
I doesn’t allow me to add modules on to my editor
Great tips man, you deserve more subscribers
This is actually more helpful then you think
Happy to hear that 💛
So I tried this using text, but the text just disappears when I play. It changes the color, but it is hidden for some reason.
I haven't tried that but it sounds odd, you can send me the code from discord, I'll take a look when I can. Thanks for watching the video💛
@@GoldenDevs This same thing is happening to me when trying to change this code for the color component of an image. Image is replaced with a grey, even though the color is changing in the inspector. Did we find a fix for it?
Found the fix. When you add colors to the array unity defaults to 0 for the alpha so set those to 255 in the inspector.
Thank you! That was sooo soo helpful!
Nice to hear 💛
Very useful tips, but had a hard time understanding your voice there sometimes.
Thank you, yeah I didn't have a good mic back then, hope you learned something tho 💛
Very informative video, but what happen to your camera lens 😂😂😂😂
Unable to join your discord channel. Have some development related questions regarding my game. Need help.
I already saw your welcome message on my discord server
CTRL RR was magnificent !!
This is so cool , thanks for the video
Thank you for watching, glad you liked it, join our discord server too if you like 👌😁
SO half of these are tips for whatever your specific code editor is...
Yeah I keep switching between vs and rider, but most people use vs, specially beginners so I didn't want to confuse them too much.
My jaw dropped... This video is Amazing. Thank you so much!!
Thank you for the kind words man
The Ctrl Alt P frame by frame made my mind go 🤯🤯🤯🤯🤯
I have the opposite problem - good at art, never written a line of code in my life. Let's work together!
Hi, thanks for reaching out, message me on discord, let's have a little conversation! My username on discord is "goldendevs".
Just started getting into game dev and im curious, why compare tag instead of ==? Is it an optimization type thing or is it just better in general?
Optimization
thanks dude, i learned a few things. Im making a game. Im an indie dev.
Glad I could help!
Great video buddy
wow, for a 5 minute video this is a gold mine for a new dev. thanks man you just earn a new subscriber
Really great video, tons of super useful tips!
True pleasure getting a compliment on one of my relatively bad videos from one of the goats of the industry💥
The GOAT!
huge tip - record your voice overs in a less reflective space massively improves audio quality for a fairly simple fix cheapest way to do it is to cover tiles/glass with fabric while you record if you can't move your setup as easily. Might also benefit to invest in a shotgun mic.
Thank you for the tip man, I already got a semi decent mic. Hope you've subbed, I'm working on something fun👌
Great work Bro ! loved your video !
Glad you liked it!
Tip 26 and 47 was really helpful
Bro your videos are awesome continue this
Thank you for the kind words, will do
For the love of all that is holy, don't use Invoke.
the best unity tip i can give is: uninstall.
İts look like breckly videos but you should change your cam :D
Dani you've changed, welcome back XD
Useful tips , thanks!
Awesome I'll let my neighbor Jeremy know
Lol, thank you
Nice video, nice channel. Useful actinable stuff. Thanks and keep it up.
My pleasure, happy you liked it!
hi i am using ads in my unity game can you tell me where i can put com.google.android.gms.permission.AD_ID code
Cool :)
'Invoke' is reflection 🤔🤔