Posted By
|
Message
|
boi dwx
Registered 30/03/2019 12:10:23
Points 26
|
30th March, 2019 at 30/03/2019 12:42:39 -
https://cdn.discordapp.com/attachments/265564036425449472/561529920216367105/2019-03-30_12-38-03.mp4
plz halp fix dis now
Rc
|
The_Antisony At least I'm not Circy
Registered 01/07/2002
Points 1341
|
9th April, 2019 at 09/04/2019 13:15:40 -
I can't give you any direct tips without being able to see your events. I'd suggest making a few visual counters and setting them to some of your variables. You're looking for one that's increasing way more than it should be, then start rethinking your math.
You could also upload your MFA somewhere and link it or type out the events you need some help with.
ChrisD> Employer: Say, wanna see a magic trick?
ChrisD> Employee: Uhh… sure, boss.
ChrisD> Employer: Your job! It just disappeared! Pack your things and leave! Pretty good trick, huh?
|
The_Antisony At least I'm not Circy
Registered 01/07/2002
Points 1341
|
2nd October, 2019 at 02/10/2019 10:21:57 -
On second thought, I think I get it. On colliding with the wall object you've made, you've set MMF to bounce every one of your body parts separately. That won't work. Bounce bases direction on collision points and a random value, which means every separate body part gets bounced off in a different direction.
If you really want the player to bounce, then just bounce the body active object, then set each separate body part's X and Y position to where they should normally appear in relation to the body.
If that's confusing, lemme try to spell it out a different way. You've got four active objects, a body, two arms, and a head.
So, when the Body portion collides with your wall object, bounce JUST the body. In the same event, set X Coordinate to X Coordinate of Body Object - plus or minus however many pixels is necessary to place the arm where it should appear. Do the same with the second arm and the head.
You're still going to notice it looks kinda janky. Every time the player collides with the wall, it'll look like his body is thrown back and the player strokes out a bit, but all of the separate body parts should come back together normally afterward.
I really wouldn't recommend making your player object out of several separate actives like this. If you're really intent on it, then consider lining up action points properly between all of the actives and creating an Always event that always keeps the body parts properly set at the body active's X and Y position so they never detach.
ChrisD> Employer: Say, wanna see a magic trick?
ChrisD> Employee: Uhh… sure, boss.
ChrisD> Employer: Your job! It just disappeared! Pack your things and leave! Pretty good trick, huh?
|
|
|