Lights and shadows in Unity - unity3d

So, I'm making a game with Unity, and I have to cover other parts of the level with a shadow, so that the player can't see them. This is how the game looks like now, and more or less i'd like it to look like this
Someone nows how to help me? Like with some tutorials or tips.
Thank you so much.

One solution it would be to cover the part of the level with an object, and you may remove it by using a collider to detect if player is near or maybe by player position

Related

How to achieve this Unity vfx

I'd like to achieve this kind of effect in my Unity ARKit mobile app. I'm curious if anyone could explain how this is done...
I thought maybe it's an animated sprite sheet type effect,
or maybe a particle effect
or maybe geometry with shading effect.
Here's what I'm looking for: Unity VFX
Any suggestions on where to start I'd appreciate it
this question is more of a unity forum question but any way
if i were you i would look into Particle Effects
And trails

Is there a way to have camera follow g-force in Unity 3D (versioon 2019.3.15f1)?

I am making a game where at one point the player flies a plane/spaceship, and was wondering if there is a way for the camera to move slightly up when the player flies down, and vice versa, same for left and right so that it might make it feel better to play, and slightly more realistic then just a static camera movement.
Thanks a lot !
PS: Beginner here, so sorry if it's an obvious answer...
You can use Unity Standard Assets script CameraFollowsPlayer (Not sure of the name but it is something like this) and you drag and drop your character to your new Camera. It should do the trick with the delay movements. Alternatively you could use Lerp and transform Cameras Position in LateUpdate() method.

unity character attached to game object

I'm quite new to Unity and there is one thing i couldn't think of how to make it and i couldn't exact information either so here i am. (sorry, my English is not perfect)
what i want to do is attaching a character to game object.
In my game, player(user) will control or steer the game object and the character attached to the game object just Looks as if it's riding or driving the game object.
(to help you understand, maybe you can imagine that player control a skateboard and there is a character on it)
So far, I tried 2 ways -
1. I made character as child of the game object, and gave an animation to the character but i found out it is not looks very natural.
2. I made a ragdoll and tried to attach it to the game object by using fixed joint between the game object and the character's feet but in playing mode, only ragdoll's feet was moving with the game object.
So I wonder if there is a good way to do it.
Anybody can give me an advice? I would so appreciate it.
Thanks in advance.
Your solutions is here, and its called IK:
1https://docs.unity3d.com/Manual/InverseKinematics.html
Invere kinematics isn't an easy topic and you will have to test it a lot(of course you could find some workarounds) but if you want the most elegant solution give it a try.

How can I make the object recognize the color he is on top? In Unity

I'm working on a game in Unity that have a lot of mazes. I was doing it by adding 1 object per wall, but it's so much work anda I'm thinking on some new ways to do it, that make it easier to "build" the mazes.
What I tought was doing one image all white with the places where the wall should be being black. And then making my Player object recognize the black color as a collider or something like that.
Anyone know how to do it? Any other ideas are accepted to. Thanks guys.

does anybody know slicing effect for iphone + cocos2d

in my game i want to give slicing effect , like after moving my finger on monster it should kill and monster blood should come on screen ,and disappear after few seconds ..
please help me ..
help will be appreciated ..
check this tutorial :- http://blog.roychowdhury.org/2010/11/19/cocos2d-iphone-tutorial-die-grossini-die-part-i/ they create blood particle effect manually
Take a look at MotionStreakTest example coming with cocos2d. I Think you can create your own effect based on this.
Or take a look at particle effects. Create a blood emitter and move it with your finger