Jump to content

StanleyWright

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by StanleyWright

  1. On 4/3/2022 at 2:25 AM, Sensei said:

    Looks pretty straight forward to me.

    Each object has a x,y or x,y,z location.

    Each object has a velocity vector vx,vy or vx,vy,vz.

    Each object has an acceleration vector ax,ay or ax,ay,az. And there is general g acceleration downward (y).

    d=1/2*a*t^2 is general equation of how far object will fly with given acceleration, after t seconds.

    So, you add it to character position, and just animate acceleration vector.

    e.g. user presses left or right arrow to move character, you change ax accordingly, user presses jump, you change ay vector, and the main routine (executed to update every frame of the game), based on it, modifies vx,vy[,vz] and they modify x,y[,z]. Then you do collision detection, to see if character or object can be moved in such direction or not.

    https://en.wikipedia.org/wiki/Collision_detection#Video_games

    Darmowe gry  https://www.slotozilla.com/pl/automaty automaty przestrzenie internetowe to niesamowita metoda inwestowania energii, która nie tylko wypełnia się jako opcja dla osób, które wolą nie palić gotówki na otwarciach w klubach hazardowych. Tego rodzaju gry są fascynujące same w sobie, a ogromna liczba różnych tytułów dostępnych od twórców napędów oznacza, że pod każdym względem każdy znajdzie coś dla siebie. Wszystkie wolne przestrzenie prezentowane przez nasz obraz mają fascynujące tematy, więc nie czekaj i graj teraz!

    Show code of your game.

    Thanks dude!

  2. I completely agree with the author of the topic. It is not enough for the substance to react with water. High-precision laboratory research is required, which is practically impossible in the case of amateur chemists. And it turns out that almost everyone can become Tony Stark from the Mavel universe

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.