Search found 14 matches
- Mon Mar 08, 2010 10:45 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: intersect function
- Replies: 1
- Views: 1964
intersect function
Hi Forum, I was using the "intersect(object1, object2)" function where one object was a circle (oval) and the other rectangle. I have noticed that it flags intersection when the rectangle corner is not in the circle but in the square which bounds the circle. It seems that the only way out is to use ...
- Mon Mar 08, 2010 10:39 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Jumping out & back within a time loop
- Replies: 4
- Views: 4982
Re: Jumping out & back within a time loop
Hi BvG,
Very many thanks. I have realised that having a long loop is not a good idea and that it would be much better to have it in chunks/objects that could run independently and communicate between themselves by sewnding messages. This requires the change of mindset!
Kind regards,
Vladimir
Very many thanks. I have realised that having a long loop is not a good idea and that it would be much better to have it in chunks/objects that could run independently and communicate between themselves by sewnding messages. This requires the change of mindset!
Kind regards,
Vladimir
- Wed Feb 17, 2010 10:55 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Jumping out & back within a time loop
- Replies: 4
- Views: 4982
Re: Jumping out & back within a time loop
Hello BvG, I have abandoned hope for a reply, hence late post-response. First, many thanks! You were right about my confusion and you ewill see why. I would like to have several objects doing various things at different times but running at the same time. To do that I have seen in one of the excampl...
- Sat Feb 06, 2010 9:03 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Jumping out & back within a time loop
- Replies: 4
- Views: 4982
Jumping out & back within a time loop
Hi Forum, I have a problem of how to jump back into the part of a time loop, for example: ... if time > time2 then if b2 = 0 then put 1 into b2 ... send "testInter" ... end if end if This is once only test (only for b2=0), where the command "testInter" is executed, and I would like to come back just...
- Wed Feb 03, 2010 10:51 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Rotating a graphic around a pivot
- Replies: 0
- Views: 2461
Rotating a graphic around a pivot
Hi All, I can rotate the polygon around any pivot by coordinate transformation, however I need to rotate a graphic (an ellipse) around a preset point within the ellipse (say between the focus and the centre). I have tried RevRotatePoly the name of graphic "ABC", angle but that did not work for some ...
- Thu Jan 14, 2010 9:58 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Time limitation for standalone application
- Replies: 6
- Views: 5443
Re: Time limitation for standalone application
Hello Mark, Thanks again! I have manmaged to make something like it work, but being an old Fortran user, there are things I do not understand! In my case the "on savingStandalone" is in the main stack, and test for the expiry time in the substack. I had problems in transfering the value of cExpirati...
- Wed Jan 13, 2010 1:33 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Time limitation for standalone application
- Replies: 6
- Views: 5443
Re: Time limitation for standalone application
Hello Mark,
Very many thanks! That was exactly what I wanted.
Best regards,
Vladimir
Very many thanks! That was exactly what I wanted.
Best regards,
Vladimir
- Wed Jan 13, 2010 10:32 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Time limitation for standalone application
- Replies: 6
- Views: 5443
Re: Time limitation for standalone application
Hi Jeff, Thanks for your thoughts and a tip off for Siliconrealms! In the meantime I have come up with a simple solution by which the number of the month ( 1, 2,.. 12) is multiplied by 100 and the day number added and then such current value compared with the expiry date value (obviously not valid n...
- Tue Jan 12, 2010 4:40 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Time limitation for standalone application
- Replies: 6
- Views: 5443
Time limitation for standalone application
Hi,
Is there a way to limit the time a standalone application can be used. Something like a) limiting date, or b) number of times it can be executed, etc? I have tried with the date by testing along the lines: If CurrentDate > LimitDate then .. but it is ignored!
Regards,
Vladimir
Is there a way to limit the time a standalone application can be used. Something like a) limiting date, or b) number of times it can be executed, etc? I have tried with the date by testing along the lines: If CurrentDate > LimitDate then .. but it is ignored!
Regards,
Vladimir
- Sat Jan 09, 2010 6:39 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Running several events at the same time
- Replies: 4
- Views: 3291
Re: Running several events at the same time
Hi Mark, Many thanks! It is very elegant and fast. Last two questions: 1. Which documents did you refer to? 2. the attached case with 4 + 1 balls using cPoints property behaves in a funny way. I wanted to space the balls on route 1 (long route) by sending "mouseUp" command in x, y, z seconds and it ...
- Sat Jan 09, 2010 2:22 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Running several events at the same time
- Replies: 4
- Views: 3291
Re: Running several events at the same time
Hi Mark, Very many thanks! It is avery elegant script. I will try to copy parts of it to see why my code was so slow. It seems to me that all that I was doing differently was to set the xLoc, yLoc to the next point coordinates. Since my objects were moving along three routes (for eacxh route along t...
- Fri Jan 08, 2010 10:26 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Running several events at the same time
- Replies: 4
- Views: 3291
Running several events at the same time
Hi Forum, I was trying to run several events practically at the same time in order to test this capability for some more involved development. In fact I had 10 cars running along 3 routes and my first attempt was succesful but not elegant. This is what I have done for each car: on moveMe if not the ...
- Tue Dec 22, 2009 12:06 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Object interaction
- Replies: 2
- Views: 3080
Re: Object interaction
Hi Malte,
Very many thanks! That is exactly what I wanted and at this stage (prototyping) it is more than sufficient.
Best regards,
Vladimir
Very many thanks! That is exactly what I wanted and at this stage (prototyping) it is more than sufficient.
Best regards,
Vladimir
- Mon Dec 21, 2009 10:52 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Object interaction
- Replies: 2
- Views: 3080
Object interaction
Hello All, I am starting with the Rev and would like to know how to pick up if an object (e.g. graphic) is moving over another say, graphic object. Typical example would a toxic cloud moving over the houses! By the way, I am new to object oriented programming so any explanation provided should be ex...