Thank you so much!bn wrote:Hi Davey,
what the user chose in an answer dialog is in "it"
Kind regardsCode: Select all
// 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
Bernd
Search found 15 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: 3017
Re: Answer with "No" or "Yes" ... quit on Yes
- 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: 3017
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 basicall...
- Mon Jun 21, 2010 8:26 pm
- Forum: Off-Topic
- Topic: Will RunRev be Allowed for iPhone/iPad?
- Replies: 72
- Views: 49900
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 advert...
- Wed May 19, 2010 1:07 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Newbie question. Simultaneous action and facing?
- Replies: 1
- Views: 2347
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 is "rig...
- Fri Sep 12, 2008 3:40 pm
- Forum: Games
- Topic: Suitable for platform game?
- Replies: 15
- Views: 95975
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: 7001
Wow, Mark. I will look through this later today and really appreciate the help. That's exactly right. Do you think I have to use AE for the collision testing or can I simply use the intersection function to detect when two object begin to overlap? I don't need a great deal of accuracy ... or since A...
- Thu Jan 17, 2008 4:28 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Making something continually happen ... a repeat?
- Replies: 5
- Views: 7001
Hi DaveyJJ, Whether this is the right approach depends on whether you want to be able to do other things while the object is moving. What exactly is the "condition"? Mark Moving a character ala Kyntt Stories. When it bumps into something (I assume I'll have to use AE for this) it stops. "Wall", "fl...
- Wed Jan 16, 2008 9:49 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Making something continually happen ... a repeat?
- Replies: 5
- Views: 7001
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 3:03 pm
- Forum: Animation Engine
- Topic: Gravity yet? For platformer ...
- Replies: 11
- Views: 13738
Thanks Lynn, I know that I could probably fake it relatively (pardon the pun) easily. Simply move an object down say, 12 pixels, every second unless it was in collision with another object (the later object representing the floor). Jumping could be done simply as well ... just change the "gravity" v...
- Tue Jan 15, 2008 12:44 pm
- Forum: Games
- Topic: Suitable for platform game?
- Replies: 15
- Views: 95975
In a 2D (say side-scrolling) computer game, gravity is always pulling the character or object down to the bottom of the frame with a constant force. Last time I checked AE lacked this, although I suppose I could fake it thus ... if object isn't colliding with objectB (a floor say) each second pull t...
- Tue Jan 15, 2008 4:46 am
- Forum: Animation Engine
- Topic: Gravity yet? For platformer ...
- Replies: 11
- Views: 13738
Gravity yet? For platformer ...
I want to create a simple platformer like Knytt Stories ... http://nifflas.ni2.se/index.php?main=02Knytt_Stories .
Does AE have gravity yet?
Does AE have gravity yet?
- Tue Jan 15, 2008 4:43 am
- Forum: Games
- Topic: Suitable for platform game?
- Replies: 15
- Views: 95975
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?
- Wed Aug 29, 2007 1:31 am
- Forum: Animation Engine
- Topic: Billiards, marbles, curling, crokinole with AE?
- Replies: 4
- Views: 8466
- Tue Aug 28, 2007 10:15 pm
- Forum: Animation Engine
- Topic: Billiards, marbles, curling, crokinole with AE?
- Replies: 4
- Views: 8466
Possible. How easily though? Arcade Engine seems to be the right fit ... I've seen demoes of it with lots of marble-like stones banging around. But what about the specific idea I have ... pardon my horrific attempts at code here var force = pulldistance on MouseDown get centre of obejct determine w...
- Tue Aug 28, 2007 11:59 am
- Forum: Animation Engine
- Topic: Billiards, marbles, curling, crokinole with AE?
- Replies: 4
- Views: 8466
Billiards, marbles, curling, crokinole with AE?
I'm thinking after many years of lurking with Revolution of diving into it and AE assuming that I can (somewhat easily) squeeze the app and AE to do what I'd like. As the post title says, I'm looking to AE to help power 2D games similar in play and physics to classic ones like billiards, marbles, cr...