zac-garby / solar-system

A strategy/simulation game.
MIT License
33 stars 17 forks source link

Add hover effect to play button #53

Closed hanneskaeufler closed 7 years ago

hanneskaeufler commented 7 years ago

Trying to get into sfml by applying a slight hover effect to the play button in the start menu. This also removes the hardcoded <= 130 which at least on my machine was a bit off. Now the hover/click only fire when the mouse is actually inside the button.

solar-system-play-button-hover

hanneskaeufler commented 7 years ago

Regarding the compilation errors: Yeah, looking at https://packages.ubuntu.com/trusty/libsfml-dev it seems trusty comes with sfml-dev 2.1. I don't know what we require, but it a bit behind the most recent release which is 2.4 (I run 2.4.2 locally).

zac-garby commented 7 years ago

I'll have a look at changing to a different distro which supports 2.4