Hello all. I am working with MMF2 and have started making a top-down view shooter, but have ran into a major problem. The display is constantly centered on the player object (I have tested using both "Always", alterable value conditions, and "every..." conditions). The frame size is about 1400x1700. The window is 640x480.
When the player is moved near the left side of the frame (mostly when moving up or down when 200-400 pixels from the left edge), often the game will slow to a complete halt for a few seconds, work for a half a second, then stop for another few until finally permitting some movement, at which point it will sometimes repeat until the player moves away from the area. There are very few active objects in the frame, and little actually going on event-wise at this point in development. The debugger will normally show 11mb of RAM being used, but when the slowing occurs, it will suddenly jump to around 670-700mb or sometimes 1300mb. It only happens as a result of player movement, and does not reoccur in any strict fashion (occurs somewhat randomly when near the left side).
I'm wondering if anyone has encountered problems like this before. I've tried tweaking the MIS settings, Direct X, etc to no avail.
Thanks.
---
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
24th March, 2009 at 11:48:53 -
What are your computer hardware specifications? Click games used to lag on my old pc many many years ago (800mhz).
I should have specified earlier, but I'm running a 3.00 ghz processor with 2gb of RAM and a 256mb video card. That's what baffles me. There aren't many actives either, and all of them are rather small. Also, it is inconsistent in its slowing.
Originally Posted by rs_thomp I fixed the problem. Apparently MMF2 didn't like me putting the speech bubble extension outside of the frame area. Awfully ridiculous.
Thanks for the help.
That's ridiculous. Glad you got it sorted, though. Thanks for the tip ^^
Originally Posted by rs_thomp I fixed the problem. Apparently MMF2 didn't like me putting the speech bubble extension outside of the frame area. Awfully ridiculous.
Thanks for the help.
That's ridiculous. Glad you got it sorted, though. Thanks for the tip ^^
Ridiculous yes, but very believable. I once had a problem with a string object where if it wasn't somewhere on the frame when the frame was run it'd be like it never existed. Even 1 pixel off the frame would somehow kill it. And the "destroy if too far away from frame" box was unchecked too. MMF2 is awesome but man can it act strange sometimes.
--
"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!