Hi Davey,
what the user chose in an answer dialog is in "it"
// user clicks the quit button
on mouseUp
answer "Really quit" with "No" or "Yes" as sheet
// clicking "Yes" causes the app to quit
if it is "yes" then quit
end mouseUp
Kind regards
Bernd
Thank you so much!
Search found 10 matches
- Sat Apr 20, 2013 12:58 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Answer with "No" or "Yes" ... quit on Yes
- Replies: 2
- Views: 5088
- Sat Apr 20, 2013 12:44 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Answer with "No" or "Yes" ... quit on Yes
- Replies: 2
- Views: 5088
Answer with "No" or "Yes" ... quit on Yes
My 11 year old and I can not figure out how to quit the app when a user clicks the "Yes" button in our answer sheet.
// user clicks the quit button
on mouseUp
answer "Really quit" with "No" or Yes" as sheet
// clicking "Yes" causes the app to quit
// if "yes"
// then quit
end mouseUp
That's ...
// user clicks the quit button
on mouseUp
answer "Really quit" with "No" or Yes" as sheet
// clicking "Yes" causes the app to quit
// if "yes"
// then quit
end mouseUp
That's ...
- Mon Jun 21, 2010 8:26 pm
- Forum: Off-Topic
- Topic: Will RunRev be Allowed for iPhone/iPad?
- Replies: 72
- Views: 93366
Re: Will RunRev be Allowed for iPhone/iPad?
@InfoCentral ... Unity apps have continued to be approved by Apple for the App Store since even the original announcement. Given that several of the current and former top ten games have been made with Unity, and that studios like EA use the engine, it's a good bet Unity apps, if they work as ...
- Wed May 19, 2010 1:07 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Newbie question. Simultaneous action and facing?
- Replies: 1
- Views: 3783
Newbie question. Simultaneous action and facing?
Two quick questions.
on arrowKey theKey
// move player image
if theKey is "up" then move image "player" relative 0,-50 in 0.5 seconds
if theKey is "down" then move image "player" relative 0,50 in 0.5 seconds
if theKey is "left" then move image "player" relative -50,0 in 0.5 seconds
if theKey ...
on arrowKey theKey
// move player image
if theKey is "up" then move image "player" relative 0,-50 in 0.5 seconds
if theKey is "down" then move image "player" relative 0,50 in 0.5 seconds
if theKey is "left" then move image "player" relative -50,0 in 0.5 seconds
if theKey ...
- Fri Sep 12, 2008 3:40 pm
- Forum: Games
- Topic: Suitable for platform game?
- Replies: 15
- Views: 242196
I've done platform games in both hypercard and revolution, the only problem with both is trying to get smooth scrolling implemented, as in the player will always be at the center of the screen. It hitches too much to have this work for me. The way I worked around this was scrolling a large portion ...
- Thu Jan 17, 2008 4:43 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Making something continually happen ... a repeat?
- Replies: 5
- Views: 10573
- Thu Jan 17, 2008 4:28 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Making something continually happen ... a repeat?
- Replies: 5
- Views: 10573
- Wed Jan 16, 2008 9:49 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Making something continually happen ... a repeat?
- Replies: 5
- Views: 10573
Making something continually happen ... a repeat?
I want an object to continually move until another condition exists.
repeat
move me relative 0,-50 in 1 second
wait 2 seconds
end repeat
Is that something like the right thing?
repeat
move me relative 0,-50 in 1 second
wait 2 seconds
end repeat
Is that something like the right thing?
- Tue Jan 15, 2008 12:44 pm
- Forum: Games
- Topic: Suitable for platform game?
- Replies: 15
- Views: 242196
- Tue Jan 15, 2008 4:43 am
- Forum: Games
- Topic: Suitable for platform game?
- Replies: 15
- Views: 242196
Suitable for platform game?
Is RunRev Studio suitable for a simple platform game like Knytt Stories? Can it handle gravity and platforms? Nothing like Mario ... simpler like http://nifflas.ni2.se/index.php?main=02Knytt_Stories ? Thoughts?