How To Make 2D Curved Terrain In Godot

Поділитися
Вставка
  • Опубліковано 30 лип 2024
  • In this video you'll learn how you can make 2D curved terrain using the SmartShape2D plugin.
    ----------
    The GitHub page for the addon (which also has the Wiki):
    github.com/SirRamEsq/SmartSha...
    Repository for the official demo project:
    github.com/SirRamEsq/SmartSha...
    Invite link to the SmartShape2D Discord server:
    / discord
    -----------
    Timestamps:
    00:00 | Intro
    00:36 | Plugin installation
    01:14 | Shape manipulation 1
    02:23 | Background texture
    03:35 | Texturing the edges
    05:52 | Changing the normal range
    08:23 | Shape manipulation 2
    10:12 | Open shapes
    11:35 | Improving the materials
    15:16 | Change the material of a specific edge
    17:12 | Adding a collision shape
    17:58 | Snapping objects to the terrain
    19:39 | Outro
    -----------
    You can buy me a coffee:
    ko-fi.com/lucylavend
    You can see more of the stuff I make on Twitter & Twitch:
    / lucylavend
    / lucylavend
  • Наука та технологія

КОМЕНТАРІ • 72

  • @LucyLavend
    @LucyLavend  3 роки тому +31

    Some notes:
    - If you don't see the SmartShape node icons you might need to reopen your project.
    - Due to a bug in Godot the plugin currently does not work properly if you have "Open resources in current inspector" disabled.
    - I'm still working on my audio recording workflow, so sorry about the the clipping audio here and there.
    Hope you enjoy this tutorial!

  • @obsigamer5439
    @obsigamer5439 3 роки тому +30

    *watches anyways even though i don't use Godot*

  • @The_Foreman
    @The_Foreman 3 місяці тому +3

    For anyone confused about Reapeating textures: In the Shape Object, in the Inspector find Texture open it to find Repeat = Inherit switch it to Enabled

  • @cavas5349
    @cavas5349 3 роки тому +8

    exactly what I was looking for - thank you!

  • @Tdoshok
    @Tdoshok 3 роки тому +2

    Awesome work and a really cool looking plugin. Thanks for this!

  • @ricardor2478
    @ricardor2478 3 роки тому +4

    Just discovered you channel, so underrated!, loved this vid.

  • @_gamma.
    @_gamma. 3 роки тому +3

    They must've fixed the resource menu bug in the betas, I forgot about it 😆
    Great tutorial, I had seen the asset around the community but never knew how flexible it was! I'll have to keep it in mind

  • @garrettwidner8199
    @garrettwidner8199 2 роки тому +2

    Thank you! This was extremely helpful for a project I'm working on.

  • @motizukilucas
    @motizukilucas Рік тому +1

    Such quality yet so simple. Thanks for sharing it.

  • @Matto_Sama
    @Matto_Sama 3 роки тому +8

    WOO!! my favorite UA-camr!! awesome video lucy!

    • @LucyLavend
      @LucyLavend  3 роки тому +2

      Thank you funny robot man!

  • @ronaldosenajr7015
    @ronaldosenajr7015 3 роки тому +2

    Great tutorial, love it.

  • @shakirmohammed-
    @shakirmohammed- 3 роки тому +8

    Can't wait to see you hit a million subscribers
    Keep up the good work

  • @NewSchattenRayquaza
    @NewSchattenRayquaza 2 роки тому +1

    that was just the thing i needed thak you so much!

  • @accumulator4825
    @accumulator4825 3 роки тому +1

    Really helpful, thank you.

  • @mrlonely5835
    @mrlonely5835 2 роки тому +3

    I like your style Lucy, this was very helpful

    • @LucyLavend
      @LucyLavend  2 роки тому +2

      Thank you! Glad to hear it was useful.

  • @idontknowagoodname7221
    @idontknowagoodname7221 2 роки тому

    I think your tutorials are one of the best

  • @marceeeeeeel1030
    @marceeeeeeel1030 3 роки тому +1

    Hey... you might not have many videos out yet but I'm going to call you the Godot Goddess from now on so I won't have to do it later when your channel blows up

  • @larshansson1953
    @larshansson1953 2 роки тому +4

    Tip: You can also toggle "Editor Debug" to get the shape to update after adding the texture.

  • @NateHeroic
    @NateHeroic 3 роки тому +1

    This is a great video!

  • @DouglasNeves
    @DouglasNeves Рік тому +1

    amazing, thank you!

  • @EmilioNorrmann
    @EmilioNorrmann 2 роки тому

    amazing stuff !

  • @felipefacundes1
    @felipefacundes1 11 місяців тому +1

    Very ! Very ! Thanks !

  • @DevandChill
    @DevandChill 3 роки тому

    increible, nuevo sub

  • @Chevifier
    @Chevifier 3 роки тому +1

    This is awesome I mainly focus on 3D but I once used a similar plugin when a used Unity(I primarily use Godot now)

    • @LucyLavend
      @LucyLavend  3 роки тому +2

      It's indeed pretty similar to Unity's Sprite Shapes. If you have any suggestions on 3D topics you'd like to see me cover, feel free to say so

    • @Chevifier
      @Chevifier 3 роки тому

      @@LucyLavend I know most of 3D i actually do tutorials. UA-cam just recommended your video to me.😅

  • @wash99
    @wash99 3 роки тому +1

    Tyyyyyy I subbed

  • @Skyellander
    @Skyellander Рік тому +1

    Really liked your tutorials, sub! I'm learning Godot 3.5. I wonder though if you can explain, if possible, why sometimes the polygons are so evident in 3D terrains. Tried all brushes, and mountains are created like spikes, really odd...I'm using hterrain enhance shader and U Depth Bled is not checked. Thanks in advance.

  • @someone.8878
    @someone.8878 3 місяці тому +1

    bro you're a LIVESAVER. i was going to try to make a sonic fangame without this knowledge...

  • @JustthesameJn
    @JustthesameJn Рік тому +1

    ayy thanks :D

  • @v0xl
    @v0xl 3 роки тому +1

    nice content

  • @mrpedrobraga
    @mrpedrobraga 3 роки тому

    So you were the one who made this, eh?
    I'll have to test this by myself, afterwards.

  • @achourinfo3210
    @achourinfo3210 10 місяців тому +1

    Tnx

  • @randomragtags
    @randomragtags 5 місяців тому

    Excellent video Love this! Discord link wont work for me, is there a way to modify our shapes via code?

  • @jay-tbl
    @jay-tbl Рік тому

    [SOLVED] help! When I look at the toolbar at 1:50 I only have 5 options there, and the one for creating points is missing. Did I miss a step that would cause it to appear?
    Edit: solution: I had added the addon by downloading it from the git repo and putting it into the addons folder. When I instead went through the godot asset store it worked properly

  • @_.-.
    @_.-. Рік тому

    This is all well and good for being lazy while editing, but can this be used at runtime? Can I edit the points and have it visually behave during the game?

  • @tastypimple8136
    @tastypimple8136 Рік тому

    Is this smartshape2d good for creating top-down rooms for shooters? I'm trying to do it and while it is nice to only make textures for this, it quickly becomes a mess. The indexes of the points are all over the place, I'm not able to properly create straight line rooms with it, The textures at the points get's really funny if there is a 90 degree turn to the next point. It's so hard to make a room with it that it is easiar to draw the whole room and takes less time, at least for me. Is there a good way, a tutorial or something that could help with this issue? Again, these problems comes when i want to make perfect 90 degree corners room. If I just make a simple floor or a mountain with points all over the place it works fine. Thank you in advance and excuse me for my english.

  • @lukostello
    @lukostello 2 роки тому

    I don't understand why it needs to approximate the collision shape with triangles considering it seems to have a fully functional means of telling which pixels are in and out in its fill function, why not just use the same function for collision?

  • @yukmsacierzorro
    @yukmsacierzorro 3 роки тому +3

    Thanks for this super clear tutorial!
    I was trying to make levels like this using polygons and collision polygons.... this is way easier hahaha
    Do you perhaps have any tips on how to create NavigationPolygons that go around and in between the shapes you create in this way?

    • @LucyLavend
      @LucyLavend  3 роки тому +1

      I don't think there currently is an easy way to generate a navigation polygon like that sadly. I've seen someone write their own system for this, but I couldn't find it again. If I remember correctly it is possible to generate a navigation polygon that avoids shapes in the new navigation sever in Godot 4.0, but it's gonna take a little while before that comes out

    • @yukmsacierzorro
      @yukmsacierzorro 3 роки тому

      @@LucyLavend I think that might have been GDQuest they had an example of doing this with code. Thinking of it, that probably would work with this as well with some tweaking.
      Anyways, bedankt!

  • @alexandrgakhov6211
    @alexandrgakhov6211 3 роки тому +3

    Good tutorial, thanks
    interesting plugin, is it possible(useful) to use for topdown view?

    • @LucyLavend
      @LucyLavend  3 роки тому +1

      Yes definitely! In the video "FRANZ FURY - Behind the scenes" by Picster he uses SmartShape2D to create top down rocks and mountains.

  • @kronosgaming2141
    @kronosgaming2141 2 роки тому

    Hello do you know why I can't use the alt+shift

  • @_Akashsays
    @_Akashsays 2 місяці тому

    can you please give me the assets link that is used here 0.19

  • @etienne6186
    @etienne6186 3 роки тому

    is it possible to manage programmatically? Like for procedural generation ?

    • @LucyLavend
      @LucyLavend  3 роки тому +1

      I haven't seen anyone try this yet, you might be able to modify the the Points resource during runtime.

  • @Indiananime19
    @Indiananime19 3 роки тому +1

    In my pc this add-on is not working. I mean after installation it shows all the icons and node . BUT when i created this closed shape gd . node it shown no option to create those vertices.
    I RESTARTED MY PC
    REINSTALLED THE ADDON AND GODOT AS WELL.
    DOWNLOADED IT FROM ASSEST LIBRARY .
    STILL IT IS SHOWING NOTHING .PLS HELP😭

    • @LucyLavend
      @LucyLavend  3 роки тому +1

      Hmm that's odd, is the add-on properly enabled in the project settings?
      You could try deleting it from the add-ons folder and downloading the latest version from GitHub (link in description). You can drag the (unzipped) downloaded folder into the add-ons folder

    • @Indiananime19
      @Indiananime19 3 роки тому

      Thank you very much. I was trying to fix it from last one month. And now it's working thankss

  • @Jono1982
    @Jono1982 5 місяців тому

    Is it possible to draw a perfect circle using this method with the bezier curve?

    • @LucyLavend
      @LucyLavend  5 місяців тому

      You can't really create closed shapes with this addon sadly. There have been some people in the SmartShape2D discord server that tried to do it.

  • @desmondbrown5508
    @desmondbrown5508 2 роки тому +1

    Did you play and love Megaman Legends growing up? Because this art for your character literally looks directly out of Megaman Legends.

    • @LucyLavend
      @LucyLavend  2 роки тому +1

      To be honest, I haven't played it yet. Though I do really adore the artstyle

    • @desmondbrown5508
      @desmondbrown5508 2 роки тому +1

      @@LucyLavend Ah okay. Still, had a nostalgia hit, lol.

  • @envymak2254
    @envymak2254 Рік тому +1

    What's the pixel tool you are using?!

  • @benjattkk
    @benjattkk 3 роки тому +2

    image not subscribing to lucy smh my head.

  • @wint3rxxx
    @wint3rxxx 10 місяців тому

    Please make a godot 4 update on this. I find it hard to repeat textures as it's not setup like it used to be

    • @The_Foreman
      @The_Foreman 3 місяці тому +2

      For those like me that find your comment: In the Shape Object, in the inspector find "Texture" open it to find "Repeat: Inherit" switch it to "Enabled"

    • @noxys56
      @noxys56 7 днів тому

      @@The_Foreman Very ! Very ! Thanks !

  • @jackwinner4810
    @jackwinner4810 3 роки тому +1

    Great tutorial, please can you do a OutRun clone (Pseudo 3D) Why because is a great game that use the old machines with low resources
    Thany you

    • @LucyLavend
      @LucyLavend  3 роки тому +1

      Thanks! A tutorial on an Out Run/F Zero style game is a good idea! Though after looking into it, it looks like it's a lot harder to do than I thought. There seems to be a ton of math involved and it seems that it was easier to do on the hardware back in the day. For now I'd recommend taking a look at a video called "Godot Engine: Pseudo 3D Race (80's Style)" by Airvikar on UA-cam

    • @jackwinner4810
      @jackwinner4810 3 роки тому

      @@LucyLavend Oh thank you for the pseudo after you sayed I wotched but is it was created in a Old vertion in GODOT (and I am begginer in GODOT and null in programin) please of you can do a new video from that I will do very gratefull.
      Than you very much

  • @yvanvan3729
    @yvanvan3729 3 роки тому +1

    Awesome job. Tyvm for sharing. (BTW that's reminds me of ua-cam.com/video/y-chi097uV4/v-deo.html) Keeps going on !

  • @CookieMeal
    @CookieMeal 2 роки тому +3

    you're cute