Skip to main content

Posts

Simple yet powerful Shaders in GODOT

Watch the Video Tutorial https://youtu.be/j_fCGoaoRmg     Hit Flash Effect Shader This is a very simple shader and mostly used to make the player white indicating a hit or damage. shader_type canvas_item; uniform float quantity : hint_range(0.0, 1.0); void fragment(){ vec4 base = texture(TEXTURE, UV); vec4 new_color = vec4(1.0,1.0,1.0, base.a); COLOR = mix(base,new_color,quantity); }   Grayscale Shader                        GrayScale can be useful in many cases,  like if you    have a shop and some items are locked then You can turn them grayscale.  Or maybe   use it to turn the entire scene grayscale when the  player dies, similar to GTA V. shader_type canvas_item; uniform float quantity : hint_range(0.0, 1.0); void fragment(){ vec4 original = texture(TEXTURE, UV); float mean = (base.x + base.y + base.z) / 3.0; vec4 gray = vec4(mean, mean ,mean, original.a);...

Comic Style Dialog system in Godot

If you want to use this dialog system in your game then download the dialog_box.tscn file and dialog_box.gd and use it directly in your game. but if you want to create the same scene from scratch then, follow the video tutorial and download these font files which is used in this video. Video Tutorial:     How to use downloaded files First add the dialog_box.tscn and dialog_box.gd in your project. Then attach the dialog_box.tscn scene to the node you want to speak dialogs. In this scene I want my player to speak some dialog so, I have attach the dialog_box scene under it. Then you will find an exported variable "arr". you need to click on it and set its size. The size represent how many dialog your player will speak. for example: I have set size to 2, and then I have set two dialogs in it.  Then set the position of the dialog box according to your game and that's it !. you can just play the game and every thing will work fine.

Easiest way to create cutscene in Godot

Hello everyone! I know you have been waiting for this for a long time,  so here it is another Godot tutorial. 

How to make enemy patrolling on a custom path.

If you are creating a top down game then you will want to move your enemy in a certain path. patrolling is a very important aspect of any game and with Godot it is very easy to create. All you need is path2D node and pathfollow2D. In this video I have cover both straight line patrolling and circular path patrolling. here is the video tutorial-

How to create an object pickup system in Godot

Hey there I have shown you how you can make pick and drop system in Godot. It is very simple and there is no complex calculation going on and this will take your game development skill to next level. I have given complete logic about how it will work. I have shown you in top down game but you can make it in platformer or even in 3D the logic will remain the same. If you have question like how to make pick and drop system in Godot ? how to make pickup system in Godot ? how to pick any object in Godot ? then you will get answer to all of these questions.... here is the video tutorial-

Custom progress bar in godot

No matter what game you are creating you will need to make a progress bar. Progress bar are not just limited to health bars but can be use in many others ways like in showing data or to make a visual timer bar. Not only some basic progress bar but you can also make some custom progress bar in Godot by combining two different progress bar in one, like in this video i have combined linear progress bar and circular progress bar to create a new kind of progress bar. If you have questions like: How to make progress bar in Godot? How to make health bar in Godot ? What type of progress bar are available in Godot ? How to make custom progress bar in Godot ? all these question is answered in this video Here is the tutorial video - I hope this video will help you in your game.

How to share variable between scenes in Godot

  if you have questions like 1. how to share variable between scripts ? 2. how to transfer variable between one script to another ? 3. how to transfer variable over another scene ? then you are at right place. what ever game you create there is always a need to share or transfer variables between scripts. there are actually three very easy way to share variable between scripts. 1. by creating a global script 2. by sending variables with signals 3. by sending values using functions there may be other ways also to share data but these are more common and simple way to share variable. I hope this helps you in making your game. Here is the video tutorial-