0 votes

I was thinking about reusing some of the button assets for other things and was wondering if anyone knew where the png of the buttons were?

in Engine by (20 points)

1 Answer

+1 vote
Best answer

Dunno what you are looking for exactly.
But all of the icons in the editor can be found here on GitHub in SVG format and here in PNG format..
These SVG files can be used directly as a Texture inside Godot.

EDIT: To make the a Button's Normal texture look like the default Hover texture (with exact quality):

Under Custom Styles > Normal of the Button, create a StyleBoxTexture:

  1. Set the Texture to button_hover.png
  2. Set all four Margin to 4
  3. Set all four Expand Margin to 2

This will create a 9-patch texture which only scales the center of the texture while keeping the corners and the sides. Thus keeping it from looking blurred.

by (4,157 points)
selected by

Ah sorry, what I meant was the art assets like button hover and button normal, I tried using the one found under resources in the github page but the quality is quite bad. Basically what I wanted to do was to set the normal texture of the button so that it is using the same texture as when it is being hovered.

I just updated my answer which will help you improve the texture's quality.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.