Probably it?s a noob question, but I need some help. I?d like to make a warning system like bellow
If a variable <= a value
create a dialog box (a sprite with a message)
press in a button in a dialog box
the dialog box dissapear
Can help me guys ?
If you have a sprite and hide it or set in visible, then you can either set its x and y position.
Or simply use the system.CreateObject event. And spawn one :)
Oh also there is actually a third party plugin to create dialog boxes. Found here: scirra.com/forum/plugin-dialog-box_topic46991.html
but if you use third party plugins you cannot upload to the scirra arcade.
Thanx for the tip !!!
Helps me a lot !
Or you use the BROWSER Object and just create an Alert
Can you give a tipo for it ?
Add the browser object, Then with your compare event, add a action. Browser.alert. Simple's <img src="smileys/smiley1.gif" border="0" align="middle" />
The plugin allows for more custom things to be done. Like adding input, Or if user pressed ok in comparison to cancel.
Develop games in your browser. Powerful, performant & highly capable.
Thx again guys !!!