Search found 421 matches

by sefrojones
Fri Oct 03, 2014 3:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Stop movement
Replies: 7
Views: 4577

Re: Stop movement

Craig, Apologies if "blocking" was not the proper terminology. I have to admit, I'm in a bit over my head here. As far as I've known you will need a "game loop" if you want to check for intersections(etc) during a move. I discovered, quite by accident while making this stack https://www.youtube.com/...
by sefrojones
Fri Oct 03, 2014 3:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Starting and stopping the move command
Replies: 6
Views: 4383

Re: Starting and stopping the move command

I think the answer here is "without waiting" on mouseUp put "go" move button"player" to the clickLoc in 3 seconds without waiting end mouseUp Hope that helps :D --Sefro Edit: just found this in the dictionary-- If you specify without messages, built-in messages are not delivered during the move. But...
by sefrojones
Fri Oct 03, 2014 2:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Stop movement
Replies: 7
Views: 4577

Re: Stop movement

Hi all, To make move non-blocking, you can use "without waiting". I think this example covers it: 1. create a new stack with 1 button named "player", 1 graphic named "barrier" and a checkbox named run. 2. Add this to the stack script: on gameloop if the hilited of btn "run" is true then if intersect...
by sefrojones
Tue Sep 30, 2014 3:59 pm
Forum: Games
Topic: LiveCode Game Jam
Replies: 33
Views: 30968

Re: LiveCode Game Jam

...and that such media is licensed explicitly for such reuse (GPL, Creative Commons, Public Domain, etc.). Of course you can also contact the creator of the original work to obtain a license to use it. Similarly, it may be best to avoid trademarked names unless you have explicit permission from the...
by sefrojones
Tue Sep 30, 2014 1:53 pm
Forum: Games
Topic: LiveCode Game Jam
Replies: 33
Views: 30968

Re: LiveCode Game Jam

Hi max! To be clear, ALL games created with LiveCode are welcome. As long as your game hasn't been released for download elsewhere, it will be eligible for the prize. :D Just remember if you use art/sound/assets that are not created by you, to give credit to the original artist/author, etc. --Sefro
by sefrojones
Tue Sep 30, 2014 5:12 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help with adding button
Replies: 5
Views: 3613

Re: Help with adding button

This may be overkill, but I came up with this function: function CopyToAll tObjType,tObjName,tCDname put"if there is not a"&&tObjType"e&tObjName"e&"of cd x then" &cr into tScript put "copy"&& tObjType"e&tObjName"e&&"of cd"&"e&tCDname"e&&"to cd x" & cr after tScript put "end i...
by sefrojones
Tue Sep 30, 2014 3:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help with adding button
Replies: 5
Views: 3613

Re: Help with adding button

Well, you could just make a new button, and add that script between the mouseup handler, also changing the names of the button/card to the ones in your stack. Once you press it it will automatically add the button to every card in your stack, then you can just delete the extra button once it has don...
by sefrojones
Tue Sep 30, 2014 3:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help with adding button
Replies: 5
Views: 3613

Re: Help with adding button

This should work for you:

Code: Select all

   repeat with x = 1 to the number of cards in this stack
      if there is not a button "MyButton" of cd x then
          copy btn "MyButton" of cd "CardWithButton" to cd x
            end if
   end repeat
Hope that helps,

--Sefro
by sefrojones
Mon Sep 29, 2014 4:52 pm
Forum: Games
Topic: LiveCode Game Jam
Replies: 33
Views: 30968

Re: LiveCode Game Jam

The event is getting close, and in the name of competition, (and community) I have decided to offer up a 1 year Commercial Indy License to the Highest ranking "original" game submitted. By "original", I mean a game that has not been released anywhere else(app store,google play, etc). Game clones (i....
by sefrojones
Fri Sep 26, 2014 6:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LiveCode - Scripting
Replies: 2
Views: 1958

Re: LiveCode - Scripting

Check out the dictionary in the IDE. :D

It's also online here: http://livecode.com/developers/api/6.0.2/command/put/

--Sefro

edit: I'll also recommend that you check out these stacks: http://www.hyperactivesw.com/revscriptc ... ences.html
by sefrojones
Fri Sep 26, 2014 5:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image not shown
Replies: 12
Views: 6037

Re: Image not shown

Are the imported images on the same card as the image area? If not you should try something like this:

Code: Select all

put img "aglianico" of cd MyImagesCard into img "imgFoto" of cd MyDisplayCard
You may also want to refer to the images by ID number instead of name...


--Sefro
by sefrojones
Thu Sep 25, 2014 4:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Newbie code help.
Replies: 2
Views: 1971

Re: Newbie code help.

I replaced "item" for "word" and it worked in LC 7.0 (RC2) :D

OR

Changing the itemdelimiter to space works also.


--Sefro
by sefrojones
Mon Sep 22, 2014 5:36 pm
Forum: Android Deployment
Topic: Having problems with getting photo in Android
Replies: 18
Views: 12704

Re: Having problems with getting photo in Android

Update: MobilePickPhoto appears to be working again as of LiveCode 7.0 (RC2) :D

--Sefro
by sefrojones
Sun Sep 21, 2014 6:12 am
Forum: Android Deployment
Topic: Running Hello World on Android 2.2
Replies: 2
Views: 2495

Re: Running Hello World on Android 2.2

Check under edit>preferences>mobile support and make sure LiveCode is pointing to the correct SDK and JDK folders.

--Sefro
by sefrojones
Sat Sep 20, 2014 5:10 pm
Forum: Linux
Topic: Externals causing app not to launch
Replies: 4
Views: 5299

Re: Externals causing app not to launch

Still marked as new, With this reply: We can confirm the bug you reported, present as far as LiveCode 6.0.0, and the issue occurs on Ubuntu 32-bit as well (being Ubuntu 12.04 or 14.04). Thank you for your report, we will keep you updated as the bug's status changes. Warm regards, Sebastien I'm not s...

Go to advanced search