Page 1 of 1

Can someone help me please? Thnx

PostPosted: Tue Mar 31, 2009 7:46 pm
by Camper1995
Hello people. I have problem. How can I make dynamic rope like in game: rope_demo: viewtopic.php?f=6&t=5336

But I dont understand that codes in that game.
Is any other simply way to make rope like this?

Thnx, Camper.
:)

Re: Can someone help me please? Thnx

PostPosted: Tue Mar 31, 2009 9:18 pm
by Fojam
I'm not sure, but I'm guessing that you have to make like seven different sprites for the rope, and they have to be attached to each other in some way.

why don't you just download rope_demo and look at how it is done?

Re: Can someone help me please? Thnx

PostPosted: Tue Mar 31, 2009 11:29 pm
by skydereign
Yeah, that demo is pretty complex. I might be able to come up with an equally, maybe a little less complex, difficult method that doesn't involve canvas if you want. Or I could dissect that demo, commenting the code, so you can understand.

Re: Can someone help me please? Thnx

PostPosted: Thu Apr 02, 2009 10:48 am
by Camper1995
Yea, I have one idea. I make only one actor called: Rope and it will be only one pixel. .
Draw actor...yvelocity = +1;
draw actor -> create actor -> event actor
:D I dont know if is this good, but I will try this... :?