Yeah, except it doesn't allow you to change the Font or more importantly Font size. We seem to need like a SetVirtualButtonFont and SetVirtualButtonFontSize for AppGameKit, which as far as I know do not exist as commands (yet?).
Especially Font Size is important. My Android phone has such a high screen resolution that any of the default text is like 4mm in actual height. I could also be wrong, but it seems the default text size also is very small, not taking into account any text scaling done by Android itself (assumption on my part, might not actually affect default text in AGK).
I would love the custom sprite button stuff to work by using something simple as GetSpriteHit at GetPointerX and GetPointerY location on the screen, BUT there seems to be a bit of an issue using that work around when you are using sprite user interface overlays that cover large parts of where a button should be. For example, lets assume there's a 'menu bar' for an Android app on top, with a transparent bottom area where the actual app runs / functions.
If you're going to use the GetSpriteHit stuff, you're going to get the ID returned from the sprite overlay (which has a bounding box across the entire screen), but not the images underneath which would be our custom buttons. Of course, I can crop the image so the bounding box is smaller, but it is kind of bad when you want a sprite that is on top of everything, even buttons when you scroll the screen using GetViewOffset commands.
So unless we can use other AppGameKit commands like maybe SpriteRayCast in some way and define which sprites on top to ignore, we would kind of need some additional commands to the SetVirtualButton commands. Don't get me wrong, I can add a text to the ButtonImageDown and ButtonImageUp using Photoshop, but changing text would be a huge time saver and wouldn't require loading in as many images, could re-use the same button backgrounds etc.
Anyone have some thoughts?? (By the way, wasn't there once this 'priority' feature that allowed you to scan for sprites underneath other sprites?)
(Also, yes, first post here. Thought I'd get back into game development again and came across AppGameKit 2 on Steam. Loving it so far!)