Skip to main content

Posts

Showing posts with the label user input

How to Make Soft UI buttons In Godot under 5 min | Neumorphism

Complete Video Tutorial:    Text Version: To create a neomorphic design, the color of the button must be the same as the background. Then we add a shadow of slightly darker color in the bottom right direction. And a shadow of slightly lighter color in the top left direction. And when we press the button, we are going to switch the shadow colors. That means the lighter color comes down and the darker one goes up. Now, since we can only set the shadow in one direction. So, add one more button under it, and set its layout to full rect. Now, I will use the button in the behind to show the lighter shadow and Button on the front to show the darker shadow. Now select the first button. And inside it, first set the button color to transparent. Because we are only going to use this button for shadow. Now to make edges smooth, I will set the corner radius to 5 in all directions. Then coming to shadows, first we are going to set the shadows color to white. Now, size determines the blur am...

Create a custom text field for user input in Godot

  Hello there, Your wait is over !! I am again here with another Godot Tutorial- Custom text field in Godot. text fields are required in almost every game whether you want to take players name or to get any kind of text from the user. Text Fields are created with the help of 'Line edit' node in Godot, but by default the text field looks awful so, I have shown you how you can customize easily using some images and some basic code. I have also shown you how to implement text field in to your game. I hope you will learn something new from this video. Here is the video tutorial-