Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

TUTORIAL - Making a game on a mac with applescript part 1

Loading...

Sign in or sign up now!
13,419
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 16, 2008

I'm quite new to Applescript but I'm getting the hang of the simple stuff. Hope everyone finds this tutorial helpful! It's a 2-parter and heres the second half:

http://www.youtube.com/watch?v=xKAHH1Pw2Uw

P.S. Damn, forgot about the "giving up after 3" line :( Well, I'll try and explain it in text: All it means is that the window will close after 3 seconds, simple eh?

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (assassin3004)

  • This is why I hate programming, I've typed exactly what you have for the very first line of code and I'm getting this "Expected “,” but found identifier."

  • @Krondelo Could you reply to this comment with your first line of code and I'll try and let you know what's going on :)

Top Comments

  • why is it so bright?

  • you sound like applescriptman but your still good

see all

All Comments (58)

Sign In or Sign Up now to post a comment!
  • if answer_1 contains "" then display dialog""

    my bad no (and)

  • usually in an text adventure game if you misspell something or accidently press enter the system replies what? or you cant do that. how do i get that to work?

    ps all yall beneath me your problem is the command is actually

    set answer_1 to text returned of (display dialog "your words here"default answer "Whatever"

    if and answer_1 contains "gibberish" then display dialog "blah blah blah"

    DONT WRIGHT IN CAPS FOR ANSWERS the system wont under stand the text. must be lc

  • dude ur sense of humour sucks!!

  • If you could repost this video with the brightness turned down a bit, it would be great.

  • i can't see what u'r typing, and it's imperative that you get every spelling and word correct, and i can't always hear what u'r saying, write the code in the description as well!

  • How do I make it so when I do choose from list, where it recognizes and does something for each choice?

  • @assassin3004 I guess I'm just an idiot lol. I had spelled it Dialogue. I'm surpised such a mistake went unnoticed. Thanks for your help anyway.

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more