Part 2 about grid visualization -> kzbin.info/www/bejne/pHypZYOtl5Jphdk
@rongreen385 Жыл бұрын
I wasn't having much luck finding good examples of using Unity's Grid class and along comes your tutorial - yay! Thank you so much.
@SunnyValleyStudio Жыл бұрын
Glad it was helpful! 👍
@MuhammadBilal-cs3dg Жыл бұрын
@@SunnyValleyStudio can you please share the starter project link
@Jayy8BitАй бұрын
Just bought this course. Hands down one of the best projects I have purchased. Very rare it just works right out the box. I'm using the newest version of Unity 6 with 0 errors.
@SunnyValleyStudio28 күн бұрын
Thank you 🙇
@guillermoyoutube14 күн бұрын
@@SunnyValleyStudio can I have a link to purchase the course?
@IgnacioEsteves3 ай бұрын
This might be, hands down, the best tutorial I've ever seen in my life. Not even joking, you have too much talent!
@SunnyValleyStudio3 ай бұрын
Thanks! 😃
@JB_1016 ай бұрын
I love your passion for what the majority see as impossibly dull! I code for a living and for a hobby! Just trying to learn Unity now! 🙂
@SunnyValleyStudio6 ай бұрын
Thanks ! 🙂
@flatcoaster Жыл бұрын
I've never thought to use the Unity Grid component all this long... seems very useful now
@SunnyValleyStudio Жыл бұрын
Thanks for the comment!
@XconeArtist2 ай бұрын
You got great pacing. Enough details for me to learn, but not too much detail to get bored. I enjoyed watching this. Thanks 👍
@SunnyValleyStudio2 ай бұрын
I'm glad that you like it and I really appreciate your comment 🙂
@frmlsshrmn Жыл бұрын
This is extremely useful. I've been trying to get started on a base-building game and what I want to accomplish first is to make it possible to plop down objects (buildings) of various dimensions (1x1, 2x3) on a grid. So I'm looking forward to the rest of the series. Thanks!
@SunnyValleyStudio Жыл бұрын
Awesome! I will be posting the remining parts this week.
@MuhammadBilal-cs3dg Жыл бұрын
@@SunnyValleyStudio can you please share the starter project link
@scjohnson243 Жыл бұрын
Really useful, been trying to follow one of these and have not had much luck, so far this one is great!
@SunnyValleyStudio Жыл бұрын
Great to hear! Thanks for watching 🙂
@opponentbacon7 ай бұрын
SUCH an amazing set of tutorials and like other people have also said; exactly what i was looking for. thank you so much !
@SunnyValleyStudio7 ай бұрын
Thanks so much!🙂
@zeggxr1539 Жыл бұрын
really excited to watch it, thanks for the great tutorials!!
@SunnyValleyStudio Жыл бұрын
Thanks!
@wasifalmeem4651 Жыл бұрын
Thanks a lot, really simple and straight forward. used prebuild unity components with a really simple logic. Thanks a lot brother
@SunnyValleyStudio Жыл бұрын
Thanks!🙂
@de_w0r Жыл бұрын
Thank you! I'm not a native british or american, but i understood all frazes or words. My english level not low, and not high. The most best part of your tutorial is code. U make code so easy that hard to didn't undrestand what happen in video. One more - Thank you! +rep
@SunnyValleyStudio Жыл бұрын
Thanks for the comment!
@GocoYT2 ай бұрын
Great straight forward tutorial! Love the stuff! :)
@SunnyValleyStudio2 ай бұрын
Awesome! Thanks for the comment 😍
@This-Was-Sparta Жыл бұрын
Great stuff as always. Exactly what I was looking for.
@SunnyValleyStudio Жыл бұрын
Thanks 👍
@Chigamungus11 ай бұрын
Fantastic tutorial! Exactly the kinds of things I was hoping to learn
@SunnyValleyStudio11 ай бұрын
Glad to hear it! 🙂
@hbcck Жыл бұрын
A very clear and entertaining video.
@SunnyValleyStudio Жыл бұрын
Glad you enjoyed it!
@BlueDuck-vv3eu3 ай бұрын
Thanks! I like this to the point style of teaching that you do.
@SunnyValleyStudio3 ай бұрын
Glad to hear that! 👍
@FrogKin9 Жыл бұрын
Thank you - again... Great work and alyways exactly what I'm looking for. As soon as I (or if I ever) earn some money with my Games, I will support you financially as well.
@SunnyValleyStudio Жыл бұрын
Thanks. And be sure to focused on making games first 👍 Making money from games is kind of separate skill and I don't think it is easy to learn it and make games at the same time 🙂
@КириллКурлянов-ф2й Жыл бұрын
Thank's man. That just what I've been looking for
@SunnyValleyStudio Жыл бұрын
Awesome! 🙂
@bane9109 Жыл бұрын
Hey Peter, thanks for this tutorial! Grid system is something i’ve had trouble with in the past, so I’m looking forward to learning how to implement this
@SunnyValleyStudio Жыл бұрын
I hope that my tutorial will help 🙂
@MuhammadBilal-cs3dg Жыл бұрын
@@SunnyValleyStudio can you please share the starter project link
@Berndr Жыл бұрын
Really great and clear strait forward explanation!
@SunnyValleyStudio Жыл бұрын
Thanks for watching 👍
@yuhochih Жыл бұрын
Thank you for making this tutorial, it is really helpful to me
@SunnyValleyStudio Жыл бұрын
You're welcome 😊
@ender_0967 Жыл бұрын
❤ Thanks Peter, this tutorial is fantastic, It helped a lot!
@SunnyValleyStudio Жыл бұрын
Glad it helped! 👍
@MuhammadBilal-cs3dg Жыл бұрын
@@SunnyValleyStudio can you please share the starter project link
@Lazzarus77 ай бұрын
Nice tutorial, very well explained!
@SunnyValleyStudio7 ай бұрын
Glad it was helpful! 👍
@Joseph-ud1sd Жыл бұрын
This Video helped me a lot! Thank you!
@SunnyValleyStudio Жыл бұрын
Thank you!
@gabrielzanoni9961 Жыл бұрын
Thank you very much! You teaching skills are awesome!
@SunnyValleyStudio Жыл бұрын
Thanks for watching 🙂
@deibysantiago9639 Жыл бұрын
thank you sunny, amazing tuts
@SunnyValleyStudio Жыл бұрын
Thanks for watching 🙂
@eldarkvadrat Жыл бұрын
You doing good job via tutorials. Glad to watch it :)
@SunnyValleyStudio Жыл бұрын
Glad you like them!
@MuhammadBilal-cs3dg Жыл бұрын
@@SunnyValleyStudio can you please share the starter project link
@RavenG102 Жыл бұрын
its a good start for my ideas, thanks!
@SunnyValleyStudio Жыл бұрын
Good to hear that! 👍🙂
@Tozerus1 Жыл бұрын
Thank you for the great tutorial!
@SunnyValleyStudio Жыл бұрын
Thanks for watching 🙂
@troyna77 Жыл бұрын
thanks a lot !!! i always learn when watching you tutorials. I really enjoy your udemy courses.
@SunnyValleyStudio Жыл бұрын
I really appreciate that! Thanks for watching 🙂
@ItsPBUH Жыл бұрын
These are great tutorials, always love your content :)
@SunnyValleyStudio Жыл бұрын
Thanks a lot 🙂
@clintonhamil9371 Жыл бұрын
Thanks! Using this in a Game Jam build right now :D
@SunnyValleyStudio Жыл бұрын
Awesome! Let me know how it went! 🙂
@usercontent2112Ай бұрын
Thanks for this awesome tutorial!
@SunnyValleyStudioАй бұрын
Glad to hear it 👍
@minhquandam7334 Жыл бұрын
You are my savior !!! Thanks for the video
@SunnyValleyStudio Жыл бұрын
Thanks for watching 🙂
@hadiseylani22657 ай бұрын
awsome tutorial... thanks for your clear explanations
@SunnyValleyStudio7 ай бұрын
Glad it was helpful! 👍
@mezainab848 Жыл бұрын
amazing and easy tutorials
@SunnyValleyStudio Жыл бұрын
Thanks for watching! 👍
@isaccabreraАй бұрын
Great tutorial and thanks for it!! I am implementing it but, it does not work when I use the mobile simulator un unity, it shows an error of "Screen position out of view frustum", why could it be?
@WEB2TV Жыл бұрын
This is wonderful tutorial! Thank you!!
@SunnyValleyStudio Жыл бұрын
Thanks for watching 🙂
@MuhammadBilal-cs3dg Жыл бұрын
@@SunnyValleyStudio can you please share the starter project link
@muhammadammarr27963 ай бұрын
Thanks for this awesome tutorial! but I have question, I had already watched all of the series. when I place the object with say 3x2, cursor (that take first grid with mouse cursor) already aligned with grid that has placement layer mask. But for the rest generated cursor still can place outside the grid boundaries how can I fix this or am I missing something?
@SunnyValleyStudio3 ай бұрын
You mean you would like to add Bounds to the placement area? I cover it in my paid project. Basically you need to check if each tile that your 3x2 area requires for placement is inside the bounds that you define. I do this check when we move the cursor and update the preview. Again I don't cover this in my free implementation. Sorry
@muhammadammarr27963 ай бұрын
@@SunnyValleyStudio it's okay again thanks for sharing :D
@ianfavreau977611 ай бұрын
To anyone having trouble with the Mouse Indicator Testing part, make sure you have a mesh collider on the plane you are using as your grid. Also, to anyone having trouble with the Cursor Indicator not aligning with the cursor, make sure it has the correct Y position as it is different in the game than in the scene viewport. Spend time to make sure it is perfectly level in the game when you hit play (it doesn't matter if it is below the plane in the scene mode).
@SunnyValleyStudio11 ай бұрын
Thanks for sharing! 👍
@jaybehl7567 Жыл бұрын
Hi, when I import the project assets (i only import the ones needed for the prefabs) the "CursorIndicatorParent" only shows as a opaque blank white square. It doesnt have the transparent hole in the center it does like yours. I am using Unity 2022.3.0. Can u help me? Otherwise, fantastic tutorial!
@SunnyValleyStudio Жыл бұрын
Maybe you have to set the "Render Mode" to be Transparent in the Material for the Cursor object docs.unity3d.com/Manual/StandardShaderMaterialParameterAlbedoColor.html
@danieletacconi5140 Жыл бұрын
@@SunnyValleyStudio Ti sto seguendo ora e se permetti provo a aiutare riguardo alla domanda anche se nella mia lingua. Seleziona il materiale cellIndicator, in alto a destra cambia lo shader in standard. A questo punto doce c'è albedo ci metti lo sprite GridInidcator che trovi nella cartella _content. Fatto ciò basta che rimetti lo shader in sprites/default e dovresti visualizzare perbene. Ottimo video
@jessepaulsen973 Жыл бұрын
Great vid. By the way this creator also has courses on Udemy. Several of the courses are great for people who have got the fundamentals of Unity and coding under their belt and need to start learning architecture, design patterns and internal testing.
@SunnyValleyStudio Жыл бұрын
Thanks for watching!
@Cortanuh Жыл бұрын
Thanks for the video :)
@SunnyValleyStudio Жыл бұрын
Thanks for watching!
@aciloaicilo2926 Жыл бұрын
really helpful video, thanks
@SunnyValleyStudio Жыл бұрын
Thanks for watching!
@TheAlliones Жыл бұрын
Great Video!
@SunnyValleyStudio Жыл бұрын
Thanks!
@bleedingflower607810 ай бұрын
I have been having this issue where on one side of the plane the grid snaps all the way to the edge and on the other side it only snaps one early. This makes it so on one side it goes outside of the plane. I have been trying to offset things like crazy. The grid, the plane, the gridparent. I even tested with the sphere as grid indicator and still it indicates that it reaches the edge of the plane on one side but not on the other side. I also have tried scaling but just no change works. I am completely lost on why my grid is completely incorrect.
@SunnyValleyStudio10 ай бұрын
So remember how we convert the world position to grid position? Check using Debug.log what is the world position and what the grid position is. It might be that the grid has an offset and when you reach one of the edges the position is Ceiled (rounded up) ? Also remember that we have the grid plane and the ground plane (for simplicity of the setup). The problem might be that one is smaller than the other and when detecting positions on the edge there is actually no collider so the raycast is NULL and the returned position is from the previous row / column. This actually happened to me so maybe that is also an issue in your case?
@bleedingflower607810 ай бұрын
@@SunnyValleyStudio thank you but I already figured it out. I noticed that it qas working correctly however by default it took the bottem left corner of the grid right on the crossing point. So all I had to do was add an offset in code of 0.5f X and 0.5f Z that put it in the center of the square and fixed it. Before that I was trying to do the offset in unity but ofcoarse that gets reset by the code. But thank you for your response I deeply appreciate the efford you put un to help everyone.
@zubairGamX Жыл бұрын
Just Amazing Sir
@SunnyValleyStudio Жыл бұрын
Thanks a lot!
@ОлександрБоровський-н1г Жыл бұрын
Great video)
@SunnyValleyStudio Жыл бұрын
Thanks!
@mcredbunny5542 Жыл бұрын
Thanks for the tutorial but where is the project you mentioned at the start of the video?
@SunnyValleyStudio Жыл бұрын
If you mean the extended version you can find it here courses.sunnyvalleystudio.com/ . Thanks for your support! 😍
@vvbgamedevx1110 ай бұрын
Thanks for the tutorial looking for something like this....
@SunnyValleyStudio10 ай бұрын
Great to hear! Thanks for watching 🙂
@coding_game Жыл бұрын
sir cell indecator not working And download the assets from said?
@SunnyValleyStudio Жыл бұрын
Hey! You can check the code here (as I suspect it might be a matter of some missing line of code) github.com/SunnyValleyStudio/Grid-Placement-System-Unity-2022/commit/10d004fefbbac0dcbea0022a53b4ce3ba9c6da89 Also make sure to set the LayerMask of the cell indicator to something other than default as in the code we want to be detecting the ground. I mention it at 5:25 I hope it helps!
@gudfurt846410 ай бұрын
I'd like to do something similar in 2d but I'm having some trouble with the input manager. The z index of the circle I'm using as a mouse indicator is at -6.58 even though my near clipping on the camera is set to 0 (started with 0.001) and it's not following the mouse position either (based on inspector values). Any ideas why and what I could do to fix it?
@SunnyValleyStudio10 ай бұрын
In 2D you actually don't need the Camera Raycast. You would use "Camera.main.ScreenToWorldPoint(Input.mousePosition);" Next you would use that to move your Image (since in 2d we don't use spheres 🙂 unless you know what you are doing) and set it as spheres x and y position. Hope it makes sense! If you are using the new input system you just need to get the mosuPosition from that 🙂
@gudfurt846410 ай бұрын
Thanks for the response! I tried it without the raycast and it worked out perfectly
@cl24014 ай бұрын
really helpful video
@SunnyValleyStudio4 ай бұрын
Glad you think so! 🙂
@four_corner_days Жыл бұрын
I'm trying this from scratch, but my cell indicator renders below the grass plane while the mouse indicator is correctly rendering above the plane. what could be causing this?
@SunnyValleyStudio Жыл бұрын
I think we have set in a script or as a component variable an "offset" for the indicator. Check the "PreviewSystem" script if we do something like "+new VEctor3(0, someValuse, 0);" when moving the indicator.
@HollowGameStudio10 ай бұрын
I'm not sure what "PreviewSystem" script Peter is talking about in his comment here, but I found an offset solution that worked for me, as I had this same issue. For some reason I had to set my yOffset to ~0.8 to get the cell indicator high enough to stop z axis fighting. Instead of cellIndicator.transform.position = grid.CellToWorld(gridPosition); I used Vector3 cellIndicatorPosition = grid.CellToWorld(gridPosition); cellIndicatorPosition.y += yOffset; cellIndicator.transform.position = cellIndicatorPosition;
@Robin-xk1pp Жыл бұрын
How do i change the width of that white part of the Coursor Indicator.
@SunnyValleyStudio Жыл бұрын
As far as I recall we have used a simple quad with a texture to create preview system. You can modify the texture or create the outline using a shader to be able to smoothly modify how it looks.
@bluzenkk Жыл бұрын
cool and thanks~~ looks better and better~
@SunnyValleyStudio Жыл бұрын
Thanks for watching 🙂
@Aushin510 Жыл бұрын
Hello, I am having issues with the grid being unaligned and unaffected by any changes to dragging the GridParent around. I am using the Voxel Generator tutorial you made and trying to implement this building grid system in a 3D world. I tried to follow along perfectly (swapping the floor grid indicator for a 3D visual model) but the closest i ever got to a functional (somewhat buggy) 3D grid is this: private void Update() { Vector3 mousePosition = inputManager.GetSelectedMapPosition(); Vector3 gridPosition = new Vector3(Mathf.Round(mousePosition.x), Mathf.Round(mousePosition.y), Mathf.Round(mousePosition.z)); mouseIndicator.transform.position = mousePosition; cellIndicator.transform.position = gridPosition; } With the GridParent Transformed to -.5 on XYZ. Depending on the face of the voxel, it either works correctly or places the grid cursor in the air beside the target block. Any help to my confusion is appreciated!
@SunnyValleyStudio Жыл бұрын
I am not sure but it might be but remember that the Grid component has center points in the bottom-left corner (at least in 2D). Maybe it is a matter of math - that in the voxel generator the center point is in the middle of the voxel. Maybe just adding an offset of -.5 to x and z by default would fix that? The error sounds like a floating point issue where since it it is on the edge of 2 grid tiles it sometimes works and sometimes doesn't, Still might be some more complex problem.
@ZiKsor7 ай бұрын
Hi, your guide is very useful, but can you tell me how to create a Coursorindicator prefab?
@farvardinmainyu1961 Жыл бұрын
Thank you Peter !
@SunnyValleyStudio Жыл бұрын
Thanks for watching 🙂
@ranggasukandar3533 Жыл бұрын
Thanks! super easy to understand👍
@SunnyValleyStudio Жыл бұрын
Glad to hear that! 👍
@lukgoolaerts3085 Жыл бұрын
Somehow when i follow this tutorial, the sphere (mousepointer) starts where the mouse is, but then flies straight to the camera, and i can't figure out why. Strange
@SunnyValleyStudio Жыл бұрын
Have you set the Spheres layer to something other than "default" ? I might have gone over this too fast. Basically if sphere has the same layer as the detection layer the sphere will be gradually moving towards the detected point - which is on the surface of the sphere. This will cause it to fly towards the camera. Sorry for not explaining it better in the video!
@lukgoolaerts3085 Жыл бұрын
@@SunnyValleyStudio Yes, problem with the layers. instead in changing the layer i added it so, I had the problem you describe above. Thanks for answering
@gamedevbaiyi936 Жыл бұрын
Love it.✌
@SunnyValleyStudio Жыл бұрын
Thanks for watching 🙂
Жыл бұрын
Your videos are amazing please share more video 😊😊😊😊😊😊😊😊
@SunnyValleyStudio Жыл бұрын
Thanks for watching 🙂
@DeepSpaceInsightsАй бұрын
If I buy your package, can I customize it so that I can use it on iOS for mobile development? and is it also possible to import it into an existing project or do I have to start a new one?
@SunnyValleyStudioАй бұрын
Hey! It's a premade project to build on top of or open and reuse the setup in your own project. The system should be reusable for any platform. I have a series of videos where I explain each part of the package so you have an idea how to reuse it. But it does require you to get a hang of how the project work in order to reuse it.
@231Cryptic6 ай бұрын
Any way to make this work with a tilemap instead of a plane? When I try my indicator keeps disappearing under the tilemap no matter what I have my Y axis set at
@SunnyValleyStudio6 ай бұрын
With 2D you need to use the SpriteRenderer component and shader graph would be a bit different. The grid usage and the code behind the placement system would be pretty much the same
@231Cryptic6 ай бұрын
@@SunnyValleyStudio So my plan (and I'm new so maybe this is dumb) is to use a 3d space with a tilemap component that sits perpendicular to the Z axis (so that I can procedurally generate ground tiles and still have 3D physics work). I have the Plane with the Grid Shader Graph applied sitting on top of my tilemap (which is a child of my grid), but for some reason my CursorIndicator is disappearing after a bit. I even added a line to the code that slightly bumps up its Y coordinate to make sure it's sitting on top of the tilemap and plane, but to no avail. Any idea what I can do?
@OneRomanianGuy6 ай бұрын
would this tutorial work with 2d as well but i just have to change some things to fit 2d?
@SunnyValleyStudio6 ай бұрын
Grid component works in 2D (it is used for Tilemaps). You could use the same system but your input would probably be just mouse position (no need to raycast anymore)
@emmanuelavanzi39986 ай бұрын
nice tutorial thank you
@SunnyValleyStudio6 ай бұрын
Glad it was helpful! 👍
@ShahanAkhter Жыл бұрын
thanks awesome tutorial
@SunnyValleyStudio Жыл бұрын
Thanks for witching! 👍
@jennih8353 ай бұрын
Nice, Thanks!
@SunnyValleyStudio3 ай бұрын
🙂
@graheet Жыл бұрын
You wonderful man. Thank you very much.
@SunnyValleyStudio Жыл бұрын
Thanks 👍
@Hrev23. Жыл бұрын
its not letting me put the zip file into unity, every time I do it says I need to install a new version of unity.
@SunnyValleyStudio Жыл бұрын
The ZIP contains a full project that you have to put inside a new folder on your machine. Next you should be able to open Unity HUB and use the "Add" button. The project I think was created in Unity 2022 so you can use any newer version of 2022 and select something like "convert to" or "open with" and the version you already have. Just confirm any open up window and it should open without an issue.
@Hrev23. Жыл бұрын
@@SunnyValleyStudio I'm using 2023 so that might be the problem...
@Hrev23. Жыл бұрын
@@SunnyValleyStudiohow do you make the Cursor Indicator? I want to make it from scratch
@ДаниилПономарев-щ1шАй бұрын
really helpful!
@back2back71210 ай бұрын
thank you sooooo much big brother
@SunnyValleyStudio10 ай бұрын
Thanks for watching!
@Raccoon07105 ай бұрын
What if I want to have grid 5x10, I didint find solution, how I can change grid size, it all the time 10x10, guys please help me
@SunnyValleyStudio5 ай бұрын
Grid calculations should work if you just set those values. Shader should work as well but you would need to set the correct scale to the shader model and I think we had some shader parameters set there as well.
@wisdomkhan Жыл бұрын
My cell indicator is not matching with unity grid.
@SunnyValleyStudio Жыл бұрын
I recall that since the Tilemap tile has its center in "bottom-left" corner we have applied an offset either to the prefab or to the placement of the cell indicator of (0.5f, 0f, 0.5f). Maybe that is the problem?
@pinkdolphin80174 ай бұрын
Am I required to purchase the course to get the prefabs shown in this course? Should I find alternative assets or is there somewhere I can download them?
@SunnyValleyStudio4 ай бұрын
Hey! I always reference the assets used in the description "Assets used: kenney.nl/" . Just search for Furniture Kit there. I will edit the link to point to it directly 👍 If you like the project and want to support me feel free to grab the paid version 🙂
@richiebee338 ай бұрын
Just what the doctor ordered! I can't wait to use this in the game. I'll definitely be buying your course. One question: my game is currently using Unity 2021. Is it a must to upgrade to 2022?
@SunnyValleyStudio8 ай бұрын
As long as you are using Unity 2021.2 and above there should be no issues. This is because I am using C#9 features docs.unity3d.com/2021.2/Documentation/Manual/CSharpCompiler.html I am not sure about the shader part since this changes a lot (we are using a shader graph). But its something that you can convert easily - well you would recreate the shader in the older version of shader graph if it doesn't work out of the box). So those are the only limitations that comes to mind.
@Sussy_Boy62510 ай бұрын
would this be able to keep track of what has been placed down?
@SunnyValleyStudio10 ай бұрын
In the tutorial we use "GridData" object to store placed objects and their position. You should be able to easily expend this data or use it to ex "block placement of more than 3 chairs" (so to condition placement based on already placed object). I hope it answers your question!
@CLAREBPED Жыл бұрын
esse curso me ajuda muito com meus estudos, obrigado!
@SunnyValleyStudio Жыл бұрын
Thanks for witching 🙂
@Rexu3030 Жыл бұрын
I creating project in 3d URP but i haven't this folders and scenes as you.
@Rexu3030 Жыл бұрын
Pls help!
@SunnyValleyStudio Жыл бұрын
It is best to download the full project (ZIP filed), unpack it to a separate folder and use unity Hub "open" on it to add open the same project as I have. The scene should be in the "Scenes" folder. Sorry for not explaining it better!
@Rexu3030 Жыл бұрын
@@SunnyValleyStudio thanks
@nathanav16343 ай бұрын
The cursor indicator is pink when I do it, I think maybe this tutorial is outdated?
@SunnyValleyStudio3 ай бұрын
I think maybe you didn't use URP rendering pipeline or have an error in the custom shader 🙂 Magenta material means that there is an issue with the Material. Usually it shows up when you open assets created in build-in render pipeline in URP or vice versa
@nathanav16343 ай бұрын
@@SunnyValleyStudio thank you, solved it
@tomasa9690 Жыл бұрын
You shared used assets but the link goes to nowhere, it just opens the whole website
@SunnyValleyStudio Жыл бұрын
Sorry about that! kenney.nl/assets/furniture-kit
@LDnbi Жыл бұрын
Hey, great tutorial, though I am having problems with the sphere moving towards the screen when the mouse is stationary. Checked the code and it seems to be the same, not sure if you may know why this is happening?
@LDnbi Жыл бұрын
Okay, I figured it out and it's so obvious now I have. I just hadn't changed the layer of the sphere, so the ray wasn't touching the plain.
@SunnyValleyStudio Жыл бұрын
I'm glad that you have found and fixed the issue 👍
@jeremylock199 Жыл бұрын
Thanks a lot for this Peter. I really want a grid building system for my tank game (actually using your tutorial for that too). I want to reimagine the game Bolo on the Apple II.
@SunnyValleyStudio Жыл бұрын
Sounds awesome! Be sure to share your progress on SVS discord (link in every video) 🙂
@MuhammadBilal-cs3dg Жыл бұрын
@@SunnyValleyStudio can you please share the starter project link
@Telikal Жыл бұрын
How do I impor tthe grid placement system I cant figure it out.
@SunnyValleyStudio Жыл бұрын
The best way is to download the ZIP archive, unpack it to a separate folder and use "Open" button in the unity Hub to open it as a new project. If you want to import a package to an existing project here is Unity manual about importing docs.unity3d.com/560/Documentation/Manual/AssetPackages.html
@bsdrago Жыл бұрын
Great!
@SunnyValleyStudio Жыл бұрын
Thanks!
@karandhir241119 күн бұрын
Thank you
@SunnyValleyStudio14 күн бұрын
You're welcome 👍
@starfart69 Жыл бұрын
When you say you can change it to hexagon in @7:15, it would be so much better to watch if you click it just to show the viewer what changes if you do that.
@SunnyValleyStudio Жыл бұрын
Thanks for the feedback! 👍
@starfart69 Жыл бұрын
@@SunnyValleyStudio Hey, you have great content man. Your subs are criminally underrated.
@coverfaker83412 ай бұрын
Thanks!
@SunnyValleyStudio2 ай бұрын
Thanks for watching!
@Robin-xk1pp Жыл бұрын
How can i make a circular grid? The cells have to be a square and they need to form a circle.
@SunnyValleyStudio Жыл бұрын
You should consider it in terms of painting pixel art in Aseprite (or paint or any software). There you have a "brush" which defines a selection shape. All you need is to find or figure out an algorithm to select all the grid cells using some radius value from a specified position. Not sure if that is what you mean. In terms of the shader I don't think it would be that easy to create it. I think the easiest solution is to generate a mesh / or create it in Blender that is of the shape of your circle and put the shader on it so that it only shows the "circular" grid made of squares. I hope it makes sense!
@MuhammadBilal-cs3dg Жыл бұрын
Awesome
@SunnyValleyStudio Жыл бұрын
Thanks!
@DaffaAP5 ай бұрын
this same for 3d game??
@SunnyValleyStudio5 ай бұрын
It depends. If you mean 3D like Minecraft you could have a grid that stores x,y,z and when walking shoot calculate the position in front of the player and clamp it to the closest grid position. The core system would work the same as here.
@IliasTompoulidis-p4t Жыл бұрын
Thanks!
@SunnyValleyStudio Жыл бұрын
Thanks for watching!
@mikeaelmich Жыл бұрын
Maybe you have tutorial on generating a house based on outlines on a satellite map. So that users can draw the shape of their house and apply extrude
@SunnyValleyStudio Жыл бұрын
Not yet! Sorry 🙂
@mikeaelmich Жыл бұрын
@@SunnyValleyStudio, thank you for your response
@강승우-p5z Жыл бұрын
I`m trying to adapt your lecture for 2D Unity System. This lecture is so perfect for me and your last explanation for pivot makes me know why my tilemap dislocated little. Thank you. Let me ask you one more question... I think I can alternate Grid Component to Tilemap Component because we usually use it in 2D unity, and it is OK until but... do you think is there potential problems?
@SunnyValleyStudio Жыл бұрын
Hey! Tilemap in unity either inherits or uses grid component. I think it uses it because you get the grid component added whenever you create a tilemap. I think you can use either one.
@SalarianStudios4 ай бұрын
thanks man
@SunnyValleyStudio4 ай бұрын
Thanks for watching 🙂
@dynogamergurl10 ай бұрын
does this system work with controllers too?
@SunnyValleyStudio10 ай бұрын
If you are using the new input system you could use the controller as well 👍