Game alerts

Discussion in 'iPhone/iPad Programming' started by schenker, Jul 17, 2011.

  1. macrumors newbie

    Joined:
    Jul 14, 2011
    #1
    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!
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    They probably present a view controller modally. The UI is up to you (obviously).
     
  3. macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #3
    Add a subview sometimes for real short ones, like, Get Ready, etc.
     
  4. thread starter macrumors newbie

    Joined:
    Jul 14, 2011
    #4
    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.
     
  5. thread starter macrumors newbie

    Joined:
    Jul 14, 2011
    #5
    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


     

Share This Page