Drawing Object type lines

Get help using Construct 2

Post » Thu Jan 19, 2012 1:47 pm

http://www.mediafire.com/?euqiq9gx752q21v

here is a cap.x showing what ive got done so far.
when the left mouse is held down, the line appears and changes angle and size when following the mouse. i want to be able to determine the position of the base object when i 1st hold down the mouse. then while held down i want the line object to stratch out so the base is where i 1st pressed, and the end of the line is where i let go.
any help would be great
thankyou
B
10
S
1
Posts: 39
Reputation: 1,053

Post » Thu Jan 19, 2012 7:35 pm

anyone?
B
10
S
1
Posts: 39
Reputation: 1,053

Post » Thu Jan 19, 2012 8:53 pm

New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Thu Jan 19, 2012 10:05 pm

omg dude i could kiss you =]. thankyou so much!
the basic concept is to be able to draw out conveyor belts, so if i chnage the proporties of the line object to apply a force to any object it touches, that should work.
my only concern now is the stretching, i want to replace the black line with a texture of a conveyor belt, say with arrows showing which way its going. now i realise this texture will stretch as i make my lines, any way i can avoid this?

thankyou again for your help. i can nearly start level design
B
10
S
1
Posts: 39
Reputation: 1,053

Post » Fri Jan 20, 2012 2:03 am

With a search with the keyword conveyor belt you can find other topics which already treated the subject.

You could make your belt out of several elements.
If you're more looking to a kind of "platform", use the current bar object as guide on which you will spawn an adequate number of conveyor sprites, scaled accordingly so it looks good (like keeping a good ration, not stretching too long, keeping the object's size to power of 2, etc...)Kyatric2012-01-20 03:47:35
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Fri Jan 20, 2012 10:36 am

ok cool, ill give this a shot later today. thankyou Kyatric, youve helped out a lot!
B
10
S
1
Posts: 39
Reputation: 1,053


Return to How do I....?

Who is online

Users browsing this forum: bluemonkey, Khamsou and 23 guests