The Daily Click ::. Forums ::. Klik Coding Help ::. Redirection Frame necessary?
 

Post Reply  Post Oekaki 
 

Posted By Message

Blue66



Registered
  24/05/2008
Points
  1186

GOTW JUNE 2010 WINNER!Hero of TimeVIP Member
28th April, 2011 at 14:31:57 -

Hello there, fellow clickers!

I have a question. A very long time ago, there were a lot of people saying that MMF2 has problems with changing frames and to prevent this problem from happening, you need a redirection frame. This is a frame that is empty but through a global value gets told where to jump next. I don't know where that came from and if it is true or whatnot, but I've used that in GunGirl2 and nobody ever had any problems with it (at least nobody reported any).

However, I'm making a new game right now and there seems to be a problem with that method now, because every time it goes to that empty frame, the game freezes for like 10 seconds. I have no idea why or how this is even possible :/

My question is: do I really need that empty redirection frame? Is it common knowledge to use stuff like that or is it ancient past or even an urban legend? If this redirection is necessary, can anyone tell my why it's locking my game for like 10 seconds?

Thanks for any help

 
www.paulinthenet.de
www.gungirl2.com

Jon Lambert

Administrator
Vaporware Master

Registered
  19/12/2004
Points
  8235

VIP MemberWii OwnerTDC Chat Super UserI am an April FoolSSBB 3265-4741-0937ACCF 3051-1173-8012360 Owner
28th April, 2011 at 14:38:48 -

I've never needed a redirection frame for global values. The only time I ever heard of one of those was in an article Named wrote long ago, which said that if your game was replacing backdrops with active object sprites at runtime, a redirection frame would prevent that.

 
Sandwich Time!Whoo!

JoyCheck & KeyCheck Widgets
For easy implementation of customizable joystick and keyboard controls.
http://www.create-games.com/download.asp?id=8364

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
28th April, 2011 at 16:53:22 -

The only redirection frame I've ever used is in Hasslevania 2 right now. Basically, when you leave a planet to go back to the galaxy map screen it has to make a bunch of checks for cutscenes or quest updates. Before, I had it check all this at the start of the galaxy map screen but what would happen sometimes is it'd start the map music or show the map for a spilt second and then jump to the cutscene and etc. and it looked like crap. The redirection frame is only there to check global values (or the global array) and if certain values are right it jumps the player to one of many different frames and goes from there. If everything is false it jumps to the galaxy map screen like normal.

Using the redirection frame DOES give me a noticable pause however it's very slight and much better than split second images or music that gets suddenly cut off to jump to a cutscene IMO.

Edited by Del Duio

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
28th April, 2011 at 17:23:25 -

http://www.create-games.com/article.asp?id=1964

This is the article.
As I see it, if you're making a 'big' game, there's no harm in doing it. But if your game's smaller, then there really is no need to.

However, it shouldn't make that pause. Are you sure it's not a pause in the jump to the desired frame? If MMF is loading a hugh frame it's bound to take some time.

//EE

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Zephni

My other cars a Balrog

Registered
  17/10/2007
Points
  4019

Has Donated, Thank You!VIP MemberSonic Speed
28th April, 2011 at 18:27:35 -

I'm with Eternal Man, you sure it's not the "next frame" that's taking the loading time, coz' there is absolutley no reason for it to get stuck on a blank frame for no reason. If it is the "next frame" then if you want to get rid of the loading times it could be down to either the way the level is being created (maybe your using files to build the level and fastloops to place it on the screen) maybe a music file is being loaded at the start of the level that takes time to load, or big active objects maybe? Hope you figure something out.

 
dont make me divide by zero...

Blue66



Registered
  24/05/2008
Points
  1186

GOTW JUNE 2010 WINNER!Hero of TimeVIP Member
28th April, 2011 at 19:13:41 -

You know what? Now it's doing this delay EVERY TIME! Aaahhh what did I mess up this time! I really start to hate MMF2

Edited by Blue66

 
www.paulinthenet.de
www.gungirl2.com
   

Post Reply



 



Advertisement

Worth A Click