View Full Version : Name Input Window

February 28th, 2012, 6:02 AM
I've got most of the changes sorted for my new name input window but theres a couple of things i can't work out.

1. How do i move the Your Name? and the input boxes further to the right?
2. How do i move the lettertab1/2/3 images further to the right?
3. How do i move the red cursor icon to the left, so that it lines up with the letters which are to the left more

February 28th, 2012, 7:10 AM
1. The "Your Name?" is the position of @helptext in pbDoUpdateOverlay. By "input boxes" I assume you mean the name being entered (along with the underlines) - the name is the for ch in chars bit just below, and the underlines are @sprites["blank#{i}"] in pbStartScene (x coordinates) and pbUpdate (y coordinates). The actual shape of each underline is defined by the two @bitmaps[6].fill_rect lines.

2. The tabs are the two sprites @sprites["toptab"] and @sprites["bottomtab"]. See pbStartScene.

3. The cursor positions are in updateCursorPos (no, really!).

February 28th, 2012, 1:51 PM
Thanks, there was actually two updateCursorPos there and i was looking at the wrong one