move up and down Forum Home > Construct 2 General > How do I....? |
Post Reply
|
| Author | |
Post Options
Quote Reply
Topic: move up and downPosted: 25 Apr 2012 at 9:18am |
|
|
Hello,
I want to make the shafts moving up and down all the time like in the capx file below. http://dl.dropbox.com/u/52040403/up%20and%20down.capx I tried the move to behavior to move the shafts up and when they hit their target position move them again down, but it's not working perfectly with me. Then i used the way shown in the capx file it works fine, but i need to repeated too many times. Is there any other way to make the same movement. Thanx :) |
|
![]() |
|
Post Options
Quote Reply
Posted: 25 Apr 2012 at 9:29am |
|
|
Didn“t you try vertical sine behavior?
|
|
![]() |
|
Post Options
Quote Reply
Posted: 25 Apr 2012 at 9:58am |
|
|
@Joannesalfa Thankx it's the correct way and that what i was looking for.
I tried the vertical sine behavior it works fine with me on firefox, but it doesn't on Internet explorer 9 "some of the shafts move vertical and some move horizontal even if i set their movement to vertical" |
|
![]() |
|
Post Options
Quote Reply
Posted: 25 Apr 2012 at 10:26am |
|
Make sure to refresh the browsers, i'm really sure they exactly behave same using javascript, not specificed browsers |
|
![]() |
|
Post Options
Quote Reply
Posted: 25 Apr 2012 at 11:02am |
|
|
Thanx @Joannesalfa. Yes it works fine now.
Thanx again 4 ur help. Have a nice day :) |
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |