How do I make a ball sprite roll back and forth between wall

Just started using Construct 2? Post your questions here

Post » Wed Sep 17, 2014 6:49 pm

Ok well I create a circle in paint.net then when I added the ball sprite I edited it with the built in image editor and pasted the circle in there. Apparently there is other stuff it needed that I messed up eh?
B
5
Posts: 11
Reputation: 223

Post » Wed Sep 17, 2014 6:54 pm

Ok so I realized what your were talking about and I went into the images and set the origins to middle. That sure helped. Thanks!
B
5
Posts: 11
Reputation: 223

Post » Wed Sep 17, 2014 7:00 pm

Ok so it's better. It travels to the right but when it hits the wall it bounces upward and off the screen. :(
B
5
Posts: 11
Reputation: 223

Post » Wed Sep 17, 2014 7:14 pm

ok I am all set now. Delete the walls. Made new ones and it all works fine. thanks for all your help!
B
5
Posts: 11
Reputation: 223

Post » Wed Sep 17, 2014 8:58 pm

Arg I want to pull my hair out. I did a lot more to the sample game I am playing with and lots of stuff is working now and suddenly the stupid ball has started bouncing off the wall and going upward again. All the walls are set with zero angle and so is the ball. Going to include my file again so someone can help me. Thanks!
You do not have the required permissions to view the files attached to this post.
B
5
Posts: 11
Reputation: 223

Post » Wed Sep 17, 2014 11:57 pm

Well I figured out that if I move the ball higher up it stops bouncing up and goes back and forth like it should. But I also notice that at one ball it moves down just a bit when it bounces back, and when it hits the other wall it goes up just a bit. Odd
B
5
Posts: 11
Reputation: 223

Post » Fri Oct 10, 2014 4:06 pm

Try adding physics to the upright post and making them solid - immovable. I'm a little confused as well. Hmmmm
Check out my latest game RAPID-TAPIT. Get your Fingercise on with this one. A steady Tap is all you need to score points. Lift a finger and see what you can do...

Image

ALLMarkMade Designs
B
41
S
20
G
6
Posts: 367
Reputation: 7,541

Post » Sat Dec 05, 2015 7:18 am

.
Last edited by danieltpt on Tue Dec 15, 2015 1:55 pm, edited 1 time in total.
B
10
S
3
G
5
Posts: 35
Reputation: 3,323

Post » Sat Dec 05, 2015 7:19 am

.
Last edited by danieltpt on Tue Dec 15, 2015 1:55 pm, edited 1 time in total.
B
10
S
3
G
5
Posts: 35
Reputation: 3,323

Post » Sat Dec 05, 2015 10:52 am

danieltpt wrote:sorry the link was wrong.
https://drive.google.com/open?id=0B19-3 ... ERCOVp4XzA


Removing/disabling the platform behaviour seems to do the trick..
But what effect are you after exactly?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

PreviousNext

Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests