How V Rising Works? (Sunlight Burn Vampire Player)
https://www.youtube.com/watc...š Get Awesome Synty Assets 50% OFF! https://cmonkey.co/synty_vrising
š Get my Complete Courses! ā
https://unitycodemonkey.com/courses
š Learn to make awesome games step-by-step from start to finish.
š Click on Show More
š® Get my Steam Games https://unitycodemonkey.com/gamebundle
š“ RELATED VIDEOS š“
Awesome House Building System! (Castle, Hut, Mansion, City, Village) https://www.youtube.com/watch?v=Cdcn6uK9gPo
How it's Made: How Mechanics and System from various Games work https://www.youtube.com/playlist?list=PLzDRvYVwl53ttN_5uyfqs3nnOn0Jd4s92
How it's Made: Outer Wilds | Scout Probe Launcher https://www.youtube.com/watch?v=67WObFrWpRg
Remaking 3 Great Mechanics from Cyberpunk 2077! https://www.youtube.com/watch?v=pIzWlfbVORU
How it's Made: Rover Mechanic Simulator | Cleaning Minigame https://www.youtube.com/watch?v=Xss4__kgYiY
Make Awesome Effects with RenderTextures! (Minimap, In-game TV, Camera to Texture) https://www.youtube.com/watch?v=Ah2862Gz3_s
How to take a Screenshot in Unity URP or HDRP! (Unity Tutorial) https://www.youtube.com/watch?v=d5nENoQN4Tw
Get my second FREE Asset! (includes Code Walkthrough Tutorial! | Health System) https://www.youtube.com/watch?v=tf8NhUgORQg
š¬ V Rising is a recent hit (made with Unity!) and the game has some excellent mechanics that perfectly fit the theme, all of them based on Vampire myths.
There are silver coins, if you pick them up you take damage. There's garlic which also deal damage if you get too close. The game has factions where enemies can attack each other.
And of course the mechanic I wanted to explore was Sunlight. If exposed to the sun for too long you start to take damage.
How you identify if the player is receiving sunlight involves some interesting trickery.
There are several methods to do it, you could do it with colliders and a Raycast, however that could cause issues since the visual and colliders don't usually match.
So the other approach which might be even more obvious is to use a second camera, look at the sun and see if there's anything blocking it.
Doing this was really interesting.
š Some Links are Affiliate links which means it costs the same to you and I get a nice commission.
š Get Code Monkey on Steam!
š Interactive Tutorials, Complete Games and More!
ā
https://store.steampowered.com/app/1294220/
If you have any questions post them in the comments and I'll do my best to answer them.
š Subscribe for more Unity Tutorials https://www.youtube.com/channel/UCFK6NCbuCIVzA6Yj1G_ZqCg?sub_confirmation=1
See you next time!
š Support on Patreon https://www.patreon.com/unitycodemonkey
š® Grab the Game Bundle at https://unitycodemonkey.com/gameBundle.php
š Get the Code Monkey Utilities at https://unitycodemonkey.com/utils.php
#unitytutorial #unity3d #gamedev
--------------------------------------------------------------------
Hello and Welcome!
I'm your Code Monkey and here you will learn everything about Game Development in Unity using C#.
I've been developing games for several years with 8 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.
I do Unity Tutorials on just about every topic, Unity Tutorials for Beginners and Unity Tutorials for Advanced users.
You can see my games at www.endlessloopstudios.com
--------------------------------------------------------------------
- Other great Unity channels:
Unity - https://www.youtube.com/user/Unity3D
Brackeys - https://www.youtube.com/user/Brackeys
Dani - https://www.youtube.com/channel/UCIabPXjvT5BVTxRDPCBBOOQ
Jabrils - https://www.youtube.com/channel/UCQALLeQPoZdZC4JNUboVEUg
BlackthornProd - https://www.youtube.com/channel/UC9Z1XWw1kmnvOOFsj6Bzy2g
Sykoo - https://www.youtube.com/user/SykooTV
Jason Weimann - https://www.youtube.com/channel/UCX_b3NNQN5bzExm-22-NVVg
Jonas Tyroller - https://www.youtube.com/channel/UC_p_9arduPuxM8DHTGIuSOg
--------------------------------------------------------------------
- Website: https://unitycodemonkey.com/
- Twitter: https://twitter.com/UnityCodeMonkey
- Steam: https://store.steampowered.com/developer/EndlessLoopStudios