How to create Destructible Terrain in Godot.

  Рет қаралды 16,707

OptionalDev

OptionalDev

Күн бұрын

Repo: gitlab.com/god...
Further Reading:
QuadTrees (not maps, oops): en.wikipedia.o...
Normals: en.wikipedia.o...)
Different approach: / how_we_created_destruc...
Music:
"Leaving Home" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 4.0 License
creativecommons....

Пікірлер: 37
@Crisisdarkness
@Crisisdarkness 4 жыл бұрын
I hope you come back soon, your content is so valuable, thank you friend for the videos you have created
@Crisisdarkness
@Crisisdarkness 4 жыл бұрын
Wow I did not realize you had uploaded new content like this, you are someone very talented, wow this is great, thanks friend, I admire you
@sanyi9667
@sanyi9667 4 жыл бұрын
all your tutorials are top tier - insta subscribed
@itsfela
@itsfela 3 жыл бұрын
High quality content here, keep making these vids please.
@FredBednarski
@FredBednarski 4 жыл бұрын
This is awesome! All we are missing is a tutorial for ninja rope and we can remake worms! :D
@optionaldev2876
@optionaldev2876 4 жыл бұрын
Well, as a starting point I have a tutorial on the grappling hook from Teeworlds: kzbin.info/www/bejne/javVqGmVgKmAopY
@robertoaguiar6230
@robertoaguiar6230 3 жыл бұрын
@@optionaldev2876 this comments are from 5 months ago. Do we have Gworms already? If not I would be happy to aid with the art.
@optionaldev2876
@optionaldev2876 3 жыл бұрын
@@robertoaguiar6230 Thank you very much for the offer, but I'm actually not working on any Godot game right now. I just like tinkering with the engine and implementing small mechanics. (Also, I haven't done *any* real GameDev in the past 5 months anyway)
@Sunrymoon
@Sunrymoon 16 күн бұрын
4 years ago 😢
@LineOfThy
@LineOfThy 2 жыл бұрын
Actually - using marching squares you _could_ possibly generate a collision mesh for the image.
@userone7847
@userone7847 4 жыл бұрын
Hi Thanks for the content you are extremely knowledgeable, I'd love to see some slower paced more basic tutorials. I feel like the beginner tutorials on youtube at the moment aren't teaching to do things the proper way, thanks!
@_Garm_
@_Garm_ 4 жыл бұрын
bit fast but great tutorial, so in essence when you create the map, you fill out the "cut out" with alpha color, have i understod it right ? :D
@optionaldev2876
@optionaldev2876 4 жыл бұрын
Yes. And for the physics keep a 2D array copy of the map, since reading the alpha of the sprite every frame takes forever
@ast3077
@ast3077 Жыл бұрын
Thank you for this tut.
@skar0ps
@skar0ps 4 жыл бұрын
Your videos are super helpful ! Thank you for making those tutorials :D
@truenincillo805
@truenincillo805 2 ай бұрын
Please🙏🙏, tutorial, tree cutting, the tree shakes when cut, ((The tree will fall when it reaches the number of times required by the player's skill (cut) - ((example: small tree 2 to 5 times )), (and that the tree drops objects when the tree ends up falling and disappears)
@juhlyoh4938
@juhlyoh4938 3 жыл бұрын
Hello, is there anyway to add an grass on top of the terrain? Like the green grass on top brown land of the worms reload video you showed?
@fecu2394
@fecu2394 4 жыл бұрын
Worm is one of those tricky English words, it's pronounced "wurm". Nice tutorial, how would you approach this in 3d? In the shader I guess. Might be tricky.
@andermetalbrasil
@andermetalbrasil 4 жыл бұрын
Nice tutorial.
@TackerTacker
@TackerTacker 4 жыл бұрын
Thanks for sharing
@Sunrymoon
@Sunrymoon 16 күн бұрын
Where is the 4.x guy 😢
@thomassimpson643
@thomassimpson643 3 жыл бұрын
I searched the internet everywhere and can't find a tutorial on top down 2d bridges such as going under and over all with collisions. I'm so lost could you make a tutorial for this?
@voidfalse
@voidfalse 4 жыл бұрын
Can you make terrain destruction like in Scorched Earth? There you don’t have parts of terrain float in the air, but they fall to the ground
@porradaanimacoes2773
@porradaanimacoes2773 2 жыл бұрын
New videos please
@yyyclass
@yyyclass 3 жыл бұрын
Can't believe is GDScript, we seem to use different language, how do you leran this?
@Syeno
@Syeno 3 жыл бұрын
Omg I LOVE worms :O
@KekLuck
@KekLuck 3 жыл бұрын
mehr vids plz ;P
@junndeb2421
@junndeb2421 4 жыл бұрын
When you said you have to make a physics engine for this, is it something that I need to learn or is it already here in the tutorial? I'm kinda new to gamedev and in Godot. Is it also ok to do the script in Godot and does it make a difference, you seem to be using visual studio. Last, how do you use visual studio code for Godot? I apologise for the amount of questions.
@optionaldev2876
@optionaldev2876 4 жыл бұрын
For the physics engine it's what I'm talking about really briefly and superficially at 2:23-2:50. You need to understand how to calculate the angle to bounce off surfaces. You need the normal (en.wikipedia.org/wiki/Normal_(geometry) ) for that, but I don't know how to break it down simpler. If you wanna look at my code (with comments!) for it you can look at do_steps() here: gitlab.com/godotdemos/destructable-terrain-demo/-/blob/master/Grenade.gd#L31 and collision_normal() here: gitlab.com/godotdemos/destructable-terrain-demo/-/blob/master/Collision.gd#L29 It doesn't matter if you code in Godot or in VSC. I just prefer VSC. (Here's how to use VSC docs.godotengine.org/en/stable/getting_started/editor/external_editor.html ) I personally am really bad at explaining basic stuff, which I think is more what you need. This specific prototype combines intermediate Godot techniques with intermediate physics so it's maybe a bit difficult if you are not well versed in one or the other. Maybe a tutorial on programming physics (without a physics engine) would help you. For example, I found this adamdempsey90.github.io/python/bouncing_ball/bouncing_ball.html I've only skimmed it, but it seems like it might be a good introduction. Or maybe you find something better...
@user-lq1jn5nd4d
@user-lq1jn5nd4d 3 жыл бұрын
where r new videos):
@iminuru2974
@iminuru2974 3 жыл бұрын
Pocket Tanks!
@stefanogrillo6040
@stefanogrillo6040 3 жыл бұрын
The method texture.set_data doesnt exist anymore
@mmxgn
@mmxgn 2 жыл бұрын
Probably you figured out by now but for whoever has the same issue: You can solve this by: var imageTexture = ImageTexture.new() imageTexture.create_from_image(fg_data) fg.texture=imageTexture
@LineOfThy
@LineOfThy Жыл бұрын
@@mmxgn also get_data() doesn't work anymore, what's the replacement?
@kingzeeb319
@kingzeeb319 4 жыл бұрын
BRUH
@otakusomot107
@otakusomot107 2 жыл бұрын
what the f*** is this, i can't understand anithing, what?
@demosthenes7902
@demosthenes7902 4 жыл бұрын
Not a beginner friendly engine at all lol..
Как сделать игру Worms в Unity ?
31:54
Eccentric Games
Рет қаралды 21 М.
How to make destructible terrain using tilesets - Godot 4
21:36
Worst flight ever
00:55
Adam W
Рет қаралды 33 МЛН
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 19 МЛН
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 26 МЛН
I Made Minecraft in Godot
28:36
RachelfTech
Рет қаралды 55 М.
What size should your assets be? | HD 2D GAME ART
12:10
Nonsensical 2D
Рет қаралды 130 М.
I Made a Graphics Engine in Scratch
8:27
Zyger
Рет қаралды 151 М.
How to Create a Destructible Object for Godot in 7 Minutes
7:28
CodingKaiju
Рет қаралды 25 М.
How to Start Making Games with No Experience
10:55
Goodgis
Рет қаралды 80 М.
How To Make 2D Curved Terrain In Godot
20:26
LucyLavend
Рет қаралды 32 М.
Minecraft's New Horror Features are Already Here
9:58
Knarfy Too
Рет қаралды 204 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,1 МЛН
How to make a Video Game - Godot Beginner Tutorial
1:17:12
Brackeys
Рет қаралды 2 МЛН
BETTER 2D visuals in 7 EASY TIPS
10:38
MrEliptik
Рет қаралды 70 М.
Worst flight ever
00:55
Adam W
Рет қаралды 33 МЛН