My friend coded some social media buttons as a plugin for our new in development game.
He is having difficulty getting the social media buttons to align in the middle bottom of the screen.
Can you offer javascript coding ideas on ways to align the buttons to the middle of the screen?
He said "The usual formula Graphics.width / 2 - total buttons width doesn't work efficaciously."
and Center Sprite only works for a single image.
What he currently has in effect is "graphics width (816) 24 * number of social media buttons".
Are there any good solutions to such a problem?
Thank you friends.
He is having difficulty getting the social media buttons to align in the middle bottom of the screen.
Can you offer javascript coding ideas on ways to align the buttons to the middle of the screen?
He said "The usual formula Graphics.width / 2 - total buttons width doesn't work efficaciously."
and Center Sprite only works for a single image.
What he currently has in effect is "graphics width (816) 24 * number of social media buttons".
Are there any good solutions to such a problem?
Thank you friends.