Sorry to ask newbie questions but i have some problems with MMF 1.5
1)I need to make my characters who are acting as animations at the moment to move a set number of pixels in a certain direction with only one key press.
2)When i import my GIF's that have 2 frames of animation how exactly are you supposed to import then and keep the animation and transparent background.
Sorry again for asking stupid questions and thanks in advance.
n/a
Pete Nattress Cheesy Bits img src/uploads/sccheesegif
Registered 23/09/2002
Points 4811
24th May, 2004 at 06:59:46 -
1):
+User presses a key
-Set x position of "Player Object" to "posx("Player Object")+5"
it works but the only problem i need the graphic to actually move there and keep playing. More like a move and stop input but keep playing thingy. Like one key press then do preset distance but move not set position.
If that makes sense thanks
n/a
Pete Nattress Cheesy Bits img src/uploads/sccheesegif
Registered 23/09/2002
Points 4811
24th May, 2004 at 10:05:45 -
oh i see. what you do then is have
+User presses a key
-Set flag 1 of playerobject ON
+Flag 1 of player object is ON
+Every 0.4 seconds (or whatever, depending on the speed you need)
-Change x position (as above)
then when the object reaches where you need it to go, set the flag OFF. i think that's what you mean isn't it?
i got it
i am not sure how to make this work for a animated image which i need to do.
i think i have seen it done before
basically you have this guy who moves in 4 directions with 2 frames per direction
he needs to move a set amount of pixels each time you the key and he doesnt want to be inturrupted.
i got most of this happening but cant seem to get him to do his animations or keep his transparent background.