Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

iOS and MacOS / I want to add a message box for fruit warrior. who can give me a hand?

Author
Message
halley
12
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 9th Apr 2012 11:24
I want to add a message box with two buttons, one is "Yes", another is "No". The question in the message box is that " Are you sure to reset the data?" and there is a Chinese version. I still want to know how to rotate the message box ,because AppGameKit game is 90 degree compare to common iOS program.

Who can give me some sample code?

The Miracrea Games
anwserman
12
Years of Service
User Offline
Joined: 20th May 2011
Location: Wisconsin
Posted: 10th Apr 2012 11:30 Edited at: 10th Apr 2012 11:31
The rotation you'll have to do on your own, but the easiest way to do a message box would be to throw it in it's own Subroutine, with it's own Sync.

This is all pseudocode.



I actually do a lot of code like this in my own programs. It's more modular, and you have a lot less if/else branches to worry about.

Hi there. My name is Dug. I have just met you, and I love you.
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 10th Apr 2012 17:44 Edited at: 10th Apr 2012 17:44
halley
12
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 11th Apr 2012 10:54
The direction is wrong.

The Miracrea Games
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 11th Apr 2012 12:39
Seems to be a problem with AppGameKit then not setting the direction the proper way.

Login to post a reply

Server time is: 2024-04-20 06:27:24
Your offset time is: 2024-04-20 06:27:24