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.

AppGameKit Studio Chat / MessageBox Function in AGK

Years of Service
User Offline
Joined: 29th Aug 2017
Posted: 13th Jan 2020 00:05
Hi Guys
Search but couldn't find anything
Is there a response Message Box function in AGK.

return = messagebox("This is a Message","No","Yes")
if return = "No"
// do no
elseif Return = "Yes"
// do Yes

return = messagebox("this is a message",Continue", "Cancel")
if return = 0
// do no
elseif Return = 1
// do Yes

Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Retired Moderator
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 13th Jan 2020 01:11
no message box as such but there is
which does work across all platforms
MerryChristmas Everyone
fubarpk on Itch...………...
fubarpk on googleplay..
Years of Service
User Offline
Joined: 12th Sep 2016
Posted: 13th Jan 2020 08:08
Kevin Cross' OryUI might be an option?

i'm planning to use it myself in my own project.
I played a bit with it and looks great, very complete.

Years of Service
User Offline
Joined: 9th Jan 2018
Posted: 21st Jan 2020 20:09
It depends on what you want to accomplish. You can send Push Notifications on Android, which end up in your smartphone a similar way something like WhatsApp would notify you of the latest message you've received. I'm not sure how successful this works if you want an app to run in the background and actually do stuff. For example, you've made a Tamagotchi style app and the push notification tells you it is hungry, so you need to open the app etc.

Honestly, there are some fun applications for this...
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 18th Feb 2020 12:55
Message( "Hello World" )

Have you tried that?
Kevin Cross
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 18th Feb 2020 15:28
@Raven, the OP wants a dialog/message box that allows for multiple buttons/responses. MessageBox just has the one 'Ok' button.

OryUI does have a dialog system, and you may be able to get away with using just a couple of the framework include files if a dialog with options is all that you want. Or if anything you could probably look at how it was done and just create a mini simpler version for your own projects.
OryUI - A WIP AGK2 UI Framework

Login to post a reply

Server time is: 2020-09-24 21:54:25
Your offset time is: 2020-09-24 21:54:25