Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-22-2010, 04:03 AM   #2 (permalink)
mobileben
Registered Member
 
mobileben's Avatar
 
Join Date: Jul 2009
Location: Zgrunturos
Posts: 161
mobileben is on a distinguished road
Default

Quote:
Originally Posted by Jompe71 View Post
I'm working on a game where there is a user interface at the bottom of the landscape screen.
Most parts of the vital info is displayed there, but from time to time user input is required.
At that time i show the build in virtual keyboard and "of course" this covers the interface.
The game is pretty much relying on that you see what you type and the typing is rendered real time in the now covered interface...
So what's the bet option in this case ?

a) render the user input above the keyboard temporary while typing and then when keyboard is closed render it in the interface.
b) Skip the rendering in the interface (regarding the user input) since it serves no use. ONLY render the user input at runtime.
c) Try to get the virtual keyboard to show at TOP of screen instead of at bottom if possible.
d) Just assume that a typo error will be reviled by the game engine and shown in clear text WHEN the keyboard is closed.

Q2: How to use the hardware keyboard for input to the simulator. Clicking the virtual kb drives me nuts! ... sorry MORE nuts than regular.

// Jompe71
It would help to know a little bit of what you are covering. We had a similar situation in a couple of games. In the first case, we created our own "text box" and printed the characters based on what the user typed. This kept the text box looking uniform to the product. We deliberately designed the interface so the important info would be on the upper part of the screen, so there would be no conflict with the keyboard.

In the second app, we used a UIKit textbox. But same strategy. The text we needed to fill in was at the top of the screen. If you cannot do this, I'd recommend doing something like this.

When the keyboard pops up, display a textbox or your own graphics for a textbox. You can do something like draw an alpha rect to darken the interface behind everything ... that way to the user, the screen behind it looks "unselected/disabled". We actually do this for the first case I listed, and it works well.
__________________
Have a Poketastic time with QuitIt!
Arcade Basketball at it's best! Hoops Madness!
VS action on the iPad with Hoops Madness VS!
Sweet trailer here!
mobileben is offline   Reply With Quote
 

» Advertisements
» Online Users: 568
14 members and 554 guests
AdamL, ArthurOff, BrianSlick, dinoclaud, gdogdev, givensur, logan, mraalex, pill5b3rry, ryantcb, seecoolguy, speed4mee, stanny, waterkamp
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,548
Threads: 94,073
Posts: 402,703
Top Poster: BrianSlick (7,990)
Welcome to our newest member, mrtdmb
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:53 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.