Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Mati256 on Mon 12/09/2022 20:50:39

Title: Adding a fifth button to the verbcoin template.
Post by: Mati256 on Mon 12/09/2022 20:50:39
Hello. Is there a way to add a fifth button to the custom template? Looks like it uses cardinal points to set the icon positions, so maybe four is the limit?

Thanks!
Title: Re: Adding a fifth button to the verbcoin template.
Post by: morganw on Mon 12/09/2022 21:52:19
It is hard-coded for north/east/sout/west so the limit is 4 and the button positioning isn't dynamic.

If someone wanted to replace how it works with some kind of splayed layout algorithm, that would probably be good, although part of the idea for the rewritten versions was to try and keep things fairly simple with a long term view to try and split the behaviour into modular components.
Title: Re: Adding a fifth button to the verbcoin template.
Post by: Mati256 on Tue 13/09/2022 03:10:12
I see. Thanks!