Sahaj Guptaitsahaj.hashnode.dev·Mar 23, 2024Rotate arrow in player.Now that we have our player working, let's add the arrow (trajectory) to player, and add Strech sound. We'll add arrow as sprite2d node in player node. Note: Make sure to add offset in arrow so that pivot of arrow remains in center of player but the ...DiscussGodot 4
Sahaj Guptaitsahaj.hashnode.dev·Mar 12, 2024Setting up player (Bird)In this read I am setting up player character for my Angry bird type game in godot. This is a part of Angry bird made in Godot 4 series. For Player I have made a new Node of type RigidBody2D and added Sprite2D with texture as "player" from assets fol...DiscussGodot 4
Sahaj Guptaitsahaj.hashnode.dev·Mar 10, 2024Setting up basic level | Angry bird in Godot 4In level I am just adding Background and water so that when player falls in water a splash sound come. To set up water I have created a new Scene with root node as Area2D node. Under which I have added 2 children: Sprite2D and CollisionShape2Din Spri...DiscussGodot
Caleb Doiseblog.vortexbasis.com·Dec 20, 2023Godot: Control Mouse With GamepadI've made a quick example showing how to control the mouse with a gamepad in Godot. The left stick controls the mouse and a configurable button can trigger a mouse click. The right stick will scroll a user control if there is a ScrollContainer under ...Discuss·219 readsGodot Engine
Caleb Doiseblog.vortexbasis.com·Dec 16, 2023Godot Post-Processing Kuwahara FilterThe Kuwahara filter is a well-known filter for adding a bit of stylized painterly effects to your renders. The latest version of Blender even includes a Kuwahara filter in its compositor. I'll leave more detailed descriptions of the Kuwahara filter t...Discuss·136 readsGodot ShadersGodot
Caleb Doiseblog.vortexbasis.com·Dec 12, 2023Godot Post-Processing Outline ShaderChanges in depth and normal vectors can be used to draw outlines around objects in a rendered scene. I've posted an example of one such method here: GitHub Repo: https://github.com/Vortex-Basis-LLC/Godot-VBG-Samples-Shaders Specific Shader: https:/...Discuss·187 readsGodot ShadersGodot
Caleb Doiseblog.vortexbasis.com·Dec 8, 2023Godot Post-Processing Reference Grid ShaderI created a sample post-processing shader to illustrate some of the information that can be obtained within a post-processing shader in Godot. You can find the code here: GitHub Repo: https://github.com/Vortex-Basis-LLC/Godot-VBG-Samples-Shaders Sp...Discuss·76 readsGodot ShadersGodot
Joeri Dammejoeridamme.hashnode.dev·Dec 8, 2023Godot 4: Detect body collision before adding Node to scene in a 2D game (part 2).Introduction In my previous blog post, I explained how we can detect two overlapping objects before making it visible in the scene. I achieved this with an Area2D and a CollisionShape2D. However, this was not the ideal solution I was aiming for, as i...DiscussGodot
Joeri Dammejoeridamme.hashnode.dev·Dec 8, 2023Godot 4: Detect a collision before adding node in a 2D game (part 1).Introduction Over the past month, I've been immersing myself in the world of Godot 4, and it's truly an exceptional game engine. For quite some time, I've had an idea brewing for a 2D exploration game set in space. I'm currently engaged in procedural...DiscussGodot
Caleb Doiseblog.vortexbasis.com·Nov 27, 2023Sphere Trace Or Capsule Overlap In GodotIf you want to detect all overlapping bodies of a sphere moving along a line segment in Godot, you can use intersect_shape with a capsule oriented along the sphere's path. Here's an example function you can use to do this in GDScript: func get_overla...Discuss·1 like·95 readsGodot