PDA

View Full Version : Game alerts




schenker
Jul 17, 2011, 09:59 AM
Hi, To display alerts such as "Game objectives" "Game Over", "Replay" etc, what will be the best way to do it? Im against using uialerts as it is not graphically in theme with my game. I've seen many games display their own customized alerts, but im not sure how its done. Some help will be really useful to me. Thanks!



robbieduncan
Jul 17, 2011, 10:02 AM
They probably present a view controller modally. The UI is up to you (obviously).

jnoxx
Jul 18, 2011, 02:48 AM
Add a subview sometimes for real short ones, like, Get Ready, etc.

schenker
Jul 18, 2011, 03:21 AM
Add a subview sometimes for real short ones, like, Get Ready, etc.

I tried doing it with uiimageview. It works well, but the problem is, the buttons underneath the "Get ready" can be clicked. How do i make sure that nothing underneath the 'get ready' note works until the player taps to begin. Thanks.

schenker
Jul 18, 2011, 05:24 AM
Thanks for all your replies. I managed to solve the problem. Here's what i did:

- Created a uiview by code
- Placed an uiimage on top of it


Add a subview sometimes for real short ones, like, Get Ready, etc.