Physic problems with a SMB engine

Get help using Construct 2

Post » Thu Jul 10, 2014 11:28 am

Hello everyone!
I found this great SuperMeatBoy engine on YouTube:
youtube.com/watch?v=NQQaeePqB38

But I'm not really good at coding (the reason why I'm using C2). Now here's the problem.
In comparison to the original SMB, this engine is too "smooth" I tried many things with the gravity and acc+deceleration but couldn't figure out how to make the engine better.
The square is flying around like a leaf. You can't feel the mass. I hope it's understandable.

Can you guys take a look at this and help me out?

Thanks!
B
4
Posts: 11
Reputation: 216

Post » Thu Jul 10, 2014 12:34 pm

Increasing the gravity will make the object fall more quickly (it s vertical downward acceleration is bigger), when it fall down like you think it should, change the jump strength, so the jump height is good, the max speed, acceleration and deceleration will help you controlling the horizontal aspect of the character, a little acceleration will feel heavy and hard to move, a little deceleration will make the object slide before stopping when no input is acting on him, and the max speed is the maximum horizontal speed.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Fri Jul 11, 2014 9:04 am

Thank's @ Aphrodite. I increased the gravity and the jump strength. That works good. The only problem now is the walljump. The reaction from the player is too late. It's hard to perform another walljump after jumping on a wall.
B
4
Posts: 11
Reputation: 216

Post » Fri Jul 11, 2014 9:36 am

There have been posts and tutorials on wall jumps, just search the forums.
B
48
S
16
G
9
Posts: 1,098
Reputation: 11,197

Post » Sat Jul 12, 2014 12:16 am

Hello, @Luna447. I'm the one who made the SMB engine. I recomend you to try to understand how all the events in the event sheet work before changing values, If you change only one value without adjusting the rest accordingly you will start to have a lot of problems. I made the engine more "floaty" compared to SMB, because for me Meatboy felt too heavy. If you want to make it heavier and keep the agility of movement you will have to adjust ALL values. Some conditions in the event sheet depend on the values I set, so if you change a value without adjusting the rest, some events wont trigger.
B
10
S
4
Posts: 133
Reputation: 1,543

Post » Sun Jul 13, 2014 1:43 pm

@lmchucho Thanks for the answer! I think I figured it out now. As you said, I had to change many values.
Your engine is a good start for a platformer. Thank's!
B
4
Posts: 11
Reputation: 216


Return to How do I....?

Who is online

Users browsing this forum: 25games, BreadCrowns, dand, mageekm, oosyrag and 27 guests