Posted By
|
Message
|
axel Crazy?
Registered 05/02/2005
Points 4766
|
24th March, 2007 at 11:18:53 -
I've just been trying to get some enemy collision detectors to work properly for about two or three hours. The reason why it took me so long to get right, was that this code...
* Always
- Object: Spread a value 0 in alterable value A
- Start loop "foo" NObjects("Object") times
... doesn't work properly on MMF2. If you start a fastloop on the same event as you spread a value, MMF won't spread the value properly. It didn't for me anyway. It could be a bug, maybe even a known one, but I thought I'd share it with you so you won't have to waste two hours of your life trying to figure out what's wrong.
n/a
|
Del Duio Born in a Bowling Alley
Registered 29/07/2005
Points 1078
|
24th March, 2007 at 11:57:59 -
All I know is that there are a lot of little bug- er, NUANCESES throughout MMF. Getting around them is part of this life it seems. I feel your pain!
Thanks for the heads up Axel.
--
"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!
|
Tiles Possibly Insane
Registered 06/12/2002
Points 2339
|
24th March, 2007 at 14:00:54 -
Separate the spread value action from the start loop action. Having the spread action in the same event causes the loop to run first, and then the spread value. Which refuses to work as you may have noticed. You may call it a bug. But you can also call it an feature ...
So that's the way to go:
-Always-> spread value in Alt Val A
-Always-> start loop "Foo"
-On loop "Foo"
+ Alt Val A is equal loop index Loop "Foo" ...
Free graphics,Free Games
http://www.reinerstilesets.de
|
axel Crazy?
Registered 05/02/2005
Points 4766
|
24th March, 2007 at 14:14:07 -
Yeah, that's what I did
n/a
|
Joe.H Evil Faker
Registered 19/08/2002
Points 3305
|
24th March, 2007 at 17:06:16 -
I highly doubt any large scale program will be without bugs. (even small applications will have bugs somewhere unless the code is 100% efficient, which is highly unlikely)
But that's what bug fixes are for.
Inform clickteam, if you haven't already so they can add it to their no doubt long to do list relating to MMF.
My signature is never too big!!!
|
Klikmaster Master of all things Klik
Registered 08/07/2002
Points 2599
|
25th March, 2007 at 07:21:47 -
This bug has been known for a long time. I hope clickteam does something about it.
n/a
|
axel Crazy?
Registered 05/02/2005
Points 4766
|
25th March, 2007 at 07:25:26 -
Wouldn't it hurt the MMF 1.5 compatibility if they fixed it though? If MMF 1.5 has got the same bug, that is.
n/a
|
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
|
25th March, 2007 at 07:49:40 -
Yes, that is a bug that confused me for ages. I did not understand why my programs were not working as expected.
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
|
|
|