Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

need help in creating logic

Community Beginner ,
Feb 03, 2015 Feb 03, 2015

Hi all,

I need suggestion of all of you guys in approaching my goal. What i want to do is... I have a bow still at one place but can rotate at its pivot point and there is an arrow that is used to pull the thread of the bow, as i drag back the arrow then thread of the bow should pull and when drag furthur, bow's thread should lose.

Can anyone help me how can i approach this.. I have attached an image as a refrence here.

ref.png

TOPICS
ActionScript
383
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 04, 2015 Feb 04, 2015

create a movieclip.  on its timeline create 3 layers.

the3 shapes (the arrow, the bow and the draw string) should each be placed on their own layer

shape tween the bowstring and shape tween the bow and classic tween the arrow.

position that movieclip's reg point and transform point where ever you want.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 09, 2015 Feb 09, 2015

I didn,t understand what you are trying to say..can you please clarify more about what the last two lines means..??

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 09, 2015 Feb 09, 2015

do you know what a shape tween is?

if no, google it.

if yes, shape tween the bowstring.  any problem?  if yes, use shape hints.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 11, 2015 Feb 11, 2015

yae i know what the shape tween is.. But i didn't understand what the last line will do? Can you clarify it once again.

Thank you

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 11, 2015 Feb 11, 2015
LATEST

you'll probably want to move and rotate that bow,string and arrow.

experiment with different reg/transform points so you can see the effect they have on rotation and positioning.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines