Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Editbox Transparency

Author
Message
aviles22
10
Years of Service
User Offline
Joined: 1st Dec 2013
Location: New Jersey, USA
Posted: 8th Oct 2014 04:11
Is it possible to make an AppGameKit EditBox transparent to the sprite image
under it?

I set: SetEditBoxBackgroundColor(Server_inp, Color1, Color2, Color3, 0)

and also tried: SetEditBoxBackgroundImage to a transparent image.

None of these makes the EditBox transparent to the background image under it.
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 8th Oct 2014 04:21 Edited at: 8th Oct 2014 04:23
Maybe there is a simpler solution than mine, I dunno

Create a off-screen editbox.
Create an own editbox fake.
By pressing on your editbox, the textinput of the off-screen editbox opens.
All text will be displayed in your own editbox with transparency.

This workaround should, as far as I know, work,
correct me if I am wrong.


[/url]
Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 8th Oct 2014 06:10
http://forum.thegamecreators.com/?m=forum_view&t=209538&b=41
That's a custom keyboard and editbox API I set up because we were having too many reports of issues with Android keyboards. This works 100% on sprites and supports hardware keyboard input. You could extend this to use anything you want for the editbox.

Login to post a reply

Server time is: 2024-11-25 10:58:04
Your offset time is: 2024-11-25 10:58:04