The Daily Click ::. Forums ::. Klik Coding Help ::. MMF Transitions
 

Post Reply  Post Oekaki 
 

Posted By Message

TLONMASTER



Registered
  13/09/2003
Points
  236
1st March, 2004 at 20:11:05 -

I've been having a slight problem lately with MMF's transitions. Now, the main character of the game will start each frame at different areas, yet the problem I have is that the transition will start the level at the top right of the corner, then move quickly to where the character is. I understand this is because it needs to go through the events that show up when the level starts. My question is, is there a way to make the transition stay where the character is? It's sort of annoying, and it looks bad the way it is.

 
THIS IS MY SIGNATURE
-TLONMASTER

Mr Icekirby



Registered
  18/12/2003
Points
  846
1st March, 2004 at 20:14:10 -

make a block and call it cammera
have it always: look at player
upon collision: set value A to 76
value A of cammera = 76: set position to player

 
Mr Icekirby says so!
OBEY ME!

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
1st March, 2004 at 21:03:42 -

I'm not entirely sure what Icekirby said... though it may be I who misunderstood the question.

If I understand correctly, what you might like to try doing is creating an active object the size of the screen, and apply a transition to that, rather than the frame itself, as code will execute while individual objects are running a transition, rather than the entire frame.

This obviously wont be able to do a "fade from background" without quite a bit of work, but you could do a fade from black, or any colour/pattern/picture you like quite easily.

Mike

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
2nd March, 2004 at 14:25:21 -

Try scrolling to your object in a 'Start of Frame' event (in addition to the Always event that you use currently).

 
n/a
   

Post Reply



 



Advertisement

Worth A Click