Null reference error in my player spawner
I am getting a null reference error which i am not able to figure out why this error is coming and also despite the null reference error it is performing the functionality which it should perform....
View ArticleBest way to make levels in Unity?
This is kind of a question for game design in general. But for 3D games, should I be designing levels in Unity? Or making them in Blender and then porting them over? Or a mix of the two? I kind of just...
View ArticleBest way to do a Level switcher?
I have mobile type game where there are going to have to be a lot of short levels, what is the best way of switching from one to the next?
View ArticlePoly brush prefabs end up "out of bounds"
**The situation:** I have a custom mesh that I want to scatter a grass prefab onto using poly brush. **The problem:** Whenever I try this, this happens: ![alt text][1] I have no clue what is happening....
View ArticleBest practices/tools to create the definitive 3D map (not realistic maps)
Hi all, I'm creating an old Ratchet&Clank(2 and 3) like game, I'm at the point that I need to start creating maps. I'm current using Unity Probuilder to level design the maps. - Is a good idea to...
View ArticleKindly confirm, is it possible to save Player position in level designing...
1. Actually I do not want to use Playerprefs to make Level designing 2. Is there any best approach to make level designing without Playerprefs in unity so kindly share
View ArticleBest pratices to manage diffirent events in every level
I am building a campaign for my 2d shooter game where there will be different type of events like enemies spawn when a target is killed or move the camera to a position as cutscene,... Currently i use...
View Articlechange attached script from A to B for all objects having A as a script attached
I have a main script attached to a lot of game objects in my first level and I want to create a bunch of similar levels where the only thing that changes is the script. I would prefer to create 10...
View ArticleLevel size and floats
I'm making a first person shooter and I need 0.001 accuracy. Everything in Unity uses floats instead of doubles? If I limit the level area to a L: 16384 x W: 16384 x H: 16384 centered cube, will there...
View ArticleWhats the best way to design a 2d level with shapes that aren't in unity by...
I'd like to create 2d maps where marbles could fall in with curves, circle with only outlines, triangle... well in general some shapes that are not by default in unity, should I use software such as...
View ArticleI can't use the brush to "draw" my 2d level!!!
I had a problem, i lost my level and the player in the scene (I unzoomed a lot) I found that if I select the player and press F it appear on the scene. The problem is that I can't do the same for the...
View ArticleHow to spawn rocks to my terrain just like a vegetation spawner ?,How to...
Hello, I am making a simple forest scene in unity. I have added grass and trees using a vegetation spawner that was quick and easy. But is their any similar way to spawn some rocks in the scene. Thanks...
View ArticleHow to stream a procedurally generated level?
I am relatively new to Unity (working through an online course currently) and am trying to understand how to go about streaming a procedurally generated level (3D). I would like to generate a large...
View Articletransform.childCount not working as intended
I am building my first game with unity, a simple break out game.i am intending that when the level has no children it moves to the next level.but it doesn't seem to work.in the code I put this in the...
View ArticleOpen Door on all enemies dead?
I want to trigger an animation to open the door when I kill all enemies in a given arena, and I briefly had it, but then it stopped working, not sure why. Here is the script I have so far: public class...
View ArticleHow to make a Rounded Connection in a 2D level
I was making my game's levels and i have decided to make connections between walls rounded and i made that by making a rounded effect with smaller copies of the wall, but i want to ask is there a way...
View ArticleHow to create a sine function with cutoff peaks and troughs
I want to create a saw hazard for my current game and I want the arm to move back in forth similar to capturing the output of a sine function like this `movementDistance * Mathf.Sin(counter *...
View ArticleMultiple Floors: how to hide/show a floor when a character is...
Hi, I'm new to unity, and I'm still trying to figure out the good way to do things. After a "quick search" I didn't find the answer. Have a check at this picture at first to figureout. ![alt text][1]...
View ArticleObjects in-editor that copy their components instead of stretching
Working on a simple 3D game. Everything is aligned with the unit grid, and most meshes are a single unit cube in size. However, some objects, like conveyor belts, ladders, etc. might be made out of...
View ArticleDirectional light leaking into indoor areas
Hi. I have an issue where light from a directional light is seeping through the edges of indoor meshes. ![alt text][1] [1]: /storage/temp/177087-dame-da-ne.png The meshes were constructed with...
View Article