Easy Rain in Unity - tutorial

  Рет қаралды 21,339

Sunny Valley Studio

Sunny Valley Studio

Күн бұрын

Пікірлер: 64
@FyresGames
@FyresGames Жыл бұрын
That last details to put them on the player made my day! Was looking for that for my weather system!
@SunnyValleyStudio
@SunnyValleyStudio Жыл бұрын
Glad that you found the tutorial helpful 👍
@keelfly
@keelfly Жыл бұрын
Great tutorial, and finally someone helped me understand how to trigger additional particle events clearly and simply.
@SunnyValleyStudio
@SunnyValleyStudio Жыл бұрын
Great to hear! 👍
@squidpickle
@squidpickle Жыл бұрын
Thank you so much! I couldnt figure out how to get a realistic snow/rain effect without covering the entire scene, and this answered that. You're the best!!
@SunnyValleyStudio
@SunnyValleyStudio Жыл бұрын
Glad I could help! 👍
@moonflamegames
@moonflamegames Жыл бұрын
Thank you for this great tutorial! I had a rain effect already, but liked the way how the ripples change their size, so I implemented it your way. And well... learned about the submitters in the particle system and saved a lot of objectpooling. Thank you for that!
@SunnyValleyStudio
@SunnyValleyStudio Жыл бұрын
Thanks for watching 👍
@lordcailx
@lordcailx 2 жыл бұрын
Great tutorial! Highly underrated channel. This vid should have tens of thousands of views!
@SunnyValleyStudio
@SunnyValleyStudio 2 жыл бұрын
Thanks for watching!
@bigfin20
@bigfin20 26 күн бұрын
awesome tutorial thanks
@SunnyValleyStudio
@SunnyValleyStudio 24 күн бұрын
Thank you 🙂
@designersoup
@designersoup Жыл бұрын
Really great tutorial, exactly what I was looking for. Thanks for putting this together!
@SunnyValleyStudio
@SunnyValleyStudio Жыл бұрын
Glad it was helpful!
@LeeSungHunHero
@LeeSungHunHero 2 жыл бұрын
Good & Simple & Minimized & Efficient TUTORIAL. thanks.
@SunnyValleyStudio
@SunnyValleyStudio 2 жыл бұрын
Thanks for watching!
@AleySoundz
@AleySoundz 2 жыл бұрын
Thanks for this tutorial
@durrium
@durrium 2 жыл бұрын
Damn this is areally good tutorial man!
@SunnyValleyStudio
@SunnyValleyStudio 2 жыл бұрын
Thanks!
@quinilone9863
@quinilone9863 Жыл бұрын
This is an amazing tutorial
@SunnyValleyStudio
@SunnyValleyStudio Жыл бұрын
Thanks! 👍
@小派蒙-d8g
@小派蒙-d8g Жыл бұрын
A very good tutorial that taught me about particle collisions and generation. I really like your cube scene, and I hope to obtain these prefabricated cubes for playing. May I ask?
@SunnyValleyStudio
@SunnyValleyStudio Жыл бұрын
You can get those assets from quaternius.com/
@Xethalys
@Xethalys 2 жыл бұрын
Simple and effective, I really appreciate this! Thank you for the tutorial. ^_^
@SunnyValleyStudio
@SunnyValleyStudio 2 жыл бұрын
Glad it was helpful!
@serkangundogan2005
@serkangundogan2005 2 жыл бұрын
thanks for the tutorial :)
@otrocanalmas8096
@otrocanalmas8096 2 жыл бұрын
Good tutorial
@justinkirk924
@justinkirk924 Жыл бұрын
Great tutorial - love your voice :D You remind me of an actor that I can't remember the name of.
@SunnyValleyStudio
@SunnyValleyStudio Жыл бұрын
That is very kind! I am always worried that because I am not a native English speaker my voice can throw off some people. Nice to hear that it isn't that bad! 🙂
@Sewonsky
@Sewonsky 2 жыл бұрын
Video ideas: Marching Cubes and procedural mesh generator, first person controller, building system (like Valheim or The Forest), Pathfinding in procedural world, Equipment system.
@SunnyValleyStudio
@SunnyValleyStudio 2 жыл бұрын
Awesome feedback 🙂 I was having tough time ideating new topics so I will surely use your suggestions. Thanks! 🙏
@AbachiriProduction
@AbachiriProduction Жыл бұрын
thanks you bro, i just have one question, can you add 2 sub emitters one for water with simple ripple and one for other objects with splash like PS effect ? thanks .
@SunnyValleyStudio
@SunnyValleyStudio Жыл бұрын
Yes we can but I imagine you would need some custom code that checks what kind of surface did the particle collide (I don't think you can use the subemitters directly for that)
@AbachiriProduction
@AbachiriProduction Жыл бұрын
@@SunnyValleyStudio thanks im working on it like you said i will update when i find the good code
@PlaneMusic46294
@PlaneMusic46294 Жыл бұрын
also what about a weather cycle when it randomly rains can you make a video on that please i subbed
@SunnyValleyStudio
@SunnyValleyStudio Жыл бұрын
I will be covering a time based approach to triggering rain in my 2D Farm game course courses.sunnyvalleystudio.com/p/2d-farm-game-in-unity-2022
@PlaneMusic46294
@PlaneMusic46294 Жыл бұрын
@@SunnyValleyStudio oh ok
@DAOXINNo15
@DAOXINNo15 Жыл бұрын
For some reason when I switch it to Universal pipeline like you did, it turns my material purple and no matter what I do it stays purple? Not sure why it is like that?
@SunnyValleyStudio
@SunnyValleyStudio Жыл бұрын
Try selecting the material and changing the shader (at the top of the inspector) to URP -> Particles and set it in the properties to Transparent
@gamedevbaiyi936
@gamedevbaiyi936 2 жыл бұрын
Unity Dark Theme does look more comfortable. Plz don't back to light theme. That's too hurt...
@SunnyValleyStudio
@SunnyValleyStudio 2 жыл бұрын
Thanks for feedback!
@gabysanchez9319
@gabysanchez9319 11 ай бұрын
hiii great video, can you explain me how can i make the rain affect a water shader pls pls? im new and im really trying to turn a good project and that would really help me :)
@SunnyValleyStudio
@SunnyValleyStudio 11 ай бұрын
I am not sure of what is the best way to do it but you could try this tutorial kzbin.info/www/bejne/enfaf6lno5aMbLMsi=nooBeKk44k0hC5j0 🙂
@gabysanchez9319
@gabysanchez9319 11 ай бұрын
@@SunnyValleyStudio thank u so so much
@LouiseChib
@LouiseChib Жыл бұрын
High so when I added the ripple particles into the sub emiiter it spawns where the rain starts and not where it lands :/
@SunnyValleyStudio
@SunnyValleyStudio Жыл бұрын
The 2 things that comes to mind is 1) - have you specified "Death" event as the spawn condition for the sub emitter? 2) (less likely) are you sure that you have set the subemitters shape in a way that it always spawns in the center ? I hope it helps!
@LouiseChib
@LouiseChib Жыл бұрын
@@SunnyValleyStudio Yeah that was it. Figured it out eventually lol I guess I missed that step
@Killa_t
@Killa_t 2 жыл бұрын
wait what if im not usiong universal pipeline what should I use, because you didn't clarify what we should use if we didn't have it?
@Killa_t
@Killa_t 2 жыл бұрын
also it's not following my character the particle system?
@SunnyValleyStudio
@SunnyValleyStudio 2 жыл бұрын
You can learn about HLSL / GLSL from Unity Shader bible learn.jettelly.com/unity-shader-bible/ to create the shader Particle Systems work the same across all the pipelines. You can attach the rain particles to the character and set Simulation Space as "world" to make the system follow you.
@PlaneMusic46294
@PlaneMusic46294 Жыл бұрын
the ripples didnt show how to fix?
@SunnyValleyStudio
@SunnyValleyStudio Жыл бұрын
YOu might need to rewatch the setup of the water ripples 5:47 or take a look at your sub emitter setup. In my expereinec it is very easy to forget to check / change some parameter in the particle system (especially in the top most category where there is just too much stuff in one tab - in my opinion)
@PlaneMusic46294
@PlaneMusic46294 Жыл бұрын
@@SunnyValleyStudio ok
@PlaneMusic46294
@PlaneMusic46294 Жыл бұрын
@@SunnyValleyStudio it worked thanks
@gamedevbaiyi936
@gamedevbaiyi936 2 жыл бұрын
Hi, Peter. I've been stuck with a problem recently. I'll be very grateful if get some ideas from you. It's about "In a 2D Base-building game, how to detect a room". Let's assume that walls form a room. It's really hard to find relative topics. 😣😣
@SunnyValleyStudio
@SunnyValleyStudio 2 жыл бұрын
There are many ways to do it. Simplest is (for a continuous placement system) use *Physics2d. Overlapbox* raycast. For a more advanced (like my 2d procedural generation tutorial) you can check ask the hashset / tilemap if it has on position (x, y) a wall - you would have to determine which tiles will be occupied by a building. It's pręty easy Logic but can take some time to implement.
@АйратХужоков
@АйратХужоков 2 жыл бұрын
Please show me how to put and remove armor from the character slot. (Sorry for my English)
@SunnyValleyStudio
@SunnyValleyStudio 2 жыл бұрын
Thanks for a suggestion! Can you join my discord and write a bit more details / send a link to what you exactly mean by that? Link to discord is in the description of each vid :)
@Killa_t
@Killa_t 2 жыл бұрын
where do i find the water ripple effect? or how do i import it into unity
@Killa_t
@Killa_t 2 жыл бұрын
actually i got it but when clicking the alpha transparency it wont go transparent, just stays black
@Killa_t
@Killa_t 2 жыл бұрын
nvm
@SunnyValleyStudio
@SunnyValleyStudio 2 жыл бұрын
Good to know that you were able to find a solution :)
@zenofar4761
@zenofar4761 2 жыл бұрын
it mobile friendly for performance??
@SunnyValleyStudio
@SunnyValleyStudio 2 жыл бұрын
Hey! It is the default particle system with the assumption that the effect follows the player so that we can spawn only enough particles to make the rain appear like it is raining on the whole level. What you may want to look at is for mobile optimized shaders and other optimizations. Unity has a learning series for it I think -> learn.unity.com/tutorial/optimizing-particle-effects-for-mobile-applications#
How to Create 2D Rain in Unity Top Down Game - Tutorial
14:24
Sunny Valley Studio
Рет қаралды 8 М.
How to Make a Falling Snow in Unity
20:13
LMHPOLY
Рет қаралды 28 М.
Интересно, какой он был в молодости
01:00
БЕЗУМНЫЙ СПОРТ
Рет қаралды 3,6 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,1 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 12 МЛН
HOW TO Add RAIN To YOUR 2D GAME - UNITY
7:58
Lost Game Dev
Рет қаралды 20 М.
Unity 2D Rain Tutorial [2019]
5:19
DevDuck
Рет қаралды 51 М.
Giving Personality to Procedural Animations using Math
15:30
t3ssel8r
Рет қаралды 2,6 МЛН
EASY Rain Particle in Unity (Particle System Tutorial)
8:11
SpeedTutor
Рет қаралды 48 М.
Enemy AI using Behavior Graph in Unity 6 (Part 1/3)
10:46
Sunny Valley Studio
Рет қаралды 1,8 М.
How to make a CRAFTING system - UNITY TUTORIAL 2022
11:46
Blackthornprod
Рет қаралды 63 М.
Create Parallax Fog and Dust Particles | Unity Tutorial
11:25
Sasquatch B Studios
Рет қаралды 15 М.
EASY way to add AI in Unity 6 - Behavior Package Tutorial
8:09
Sunny Valley Studio
Рет қаралды 13 М.