Object along a Bezier Path

Last week, I posted a video that shows cubic bezier curve manipulation using Corona displays objects.

Forum post from last week Bezier Curves in Corona

I have an updated version of the video that shows an object moving along the bezier curve path.

Take a look at object along a cubic bezier path

Feeback always welcomed…

Carlos

[import]uid: 24 topic_id: 2574 reply_id: 302574[/import]

Nice work. Look forward to seeing the source. [import]uid: 3953 topic_id: 2574 reply_id: 7864[/import]

When do we get to see this source code then? :slight_smile:

// red. [import]uid: 7143 topic_id: 2574 reply_id: 7940[/import]

i will clean up the code and probably put it up this weekend.

there is a lot of detritus in the code that i need to clean up and optimize several routines…

Carlos [import]uid: 24 topic_id: 2574 reply_id: 7971[/import]

any progress with the code? Would be great to see this [import]uid: 3018 topic_id: 2574 reply_id: 8483[/import]

Nudge #2 [import]uid: 8271 topic_id: 2574 reply_id: 8551[/import]

This is really cool. I love the spontaneous, untested demos! Especially when they work perfectly! Now where is that code? :slight_smile: [import]uid: 8194 topic_id: 2574 reply_id: 8650[/import]

@dknell, That almost sounds like a non-committal dig. Do you have something else you’d like to say…? /kidding

Yeah, where is the code!

@Carlos, This may sound weird, and you may not be comfortable doing this, but when you DO release this can you show us the original crappy code too? I learn a lot from seeing the steps taken to clean code up…it’s a great way to show code optimization and implementation of best practices. [import]uid: 10248 topic_id: 2574 reply_id: 8706[/import]

@BarkBark,
Not at all. There have been a few other cases where Ansca made a video and declared that they haven’t tested a function being demoed (I’m thinking specifically of the Samsung Galaxy Tab demo) and it worked flawlessly. That is one of the main reasons I switched to Corona - it’s very stable and it just works. That, to me, is impressive. [import]uid: 8194 topic_id: 2574 reply_id: 8715[/import]

@dknell, I figured as much. :stuck_out_tongue: [import]uid: 10248 topic_id: 2574 reply_id: 8718[/import]

I almost done cleaning the code, when I do, I will post both sets.

Carlos [import]uid: 24 topic_id: 2574 reply_id: 8788[/import]

There’s a lot of pensive people here…

Can’t wait for the code - I’m looking forward to drawing free-form multi-part beziers :slight_smile:

Big, huge thanks in advance Carlos!

matt [import]uid: 8271 topic_id: 2574 reply_id: 8854[/import]

Hey carlos, what about the code? [import]uid: 8556 topic_id: 2574 reply_id: 9991[/import]

Bump, Nudge, etc. [import]uid: 8271 topic_id: 2574 reply_id: 14675[/import]

Uh. The code has been posted.

http://developer.anscamobile.com/code/bezier-curves-corona

I forum posted this a few days ago…

cheers

c.-

ps: no ugly code…

[import]uid: 24 topic_id: 2574 reply_id: 14698[/import]

#win :slight_smile:

Thanks

M [import]uid: 8271 topic_id: 2574 reply_id: 14717[/import]

I would love to see an example of how to use the code for making an object to move along a curve within a game. [import]uid: 7356 topic_id: 2574 reply_id: 14769[/import]