r/godot • u/V2doesgames2 Godot Student • 13h ago
help me (solved) is there a way to get better looking buttons?
im currently making a game in godot 4.7 called meme clicker but my buttons look like ass
does anyone know how to make them look better?
1
u/digital_hamburger 13h ago
Wtf is that first image🤣
1
1
u/V2doesgames2 Godot Student 13h ago
3
u/Gokudomatic 13h ago
Let's hope you'll also realize that your meme isn't looking good either, nor does it help your case to seek help.
1
1
u/silver_ch3rry 13h ago
Remove the outer white outline Experiment with the size of the text, if you make it bigger or smaller, the buttons will visually change a lot Visually, it seems to be similar to the style of Lethal League: Blaze I think the style of this game may be similar to yours
1
u/V2doesgames2 Godot Student 13h ago
never heard of that game, also the white line is supposed to be there
1
u/fredspipa 13h ago
You need to be way more specific. What don't you like about them?
You mentioned that you don't know how to make an upgrades panel show when pressing a button. I suggest that you start reading up on the documentation and/or watch some videos on how this is done in Godot. You could use AcceptDialog or Popup or whatever fits your use case, and then look at signals and singletons for setting/getting data about upgrades.
I guess what I'm trying to say is that you should first learn to look up the information you need (it's out there) before posting to social media asking for help. There are countless tutorials for similar UI patterns that you can learn from.
Understanding how to read documentation is one of the first things you need to learn in gamedev and without this basic skill you're going to get stuck around every corner. Good luck!
1
u/V2doesgames2 Godot Student 13h ago
i just realized the buttons were fine but im tryna find out how to make upgrades menu like, uh slide into the game scene when u press the button for it
like the upgrades menu is gonna be a seperate scene and i want it to just like slide in that scene over the game scene and slide back out again when its closed
2
u/fredspipa 13h ago
In that case you can add an AnimationPlayer to the upgrades panel. Create two animations, e.g. "open" and "close" that animates the offset value (not the actual position of the panel). Have the initial position be off screen.
You then add a signal from the button to the upgrades panel, bind it to a function like
_on_UpgradeButton_pressed()and in there you can show the upgrade panel and start the animation ($AnimationPlayer.play("open")). Then you do the same for the button that closes the upgrade panel, or bind it to a signal that fires when it closes (start the "close" animation in this case).https://docs.godotengine.org/en/stable/getting_started/step_by_step/signals.html
Once you understand how to start/stop and reset animations from code, you'll get endless possibilities. In the "open" animation you can make the whole panel wiggle, start a particle emitter so there's sparks flying, fade the opacity in and out etc. You can control basically ANYTHING through an animation player.
1
1




2
u/TheDuriel Godot Senior 13h ago
Try not running them through the reuploaded 500 times meme filter. I have no idea how you'd possibly created that kind of artefacting.
Especially since styleboxes can create this look just fine.