BROO's Recent Forum Activity

  • x_ray(t) = y * ctg(w*t)

    y = constant vertical distance from center of screen to bottom of screen

    w = some constant parameter adjusting constant angular speed

    dx_ray(t)/dt = (-y * w) / sin^2(wt)

    d2x_ray(t)/dt2 = (2 * w * w * y * cos(wt)) / (sin^3(wt))

    -> x_ray(t) is the x position of ray (ray's begin).

    -> there's a need to modify x_ray(t) parameters because x,y screen coordinates are really x,-y

    -> dx_ray(t)/dt = speed, it's chaning, because...

    -> d2x_ray(t)/dt2 = (2 * w * w * y * cos(wt)) / (sin^3(wt)) ... acceleration is not a constant value.

    Ergo, x_tank(t) = y * ctg(w*t) to make x_tank in synch with x_ray.

  • Timedelta's theorethical accuracy makes about 0.0001% error coming from using float for it. But if there was some practical tests made, I'd love to hear about them ^^.

  • These things cannot be put in synth.

    Edit: To make things clear: then can be put in synth only, if tanks' speed wasn't constant during their time on screen.

  • I'd go with that method even if I had 5000 frames to process. Splitting stuff into right animations and directions and cropping with quickly set hot spot would take no more than 4 hours of work. 4 hours is a time everyone need to make a simple addition to engine. So 100 frames is like no work at all.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Turn on Num Lock key.

  • Those number pad shortcuts are already implemented.

  • Every ... msec isn't suited for intervals so low they'll execute every frame. Your code is correct, but the thing is, every event can be triggered only once during single loop.

    You can make PV that adds timedelta per loop. And then you can check in WHILE whether its value is greater than desired "every ... msec" (but you input values in second units then).

    Check this .CAP:

    http://www.republika.pl/tymczasownik/ev ... WithPV.cap

  • [quote:1xmtat65]Since Construct started as a free project though, a lot of the users here would not have the money to pay for it.

    Construct wasn't started as a free project.

    And regarding topic I have nothing to say ^^.

  • Caspis just check his menu.

  • Ignorance is bliss.

    Russia:

    <img src="http://vercors.univ-savoie.fr/ressourcesenligne/cours_hh/new/LEA_L&C2/L&C2_02/flag_russia.gif">

    USSR:

    <img src="http://www.crwflags.com/art/countries/ussr.gif">

  • I like this one ^^.

  • That'd be "crispify" effect.

BROO's avatar

BROO

Member since 30 Aug, 2007

None one is following BROO yet!

Trophy Case

  • Email Verified

Progress

17/44
How to earn trophies