A Little Animation: Flying The Notes

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Contact:

A Little Animation: Flying The Notes

Post by endernafi » Wed Mar 13, 2013 4:34 am

Hello Dear LiveCoders,

I'm building an animated story for pre-school children, it's almost finished.
There's a party at the end of story
and during the music I wanted to fly some notes around.
Well, I've managed to some point:
notesFly.zip
(23.69 KiB) Downloaded 322 times
First,
you can use my code freely;
if it helps any of you, I'll be just glad.

Second,
the performance is not very good indeed;
every now and then the flying notes seem to lag and flicker; on desktop and device.
Any insights to tune up the performance, to make it flow smoothly?

Best,

~ Ender Nafi

_______________________

P.S.: I sense that this is becoming my thing 8)
I mean, posting some code and demanding any improvements...
It's not a bad thing, right?
Is it trying to cut the corner or anything?
Hope not :oops:
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: A Little Animation: Flying The Notes

Post by jmburnod » Wed Mar 13, 2013 12:49 pm

Hi Ender,
I'm building an animated story for pre-school children, it's almost finished.
I like the end and i'm impatient to see the whole story
I just have a look at the "flyTheNotes" pending message.

Is possible to add point to the point of grc "path_r…" ?. Sometimes there is a distance 2 or 3 pixels between two points

Best

Jean-Marc
https://alternatic.ch

endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Contact:

Re: A Little Animation: Flying The Notes

Post by endernafi » Fri Mar 15, 2013 5:31 pm

Hi Jean-Marc,

Sorry for the late reply :oops:
I'll think a solution about the problem you mentioned.

And about the story;
unfortunately it's only in Turkish, for now.
I'm desperately looking for native English voice-over artists.
Although there are many talented artists,
I couldn't find one whose voice-over satisfied us.


Best,

~ Ender Nafi
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: A Little Animation: Flying The Notes

Post by jmburnod » Sat Apr 06, 2013 9:15 am

Hi Ender,
I found a useful stack of Bernd to get the intermediate points of a polygon
http://forums.runrev.com/phpBB2/viewtop ... pse#p23366
Kind regards
Jean-Marc
https://alternatic.ch

endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Contact:

Re: A Little Animation: Flying The Notes

Post by endernafi » Mon Apr 08, 2013 4:09 pm

Hi Jean-Marc,

Thanks for posting that link, it's an excellent code.
But is there any relevance with the above stack?
I mean, could it help to improve the performance?
If it can, I couldn't figure out how.
{IQ Deficiency Syndrome :oops: }


Anyway, thanks again 8)

Best,

~ Ender Nafi
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: A Little Animation: Flying The Notes

Post by jmburnod » Mon Apr 08, 2013 4:31 pm

Hi Ender,
But is there any relevance with the above stack?
Yes Sir. To get the intermediate points between two points and get a smoothly move :D
All the best
Jean-Marc
https://alternatic.ch

endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Contact:

Re: A Little Animation: Flying The Notes

Post by endernafi » Mon Apr 08, 2013 4:46 pm

Aha, that's it 8)

Thank you Jean-Marc,
I'll start to work for implementing it, right away.


Best,

~ Ender Nafi
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

Post Reply