14 years, 11 months ago
Highlights
Hi! My code so far is: var t, i; //declarate the vars t=(target_x - cannon_x) / (cannon_hor_speed - target_hor_speed) //define the time i=instance_create(x,y, obj_bullet) //…
14 years, 11 months ago
14 years, 11 months ago
Hi! My name is Peter (Peter, in English) I'm from Brazil. My question is as follows: I am creating a game with gravity. The player shoots a cannon with a preset speed. I…
14 years, 11 months ago
Latest Activity
See all in DiscussionsHi! My code so far is: var t, i; //declarate the vars t=(target_x - cannon_x) / (cannon_hor_speed - target_hor_speed) //define …
14 years, 11 months ago
g^2*t^2/(4*s^2) = sin(alpha)^2 d^2/(s^2*t^2) = cos(alpha)^2 Adding the two, we get (g/2)^2*t^2/s^2 + d^2/(s^2*t^2) = 1[/quote] There is an error …
14 years, 11 months ago
And how do I get the angle? I put the time as unknown, but want to know the angle (the …
14 years, 11 months ago