A great tutorial like the rest of them. Thanks alot for doing this man!!
@AiAgeOfMagic13 күн бұрын
Really awesome
@random_precision_software16 күн бұрын
What's the difference between the ampify shader editor and unitys own shader?
@ShackMan16 күн бұрын
For one Shader Graph got pretty broken around Unity 2021 so the performance tanks badly when your graph grows. Connecting a node can literally take a minute.... Amplify has much better UX in general and more useful nodes. In the end they both are just ways to create and edit shader files.
@danielharrington5629Ай бұрын
Thanks, this video is awesome and a great help in my A level comptuer science coursework where I'm making a navigation app for my school to route students between classrooms.
@ShackManАй бұрын
Thanks! It's always nice to hear what my videos are being used for, good luck with your project!
@Naugamonster2 ай бұрын
Shack Man! Would you ever consider releasing a version of this file, as a prefab, that is your shader/s and scripts with some of your AI art? This looks like to much fun so work with! What a cool thing you've created!
@ShackMan2 ай бұрын
There is an open project on my github called Shader Shack, but I think this one isn't in there yet. I'm currently working on a new project about doing wicked science in mixed reality and I'll pull out a lot more stuff into open projects that anyone can use. I'll kick it off in a week or so with a solar system.
@tiranito37152 ай бұрын
u succ succ no? yes yes man yes
@tiranito37152 ай бұрын
mi no spiko engrishu
@АртурСадыков-й2ъ3 ай бұрын
Oh man... You saved my days! Thank you so much!
@Stinow3 ай бұрын
GREAT video! Can I also add behaviour to when there's a collision with a tile, that something happens based on the type of tile? For example: hitting one tile bounces your bug backwards, while another tiles opens up a whole new scene (both depending on the type of tile that was hit)? Subscribed, thanks.
@ForestDenison3 ай бұрын
Thanks! Working on a project that generates a world using Perlin Noise and I wanted to add some extra information to each tile regarding the town that occupies that space. Very useful!
@Franklinsbrother3 ай бұрын
I'm curious, could you use this system for a pre-drawn image if you placed a grid over it and then made the tiles invisible? So it could be used for like an RPG world map and the tiles determine the environment of random encounter battles?
@ShackMan3 ай бұрын
Sure, but then the tilemap would be more like an editor tool and at runtime you could just save the data based on world position and there's no need to go through all the tilemap API. Though if this helps you to make your game faster and you don't run into performance issues and it's an easier workflow, just go for it.
@JonelKingas4 ай бұрын
im using super tiled maybe thats why, but if I call for change of sprite aka door from closes to open sprite, its offset by 0.5 basically in between 4 tiles and I cant find the answer, even chatgpt cant help like wtf
@MxxMkk4 ай бұрын
You are the best, thx. Still actual and helpful
@leo_goodguy8964 ай бұрын
Quick update though, one should use cam.ScreenToWorldPoint(Input.mousePosition + new Vector3(0, 0, 4f)); because Input.mousePosition seemingly doesn't add any depth in the new version, so it didn't work on my system. Just in case anybody has the same problem. :)
@DJnoratos4 ай бұрын
If you want to use Perspective camera, get mouse position like this Vector3 GetMousePositionWorld() { Vector3 mousePosition = new Vector3(Input.mousePosition.x, Input.mousePosition.y, Camera.main.transform.position.z); return Camera.main.ScreenToWorldPoint(mousePosition); }
@ЕваДева135 ай бұрын
This is the best video on this topic! I've tried a lot of ways to move around the sprite in this way, and all of them were not very good. But your way was the best! It's also very simple. Thanks!
@alperakin25615 ай бұрын
Do anyone know how Can I do this with cinemachine camera
@cake82426 ай бұрын
Can you make a tutorial for this with the new imput system?
@kyled5806 ай бұрын
Thank you! this legit has explained the consepts of UI that everyone else assumes you know when watching specific UI tutorials. I am definately subscribing for more well explained tutorials!!
@munchkis6 ай бұрын
best tutorial on this, thank you
@МК2647 ай бұрын
Great tutorial Managed to hold my picture in the center on maximal zoomout by changing two lines: float minX = mapMinX + Mathf.Min(camWidth, mapRender.bounds.size.x / 2f); float maxX = mapMaxX - Mathf.Min(camWidth, mapRender.bounds.size.x / 2f);
@0_0hyunni7 ай бұрын
WoW~! Thank you so much! This helped me a lot to start a new project!
@kodaxmax7 ай бұрын
following the steps up till 3 minutes, the lightning texture is stretched horizontally along the line. it repeats too, but it's still stretched, it's also really thin. this is on unity 2022 URP. Anyone know how to fix? both the texture and material previews look as expected and ive triple checked all my settings against the video.
@tupaialoshara5 ай бұрын
did u solve it?
@cometgamerid7 ай бұрын
Big like bro big like ❤🥰
@vanshtandon18297 ай бұрын
Awesome 👍
@renranger21358 ай бұрын
This helped a lot. But how do you keep the IK bone from scaling in all axis’s when you stretch it? Right now, I can’t keep my model from ballooning out whenever I stretch it. I just need it to stretch in the Y axis. I’ve tried the “Limit Scale” constraints and the locks in the “Inverse Kinematics” tab, but nothing works.
@djk12885 ай бұрын
Any updates on this front? I'm dealing with the same problem right now...
@renranger21355 ай бұрын
@@djk1288 unfortunately not really. I’ve read something about having to add a whole new set of bones to the ones you’re attempting to scale, but as a beginner I can’t really make sense of it. I’ve just settled on physically scaling the bones in question. It kind of screws up the bones they’re parented to, but in my case it’s better than nothing. Sorry
@JuanSumChninezeFue5 ай бұрын
Select the rig, go to Pose Mode, hit N and select the Item tab and Rig Main Properties dropdown, select the control on the hand or foot, FINALLY go through the whole list and look for "IK Stretch" and make 0 instead of 1.
@vaa33nn659 ай бұрын
Extremely useful, Thank you!
@FyresGames9 ай бұрын
That was exactly what I was looking for to add ground type and change the sound of footstep based on the floortype. Didn't took long after that to figure out the same process for spriteshapes. One details I do differently, instead of setting the tilemap, I get it from the raycast hit.collider.gameobject.TryGetcomponent(out Tilemap tmp) so if I got many tilemaps and/or spriteshapes in one scene, it find it with ease.
@merlinboshoff10529 ай бұрын
Amazing video, but how do you add this principle on a larger scale, say a machine that matches the movement of a snake, but as it stretches out you want each segment to separate further apart the further you go, how do you do it? I've tired curves, bending rigs, and now this, but none give me the results I want
@BSCRIBE-oe6kx9 ай бұрын
BSCRIBE!
@BSCRIBE-oe6kx9 ай бұрын
BSCRIBE!
@GamingTherapy889010 ай бұрын
can you please explain how origin point and newPosition become same after some time. despite position on screen is different than origin position
@Caden_Burleson10 ай бұрын
Great tutorial, I learned a lot so I'm subscribing! Also where's the link on the saving data you mention @4:12?
@theoriginalstarwalker165311 ай бұрын
pooling objects in unity makes me wanna kms
@cptwoody710311 ай бұрын
you content are low key !! keep sharing your nice work man you Enlighted the game dev community
@zeOrb11 ай бұрын
I've recently switched from Unreal to Unity for some little projects and this is definitely helped me the most to understand how to nail UI scaling. Other videos just help quickly make something okay for game jams, but now I understand how exactly it works haha, thanks!
@E30cad11 ай бұрын
Another video running around with keyboard short cuts. None of those explain what you're doing and only serve to speed up the video to the point any watch must rewind 5 times to understand what you're doing. Start explaining what commands and actions you're taking, without using keyboard short cuts. So annoying to try to learn anything.
@palanolho82 Жыл бұрын
Hi, How would you adjust the clamp if using a perspective camera instead of orthogonal ? many thanks in advance.
@gregorymagid85 Жыл бұрын
Thank you for the video, it was great, Question: I need a laser for a disco ball-type effect like in Royal Match for mobile 2d urp game , I also need a way to determine the Line Renderer color, ensuring it has different colors when a player chooses a specific color. Does anyone know or can provide a clue or link on how to achieve that?"
@vincekerti7088 Жыл бұрын
Too many tile... variable name! It might be confusing
@THEspindoctor84 Жыл бұрын
excellent video. You are clearly very knowledgeable.
@xSephironx Жыл бұрын
Thank you so much mr. Schwarzenegger
@bluuyo Жыл бұрын
Nice shader! Tutorial is a bit hard to follow since cannot see the full end to end shader. Thank you for sharing your sauce
@amac333 Жыл бұрын
I was wondering about multiplayer the section talking about classes for all the patients helped with that, thanks
@김승종-o3p Жыл бұрын
Thanks!!!
@boneitch Жыл бұрын
This is absolutely perfect for what I needed! Im working on a in game menu with several toggles and sliders, and a canvas just looks way too menu-y. Had no idea how to start tackling the sliders tho. Thank you!
@DanutJMK Жыл бұрын
Different engines, same logic. Thanks!
@phillipwebb1104 Жыл бұрын
Awesome video mate. Any chance there is a way to use this system to effect the player character when walking on water tiles?
@ShackMan Жыл бұрын
yes, pretty much the same way. Connect a special value to the water tiles and have a player script read it just like the bugs are reading the tiles.
@victorkuzmin3416 Жыл бұрын
Man, you saved me hours. One of the best and clear explanation.