I just posted a new
Google List issue.
I'll repeat it here.
The primary complaint for
issue #583 was fixed, not being able to move the input cursor.
However, as part of fixing the issue, two new ones have popped up in v10816 that appears to be specific to Tier 1.
1. Capitalization is broken. In order to get a capital letter, it is necessary to hold down the shift key while touching the desired letter.
2. The first use of an EditBox (in a Player) has a random error with how the input is processed. Most of the time, the first time the Edit Box is touched and starts accepting input, the cursor gets stuck on the left and the letters appear to the right of the curser, inserting at the beginning instead of the end. At some random point, the cursor starts moving and the letters entered appear to the left as they should.
Either issue is bad by itself. Together they make v10816 quite unacceptable for producing an iOS app.
// set color and sync rate
SetClearColor(0,0,153)
SetSyncRate(60.0,0)
// set a default resolution
SetVirtualResolution(640,960)
// create the things needed for the test
// make the edit box
i_input = CreateEditBox()
SetEditBoxPasswordMode(i_input,0)
SetEditBoxPosition(i_input,20.0,10.0)
SetEditBoxSize(i_input,600.0,45.0)
SetEditBoxTextSize(i_input,45.0)
SetEditBoxCursorColor(i_input,0,204,51)
SetEditBoxCursorWidth(i_input,4.0)
SetEditBoxBorderColor(i_input,255,0,0,200)
SetEditBoxBorderSize(i_input,5.0)
SetEditBoxTextColor(i_input,102,0,204)
// make a prompt
i_prmpt = CreateText("")
SetTextSize(i_prmpt,28.0)
SetTextMaxWidth(i_prmpt,600.0)
SetTextPosition(i_prmpt,20.0,110.0)
SetTextColor(i_prmpt,255,255,0,255)
SetTextString(i_prmpt,"->Touch/click in edit box."+chr(10)+"->Enter some text."+chr(10)+"->Notice that the input cursor stays on the left and the typed characters go in in reverse order until some random number of characters has been entered"+chr(10)+""+chr(10)+"This only happens when the app is started up"+chr(10)+""+chr(10)+"Touch/click anywhere outside of box to close")
// make a display of current value
i_check = CreateText("")
SetTextSize(i_check,28.0)
SetTextMaxWidth(i_check,600.0)
SetTextPosition(i_check,20.0,80.0)
SetTextColor(i_check,255,0,255,255)
SetTextString(i_check,"Edit Box:")
curr_val$ = ""
do
// if pointer pressed, we are done
if (GetPointerPressed()) then exit;
// check for change
if (GetEditBoxChanged(i_input))
// get the current value
curr_val$ = "Edit Box: " + GetEditBoxText(i_input)
// set the value
SetTextString(i_check,curr_val$)
endif
// sync display
Sync()
loop
end
Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master