How do I keepy uppy

Just started using Construct 2? Post your questions here

Post » Thu Nov 26, 2015 7:37 pm

Hey guys,

I want to build a keepy uppy game, or kick up, where an object falls down and it bounces back up by hitting it (on a touch screen).

Can someone help me with this?

I gues i have to give the object the physics behavior but i don't know how i can bounce it in an angle by hitting it.

I am a beginner but i know pretty well how the software works, but when i have to type things i get stuck (i'm not a good programmer).

Thanks for your help
B
3
Posts: 5
Reputation: 185

Post » Thu Nov 26, 2015 9:59 pm

I guess

on touched object
> object physics give impulse at angle : angle(touch.x,touch.y,object.x,object.y)

would do the trick
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

Post » Thu Nov 26, 2015 10:27 pm

I tried it out and it seems to work!

Much easier than i expected

Thanks for the help! :)
B
3
Posts: 5
Reputation: 185


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests