Shack Man

Shack Man


In this channel I help you to create art and video games. I make tutorials about coding, drawing game art, 3D modeling, animation, Unity hacks you won’t see anywhere else, special effects and a lot of rockets.

If you ever have a question you can leave a comment, message me, or join my discord server. Also feel free to request a tutorial on any topic related to art or game development.

So please come in, find a nice place in my cozy shack and subscribe to not miss out on anything.


twitter.com/The_ShackMan

instagram.com/shackman42/

github.com/ShackMan2000

Discord: discord.gg/7GBmfuHQ85

Create a VR Slider in Unity

Create a VR Slider in Unity

Пікірлер

  • @munchkis
    @munchkis10 күн бұрын

    best tutorial on this, thank you

  • @user-vz2il5du2c
    @user-vz2il5du2c25 күн бұрын

    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_0hyunni
    @0_0hyunniАй бұрын

    WoW~! Thank you so much! This helped me a lot to start a new project!

  • @kodaxmax
    @kodaxmaxАй бұрын

    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.

  • @cometgamerid
    @cometgameridАй бұрын

    Big like bro big like ❤🥰

  • @vanshtandon1829
    @vanshtandon1829Ай бұрын

    Awesome 👍

  • @renranger2135
    @renranger2135Ай бұрын

    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.

  • @vaa33nn65
    @vaa33nn652 ай бұрын

    Extremely useful, Thank you!

  • @Fyres11
    @Fyres112 ай бұрын

    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.

  • @merlinboshoff1052
    @merlinboshoff10522 ай бұрын

    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-oe6kx
    @BSCRIBE-oe6kx3 ай бұрын

    BSCRIBE!

  • @BSCRIBE-oe6kx
    @BSCRIBE-oe6kx3 ай бұрын

    BSCRIBE!

  • @GamingTherapy8890
    @GamingTherapy88903 ай бұрын

    can you please explain how origin point and newPosition become same after some time. despite position on screen is different than origin position

  • @Caden_Burleson
    @Caden_Burleson4 ай бұрын

    Great tutorial, I learned a lot so I'm subscribing! Also where's the link on the saving data you mention @4:12?

  • @theoriginalstarwalker1653
    @theoriginalstarwalker16534 ай бұрын

    pooling objects in unity makes me wanna kms

  • @cptwoody7103
    @cptwoody71035 ай бұрын

    you content are low key !! keep sharing your nice work man you Enlighted the game dev community

  • @zeOrb
    @zeOrb5 ай бұрын

    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!

  • @heckyapfeifer
    @heckyapfeifer5 ай бұрын

    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
    @palanolho825 ай бұрын

    Hi, How would you adjust the clamp if using a perspective camera instead of orthogonal ? many thanks in advance.

  • @gregorymagid85
    @gregorymagid855 ай бұрын

    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
    @vincekerti70886 ай бұрын

    Too many tile... variable name! It might be confusing

  • @THEspindoctor84
    @THEspindoctor846 ай бұрын

    excellent video. You are clearly very knowledgeable.

  • @xSephironx
    @xSephironx6 ай бұрын

    Thank you so much mr. Schwarzenegger

  • @bluuyo
    @bluuyo6 ай бұрын

    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
    @amac3336 ай бұрын

    I was wondering about multiplayer the section talking about classes for all the patients helped with that, thanks

  • @user-hm2bl9wo1v
    @user-hm2bl9wo1v7 ай бұрын

    Thanks!!!

  • @boneitch
    @boneitch7 ай бұрын

    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
    @DanutJMK7 ай бұрын

    Different engines, same logic. Thanks!

  • @phillipwebb1104
    @phillipwebb11047 ай бұрын

    Awesome video mate. Any chance there is a way to use this system to effect the player character when walking on water tiles?

  • @ShackMan
    @ShackMan7 ай бұрын

    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
    @victorkuzmin34167 ай бұрын

    Man, you saved me hours. One of the best and clear explanation.

  • @SharkJets
    @SharkJets7 ай бұрын

    Congrats on finishing!! Way to go!!

  • @ShackMan
    @ShackMan7 ай бұрын

    Published, not finished ;-)

  • @stylie473joker5
    @stylie473joker57 ай бұрын

    Its Shack Man with the potato power ftw

  • @stylie473joker5
    @stylie473joker57 ай бұрын

    Cool

  • @stiluboy
    @stiluboy7 ай бұрын

    Why I cannot see "ScreenToWorldPoint" in my Unity ? do I need to add it somehow ?

  • @anima9266
    @anima92668 ай бұрын

    Thank you for this video but i got a problem ut sometimes turn blue or the sprite turn invisible sometimes im still looking for solutions 😢

  • @rgodoy86
    @rgodoy868 ай бұрын

    Thanks so much, I have learned a lot! Although I need to repeat some parts since I constantly was lost a bit on the explanations. Thanks for sharing a lot of rich content!! Keep it going

  • @ShackMan
    @ShackMan8 ай бұрын

    Glad it helped!

  • @mihailazar2487
    @mihailazar24878 ай бұрын

    Thanks. Will be using this to rig a Factorio spidertron

  • @user-ep8pr8qj8q
    @user-ep8pr8qj8q8 ай бұрын

    i really want to say thank you for the part with the toast!! it helped me out a lot while learning how to get the right texture!! wonderful video and very clear explanation :)

  • @anellaa5070
    @anellaa50708 ай бұрын

    hi, im only need pan and boundary but somehow I can't get the boundary working any idea why?

  • @anellaa5070
    @anellaa50708 ай бұрын

    also i only want to pan on the x axis and the y axis just staying still

  • @keanoverkoyen3817
    @keanoverkoyen38178 ай бұрын

    Hi, nice shader! However I do have one question, I currently have multiple targets, how can I change the shader so that I can add them all? Edit: I found a solution, I use a raycast in front of the player (He can only go up down left right so the raycast will always hit) and if the raycast hits a certain tag it changes the value of the shaders target property. Very happy with the result :D

  • @renata_navarro
    @renata_navarro8 ай бұрын

    It Works like a charm, but I don´t have an image to do it, so I used 2 Vector2 to adjust the borders. TY

  • @urselhorst9253
    @urselhorst92539 ай бұрын

    thats exactly what i needed man that was awesome. I used DOTween for the zoom animation which makes it feel a lot smoother

  • @DefinedCmajor
    @DefinedCmajor9 ай бұрын

    Omg how did you mimic my pc so accurately

  • @mrussoart
    @mrussoart9 ай бұрын

    Thanks a lot!

  • @adamfrank5183
    @adamfrank51839 ай бұрын

    I think the singleton is a good call here. I'm working on a game right now that requires each tile to have a large amount of data. I thought about using scriptable objects with some kind of helper/manager, your video has me more confident in it. Thanks

  • @ONAPAL3HORS3986
    @ONAPAL3HORS39869 ай бұрын

    This is perfect!

  • @marcosalmeirapsicorganica
    @marcosalmeirapsicorganica10 ай бұрын

    I need help. I've been unsuccessfully trying to add a line of code that updates the firing position of this Tesla coil object when it's moving on the screen, and I want to adapt it for a moving spaceship.

  • @CortesVidaSaudavel645
    @CortesVidaSaudavel64510 ай бұрын

    This error appears, please help me \Bio-TecN\SCRIPT\Weapon.cs(26,24): error CS0029: Cannot implicitly convert type 'Creature[]' to 'System.Collections.Generic.List<Creature>' allCreatures = Resources.FindObjectsOfTypeAll<Creature>();

  • @ShackMan
    @ShackMan10 ай бұрын

    FindObjectsOfType returns an array, allCreatures seems to be a list. Simply add 'ToList() right before the semicolon.

  • @CortesVidaSaudavel645
    @CortesVidaSaudavel64510 ай бұрын

    like this? allCreatures = Resources.FindObjectsOfTypeAll<Creature>()ToList(); Errors continue to appear on this line, an error also appears when I change from ''Count'' to ''Length'' on another line as shown in the video at 13:59. for (int i = 0; i < allCreatures.Count; i++)

  • @ShackMan
    @ShackMan10 ай бұрын

    @@CortesVidaSaudavel645 You forgot a . between () and ToList(). Count and Length is because of array vs list. Google a bit about the differences, there are many articles about it.

  • @CortesVidaSaudavel645
    @CortesVidaSaudavel64510 ай бұрын

    @@ShackMan I saw now that later on you eliminated this first line and kept ''Count'' in the other. I put a 2d collider and a Tag in ''Line Renderer'' so that the player who touches any point in the radius will be destroyed, but it's not working. How could I do it? Because I adapted this example to a kind of barrier in a ''Shoot in Up'' style ship game where two ships create this plasma arc to destroy the player if he touches anywhere on the line.

  • @telocim
    @telocim10 ай бұрын

    Excellent video, thank you! Your Unity UI explanation and examples are the clearest I've seen. Subscribing for more!

  • @ggshout3019
    @ggshout301910 ай бұрын

    It's very neat shader by the look of it but I couldn't make it work for some reason. It's good idea to make another video where you make the shader from start to finish. Something odd is happening when I apply it after watching the tutorial. The object is transparent wireframe, it blinks for a second updating and then get transparent for some reason. Tried to mimic it as best as I can see it done but texture isn't applied, and tbh shaders aren't my strong side. I am aware what is what but to know what set of functions you need to pass your values trough to get a certain result is mystery...

  • @ShackMan
    @ShackMan10 ай бұрын

    The truth is that showing it step by step in the video takes hours to produce.... I'll see if I can break it down in chunks next time. The shader is also available here : github.com/ShackMan2000/ShaderShack