Hi
Is it possible to use the move a graphic or button using to the points of a graphic curve feature whilst in a game loop?
What I want to do is to have 3 different curves and move sprites a little bit along each curve during a game loop.
Is this feasible? If so how can it be achieved.
The move a graphic function seems to move the graphic/button along the whole curve until it reaches the end and there seems to be no way of moving it just say several pixels along or limit the movement by milliseconds say.
Thanks
Moving a sprite along a path
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Moving a sprite along a path
Hi neomodus ,
Have a look at "move" in LC Dictionary there is some examples how to use it
Best regards
Jean-Marc
Have a look at "move" in LC Dictionary there is some examples how to use it
Best regards
Jean-Marc
https://alternatic.ch
-
- Livecode Opensource Backer
- Posts: 9385
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Moving a sprite along a path
"there seems to be no way of moving it just say several pixels along"
well, I would just have a "curve" made up of a lot of smaller curves with their ends connected
well, I would just have a "curve" made up of a lot of smaller curves with their ends connected