MMF2 help

  • 4 Replies
  • 2545 Views
*

Offline ChaosWolf

  • 67
  • 0
  • Do NOT look behind you...
    • View Profile
    • Youtube page
MMF2 help
« on: July 13, 2009, 05:45:38 »
In MMF2 how do you get an object to retain its Y position when transitioning frames. Also how would you make it so when you re-enter a frame from a different entrance you appear at a different entrance.

*

Offline smeagle

  • 352
  • 3
  • Using Arch now
    • View Profile
Re: MMF2 help
« Reply #1 on: July 13, 2009, 09:23:37 »
well you can't really.  ;)
you need to make the "play area" in one frame and then say something like
always centre frame on "object"
i think that the virtual size and frame size need to be bigger for the scrolling to work.
there are some good tutorials on the clickteam website  :P2
there is a way to do what nifflas games are like (scroll on edge of screen)
but i don't know how to do that  :sick:
hope it helps

*

Offline ChaosWolf

  • 67
  • 0
  • Do NOT look behind you...
    • View Profile
    • Youtube page
Re: MMF2 help
« Reply #2 on: July 13, 2009, 15:08:30 »
When you want to make a massive area that could create a lot of lag.

*

Offline BloxMaster

  • 363
  • 26
  • Master of the Bloxes!
    • View Profile
Re: MMF2 help
« Reply #3 on: July 13, 2009, 15:14:45 »
You could try storing the object's Y position in a global value, then changing the it's position to that when the frame starts. You could likewise do the same for the screen's position.
« Last Edit: July 13, 2009, 15:17:25 by BloxMaster »


*

Offline ChaosWolf

  • 67
  • 0
  • Do NOT look behind you...
    • View Profile
    • Youtube page
Re: MMF2 help
« Reply #4 on: July 15, 2009, 05:39:06 »
Thank you This worked. I also Replaced the Gravity and Speed counters with Global values so you retain speed and momentum. Thank You.