Jump to content


Photo

Conservation of momentum


  • Please log in to reply
2 replies to this topic

#1 Lord_of_KaD

Lord_of_KaD

    GMC Member

  • New Member
  • 2 posts
  • Version:Unknown

Posted 25 April 2012 - 02:15 PM

Im working on a game that uses portals, and was wondering how I could conserve the momentum of my player character when they travel from one portal to the other. Everything else runs smoothly, but I have no idea how I would go about doing this in Game Maker.
  • 0

#2 MasterOfKings

MasterOfKings

    The True Master

  • GMC Member
  • 4888 posts
  • Version:GM8

Posted 25 April 2012 - 02:19 PM

That kind of depends on how your portals work, and the mechanics behind them (as in, how they move the player to a different spot).
  • 0

#3 Lord_of_KaD

Lord_of_KaD

    GMC Member

  • New Member
  • 2 posts
  • Version:Unknown

Posted 25 April 2012 - 02:22 PM

That kind of depends on how your portals work, and the mechanics behind them (as in, how they move the player to a different spot).

Right now, they're just moving the player to the other portal's x and y location.

Edit:
Nevermind, it all seems to be working now.

Edited by Lord_of_KaD, 25 April 2012 - 02:40 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users