2d sorting layer
Hey all, thanks for reading.
so when i work in 2d i normally do platformers to side scrollers but i want to try do a more "openworld" type of deal with the sorting layer. atm i was thinking of having the enemies and player (entities) on their own sorting layer.
but if i have the player have a higher number then the enemy it could look like this which isnt what im going for
https://preview.redd.it/jg110q5cem0f1.png?width=182&format=png&auto=webp&s=1ecff5a5acd12cab59fe130006ad10911e55a46a
or the inverse is true where the skeleton
https://preview.redd.it/jnfiiytmem0f1.png?width=222&format=png&auto=webp&s=faabe8c93f932f99abbd94a2ed444e491570b249
so i wonder how you deal with this. do you have a noscript that sorts it based on the y axis ? or how is this actually handled?
thanks for your advice.
thanks
https://redd.it/1klykbl
@r_Unity3D
Hey all, thanks for reading.
so when i work in 2d i normally do platformers to side scrollers but i want to try do a more "openworld" type of deal with the sorting layer. atm i was thinking of having the enemies and player (entities) on their own sorting layer.
but if i have the player have a higher number then the enemy it could look like this which isnt what im going for
https://preview.redd.it/jg110q5cem0f1.png?width=182&format=png&auto=webp&s=1ecff5a5acd12cab59fe130006ad10911e55a46a
or the inverse is true where the skeleton
https://preview.redd.it/jnfiiytmem0f1.png?width=222&format=png&auto=webp&s=faabe8c93f932f99abbd94a2ed444e491570b249
so i wonder how you deal with this. do you have a noscript that sorts it based on the y axis ? or how is this actually handled?
thanks for your advice.
thanks
https://redd.it/1klykbl
@r_Unity3D
Trying to play an animation when a number goes up. Nothing works. Help.
shell noscript \(this hits the target\)
Animator\/Animation with Points \(the number\)
Shell variables
https://redd.it/1klz52n
@r_Unity3D
shell noscript \(this hits the target\)
Animator\/Animation with Points \(the number\)
Shell variables
https://redd.it/1klz52n
@r_Unity3D
Check out my new game update! - Ship Defense V2
https://preview.redd.it/xes9elsszm0f1.png?width=500&format=png&auto=webp&s=87f4d013d0c6e313ed040663f23d0f62a5ba8ff8
Trailer: https://www.youtube.com/watch?v=\_0BeW4kEYsE
Please guys, leave some feedback on what you thought of the game
https://redd.it/1km17hu
@r_Unity3D
https://preview.redd.it/xes9elsszm0f1.png?width=500&format=png&auto=webp&s=87f4d013d0c6e313ed040663f23d0f62a5ba8ff8
Trailer: https://www.youtube.com/watch?v=\_0BeW4kEYsE
Please guys, leave some feedback on what you thought of the game
https://redd.it/1km17hu
@r_Unity3D
After 1 year I'm THRILLED to announce my first game: Climb out of Hell, a dark fantasy platformer. Hope you like it <3
https://redd.it/1km1oue
@r_Unity3D
https://redd.it/1km1oue
@r_Unity3D
Reddit
From the Unity2D community on Reddit: After 1 year I'm THRILLED to announce my first game: Climb out of Hell, a dark fantasy platformer.…
Explore this post and more from the Unity2D community
My first ever game Launching Soon! Watch Our trailer with Voice over and comic here!—Feedback Welcome🧙♂️
https://redd.it/1km96zb
@r_Unity3D
https://redd.it/1km96zb
@r_Unity3D
Embedding a website within unity(6000.0.37f1)
As the noscript says, I want to put a website inside unity, build with webGL, looking for a free way to do it. Unity's version is 6000.0.37f1.
https://redd.it/1kma2oc
@r_Unity3D
As the noscript says, I want to put a website inside unity, build with webGL, looking for a free way to do it. Unity's version is 6000.0.37f1.
https://redd.it/1kma2oc
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
My attempt at procedural aimation
https://i.redd.it/7duccqo6bp0f1.gif
https://redd.it/1km9dtm
@r_Unity3D
https://i.redd.it/7duccqo6bp0f1.gif
https://redd.it/1km9dtm
@r_Unity3D
What should I learn first?
I just download unity and want to start learning to make games!
But I don't know where to start?, any advice?
https://redd.it/1kmd39q
@r_Unity3D
I just download unity and want to start learning to make games!
But I don't know where to start?, any advice?
https://redd.it/1kmd39q
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
Attempting to create a fog of war similar to Dead Cells
Hello, thanks for reading.
I guess this wouldn't technically be a "fog of war", it would be more like a "reveal mask" thing.
I'm using the map/minimap method where you have a separate camera with a culling mask set to your map layer and output texture of a custom render texture. I don't want to draw a dark colored mask over the top of the map and erase it as the player moves because I have a background on the map/minimap that I want to be visible. I basically want the map to be transparent and the player reveals it as they move around the game world.
I was trying to create a shader that multiplied the map's render texture and another texture called reveal mask, which is all black except for the white area it draws around the player as they move around the map. This would then be used as a material on the RawImage component of the map/minimap. In my head I'm thinking this should work, but I'm not getting any progress and I'm still not very confident in my shader graph abilities.
Does anyone else have any experience with this and can possibly provide some insight/tips/etc?
Thanks in advance!
https://redd.it/1kmdrf2
@r_Unity3D
Hello, thanks for reading.
I guess this wouldn't technically be a "fog of war", it would be more like a "reveal mask" thing.
I'm using the map/minimap method where you have a separate camera with a culling mask set to your map layer and output texture of a custom render texture. I don't want to draw a dark colored mask over the top of the map and erase it as the player moves because I have a background on the map/minimap that I want to be visible. I basically want the map to be transparent and the player reveals it as they move around the game world.
I was trying to create a shader that multiplied the map's render texture and another texture called reveal mask, which is all black except for the white area it draws around the player as they move around the map. This would then be used as a material on the RawImage component of the map/minimap. In my head I'm thinking this should work, but I'm not getting any progress and I'm still not very confident in my shader graph abilities.
Does anyone else have any experience with this and can possibly provide some insight/tips/etc?
Thanks in advance!
https://redd.it/1kmdrf2
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community