is it normal for the CreateEditBox() command to create a full-screen edit box while in landscape mode? even when repositioning it offscreen it's still filling up my entire screen
im trying to do the whole "keep the edit box invisible while i enter text with the keyboard" thing. I actually have a full-screen sprite in the scene which I am trying to overlay a text object onto, which holds the data in the editbox object.
to my eye, this looks like it should work:
edit = CreateEditBox()
SetEditBoxMaxChars(edit, 20)
SetEditBoxText(edit, "")
SetEditBoxPosition(edit,0,-200)
SetEditBoxBorderSize(edit,0)
SetEditBoxFocus(edit, 1)
Here's a screenshot of what it looks like -
http://i.imgur.com/ui4084d.png - see how it's all fullscreen despite me having moved the edit box offscreen?
the edit box only goes fullscreen once I execute the line SetEditBoxFocus(edit, 1) and it is unaffected by the depth settings
I'm using this same code in my other game, which is a portrait application, and it works fine. The editbox is invisible.
I work full-time making games in AGK2 and DBpro. Living the dream!