Hello Clickteam Community,
I am planning to create (Or "recreate" rather) the classic Mario Bros. Arcade game, so far MMF2 works like a clockwork, I've done the Choco Break Tutorial and I've been able to enhance the gameplay of that demo game. I've encountered a problem regarding the animation, though. The jumping/falling animation works exactly as intended, however walking won't cut it. I'm importing it as an animation so maybe I'm doing something wrong.
-----------------------------------------------------------------------------------------
Here's the settings of the first game frame:
img204.imageshackDOTus/img204/2122/1pngcDOTpng (Sorry, I cannot post the images as such or links on the forum, as it has a link limit apparently.)
This is the event editor so far:
img822.imageshackDOTus/img822/729/93825368DOTpng
- Collision between the player (Mario, in this case a "platform" object, player controlled) and the green brick block: Makes the player stop, to avoid him from falling out of the playfield
- Collision between the player and the blue block: Makes the player bounce, i experimented with the different effects of bounce and stop. Doesn't seem to differ much in this case.
- No collision between player and the pipes, as the player is supposed to go beside it as if it was a background object, works as intended.
All current sprites are "Active" objects.
-----------------------------------------------------------------------------------------
The problem I am encountering is the walking/running animation, which does not work at all. Here is what I did:
I imported this (In this example, Mario walking right):
img405.imageshackDOTus/img405/7052/mariowalkrightDOTpng
The hotspot for all sprites are set to top right.
Under import options, I chose "Box Mode" and "Import as Animation", picked the correct transparency color and pressed okay, I did not touch anything where it says "From Frame X to Frame X". I also copied frame 2 and pasted it after frame 3, making it frame 4 to smoothen the animation a little bit.
img18.imageshackDOTus/img18/6240/20045382DOTpng
When I click play, the animation plays as intended, though when I test the application ("Run application", F8) the animation does not play. When I walk left it looks like the player is simply sliding on the ground, sometimes the sprite would show frame 3 and slide that way.
Here's the direction options, these apply to all directions (Left and Right) of the walking animation:
img33.imageshackDOTus/img33/3845/97636080DOTpng
-----------------------------------------------------------------------------------------
Here's a smaller issue I had:
img267.imageshackDOTus/img267/8489/65497025DOTpng
The player cannot pass through this point, marked in paint by the red line. Though it works on the other side of the playfield. This issue suddenly popped up even though I did not change the playfield or the player sprite itself.
-----------------------------------------------------------------------------------------
Final question; How can I do it so the player sprite does not just stop and fall straight down when it touches a block from below? I guess this has something to do with the collision option being set to "Stop", but I didn't see a different choice, as I do not want the player sprite to fall through.
img819.imageshackDOTus/img819/473/40170503DOTpng
The player sprite, when jumping and touching the above block, does as the red lin shows, when it should do something like the green line I drew, the movement should be more "rounded" after touching a block.
-----------------------------------------------------------------------------------------
Wow lots of questions, I hope you can help me so I can create a wonderfull game. Thank you in advance. =)



Reply With Quote

