Can someone help me please? Thnx

Talk about making games.

Can someone help me please? Thnx

Postby Camper1995 » Tue Mar 31, 2009 7:46 pm

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.
:)
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: Can someone help me please? Thnx

Postby Fojam » Tue Mar 31, 2009 9:18 pm

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?
CLICK TO GIVE ME POINTS

My Latest Projects:
Super Smash Bros: viewtopic.php?f=6&t=12307 PLEASE help by making sprites!
User avatar
Fojam
 
Posts: 513
Joined: Thu Mar 19, 2009 10:02 pm
Location: under your bed!!!
Score: 69 Give a positive score

Re: Can someone help me please? Thnx

Postby skydereign » Tue Mar 31, 2009 11:29 pm

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.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Can someone help me please? Thnx

Postby Camper1995 » Thu Apr 02, 2009 10:48 am

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... :?
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron