Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change buttons area in menus to fit images #56

Open
Magalii opened this issue Feb 5, 2020 · 0 comments
Open

Change buttons area in menus to fit images #56

Magalii opened this issue Feb 5, 2020 · 0 comments
Labels
enhancement New feature or request general General issues good first issue Good for newcomers
Milestone

Comments

@Magalii
Copy link
Collaborator

Magalii commented Feb 5, 2020

The idea is that instead of clicking on a button that corresponds to the area of a text, we can click anywhere on the image corresponding to the world or the game we want to access.

In the main menu, one easy way to do that would be to change the Texture of the images for the different worlds in Images so we can add a listener to it. For the animation, we could create a transparent Actor that is the size if the Animation so we can add Listener to it.

For the menu in the world Chilly Beachy. We need remove the one unique image there is to add to distinct images. We can then add listeners to those images. The images are World1EcranMenuCadre1.png and World1EcranMenuCadre2.png in Android/assets/EcranMenu.

@Magalii Magalii added enhancement New feature or request general General issues good first issue Good for newcomers labels Feb 5, 2020
@FrancoisDuchene FrancoisDuchene added this to the v1.0-alpha milestone Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request general General issues good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants