Hello my dears fans,
Why?
This example of the "function" syntax drives me crazy.
https://www.appgamekit.com/documentation/language/29_function.htm
Why? Because I don't get the information about how to RETURN a value from a function. I have to look up some GUIDES, to discover, that I read at the wrong guied or I have to look up in the AppGameKit board for my answer.
One sentense more, or one example more and this could saved hours of newcomers or people who are working with some languages and need a single source of truth.
The second sentense could be about how to REF reference a variable. And also WHY? ... I can't REF a "normal" STRING, but only my own TYPES.
....
Okay, now to VirtualButton. I hate you VirtualButton and I love it.
It is CreateImage, CreateMemBlock, CreateSprite, CreateText, CreateEditBox ...
But it's AddVirtualButton ... so something would have to be created before, I guess.
I can SET the position of the VirtualButton with SetVirtualButtonPosition ... BUT! Where is my GETvirtualButtonX / Y?
There is VirtualButton ImageDown and ImageUp, but no ImageOver / ImageMouseOver
VirtualButtonSize and Text, but how do I change the SIZE of the TEXT on the BUTTON?
It is DeleteVirtualButton, but from what? There is CreateTweenChain ... AddTweenChain ... and DeleteTweenChain, ClearTweenChain ... so what is created with VirtualButton ...
Maybe there is a much better system to create a menu-system and the VirtualButton is only for a very rough prototype. But then, why I can set TEXT and change COLOR?
Thanx. Maybe you feel the same or you have some answers for me