Game alerts

Discussion in 'iOS Programming' started by schenker, Jul 17, 2011.

  1. macrumors newbie

    Jul 14, 2011
    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


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


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

    Jul 14, 2011
    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

    Jul 14, 2011
    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