Skip to main content

Questions tagged [layers]

0 votes
0 answers
123 views

I'm attempting to play an animation from different layers but having some difficulty. I'm trying to play animation transitions in one layer and then go back to the base layer to play an animation ...
wrappingduke's user avatar
0 votes
0 answers
161 views

I'm using Camera.cullingMask to only render objects that belong to specific layers. However, I can't figure out how to render two different layers on the same frame and store them in separate render ...
Nikhil Nair's user avatar
1 vote
1 answer
2k views

I have a tilemap in Godot 4.1 and I have defined a physics layer for a tileset, but I cannot figure out how to disable a layer in collision mask in code. I already found out that I should get tileset ...
Adonia Kazemzadeh's user avatar
1 vote
0 answers
50 views

Consider the below images get from the Final Fantasy VII and Alone In The Dark games: I assume that the above scenes are composed by a set of layers composing the background image (allowing thus the ...
Jean-Milost Reymond's user avatar
2 votes
1 answer
310 views

GOAL I am making a top-down tile-based sandbox game, and it will have 400 layers of destroyable terrain, It will not use chunks, it will store the map in memory like Terraria, but only render the ...
Macho Onion's user avatar
0 votes
0 answers
52 views

I read from the book that 0 - 7 layers are reserved layers in Unity but when I open layers on Unity its showing me that I can use layer-03, 6 and 7 and so on. So can I say that only 5 layers are ...
AHF's user avatar
  • 101
0 votes
0 answers
192 views

I have a layer rendering issue, where the top layer of content will sometimes not render to screen as it appears that the bottom layer is rendering on top (even though it's behind in world space). It ...
A__'s user avatar
  • 163
0 votes
1 answer
306 views

I'm trying to decide how granular to be with my layers. I assume there's some spatial indexing going on, but... Does Unity do work for every pair of objects on compatible layers? Will Unity do some ...
pixelpax's user avatar
  • 143
0 votes
0 answers
157 views

I need advanced blitting options in my game. It's a 2D game that has trees' sprites along with the player's sprite. I want that every tree sprite to be displayed either in front of or behind the ...
Salem's user avatar
  • 226
1 vote
2 answers
400 views

I have a physical simulation on the streets of a city. The simulation is 2D but in a few points it could develop on multiple "layers": for instance bridges or underground tunnels. I may have ...
Blue Nebula's user avatar
0 votes
1 answer
131 views

How do I make the non-sprite (BasicSpellProjectile) render in front of the sprite (Tower 2)? Note: The camera is located at z=-10. The z positioning apparently ...
Sebastian Nielsen's user avatar
0 votes
2 answers
2k views

I am Lerping the Near value of my camera, from 0 to 38, and it gives this result: change near clip plane effect As you see, it gives a nice effect. But now I would like the effect to occur only for ...
Ugo Hed's user avatar
  • 281
0 votes
1 answer
2k views

I am having problems with layers detection using raycasts. Context: I created a grid to use in a pathfinding algorithm on a 2D plane. I want to implement now different weights according to the layer ...
FSic's user avatar
  • 188
0 votes
0 answers
29 views

I'm new to using Unity (2019.30a2) and am currently learning by watching Brackey's (youtube) "How to make a 2D Game in Unity" At 6:58 he is able to rearrange his layers easily. On my hand, I can ...
user9681559's user avatar
0 votes
0 answers
559 views

I'm trying to rearrange my layers in Unity but I can't seem to drag them. When I try to do this I'm in edit layers under the heading sorting layers and I click on the = symbol and try to drag it but ...
Sarah Buist's user avatar

15 30 50 per page