You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

3h 55m 36s logged

Making a 2D based semi idle game. Like any generic game in the genre, it starts with a button, so I just made that so far. Each button has an icon that can display pixel art, and a textbox for text.

The original plan was to have a border that could grow/shrink independently of the main body of the button, however it was hard to create a general button function I could use for various purposes, as it didn’t scale properly to ensure a constant padding throughout.

Settled on this type of button, that expands slightly when hovering over it so you can more visibly see the purple background. Might have to make other types in the future, but it should be fine for now.

  • Button uses lerp function to smoothly expand the background sprite through time.

Images show the button normally, and the button when hovering over it with the cursor. Also made some title screen art that will definitely be changed.

0
87

Comments 1

@idi0cy

just clarifying, i had no clue you could only attach one image here, but the hovered button is just the purple outlining it further in higher saturation.