# Swing problem

**URL:** <https://forum.kirupa.com/t/swing-problem/254673>\
**Category:** Uncategorized\
**Created:** [March 14, 2008, 3:29am UTC](https://forum.kirupa.com/t/swing-problem/254673 "2008-03-14T03:29:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahul\_7star](https://avatars.discourse-cdn.com/v4/letter/r/e36b37/32.png) [@rahul\_7star](https://forum.kirupa.com/u/rahul_7star)\
**Post date:** [March 14, 2008, 3:29am UTC](https://forum.kirupa.com/t/swing-problem/254673/1 "2008-03-14T03:29:25Z")

</div>

HI  
there are 4 (1,2,3,4)circles and user have to swing on those circle placed side by side having 10 pixel gap in between

but when he is in swing motion on circle 1 , the moment he press up key , he should rotate and move to 2nd ,

but i got stuck in 2 circle swing movement, how the transition will be done from 1st circle to 2nd.

in game play , user is fixed and BG is moving ,

any help…
