Help me Fix a bug - Wall Slide bounce on left--Resolved

Get help using Construct 2

Post » Sat Sep 27, 2014 9:16 pm

This is driving me nuts... I'm trying to make a megaman zero/fortune summoners inspired game, and i want the player to be able to wall jump ++ wall slide
so i fiddled for a while and got both working for the right side
when you try it on the char's right - it works perfectly

however, left side has a bounce when the player collides with the wall

player collides with wall and is smoothe on the right side
https://www.dropbox.com/s/7gga1wjnvtakkxt/bounceCorrect.png?dl=0
Image

players collides with wall on left and bounces before becoming smoothe
https://www.dropbox.com/s/67oy72qojqm4plq/bounceBad.png?dl=0
Image

I can't figure it out.

This is a temp char - who only has the wall jump + wall slide code - the wall jump code does not affect it
https://www.dropbox.com/s/t23j4g5a81196ay/wallLog1.png?dl=0
Image
https://www.dropbox.com/s/1mem477tz611sij/wallLog2.png?dl=0
Image
https://www.dropbox.com/s/dks5lzvxmy39xxi/wallLog3.png?dl=0
Image
https://www.dropbox.com/s/jvb7hi97f106zkd/wallLog4.png?dl=0
Image


Any help would be appreciated.

Edit: added urls for images since the forums don't feel like displaying them

Edit 2: Capx -- added the code to the platformer template - still has glitch
https://www.dropbox.com/s/qxap11uxruisvf3/wallSlideBounce.capx?dl=0

Also - something that's been nagging me - how do i stop keyboard input? - like
if gamePaused = True - accepting keyboard input = false
because time scaled based pausing doesn't stop the player from being able to act =<
Last edited by Effregy on Sat Sep 27, 2014 10:57 pm, edited 1 time in total.
B
9
S
2
G
1
Posts: 36
Reputation: 1,381

Post » Sat Sep 27, 2014 10:13 pm

wallslidebounceWHY.capx


This fixes the problem by removing the unneeded bullet behaviour actions for a simple wall slide.

I've not seen that example for a wall slide before. In my opinion it seems to me to be overly complicated when the platform behaviour has all the actions to do this without the need for another behaviour to be used.

Also under platform actions for the player you can use "set ignoring input" to true to stop the player being able to move.
You do not have the required permissions to view the files attached to this post.
B
46
S
23
G
7
Posts: 459
Reputation: 6,763

Post » Sat Sep 27, 2014 10:35 pm

The comment block where it says "Wall Jumping 2.0 by BluePhaze" is all that i got from his tut

I'm using the steam version - and its bugged - and not allowing me to opt into beta =[

I'll try recoding it w/out the bullet behavior though >,>

also over complication is my curse lol
the right side works =p

Thanks for the reply =]
B
9
S
2
G
1
Posts: 36
Reputation: 1,381

Post » Sat Sep 27, 2014 10:56 pm

Switching to platform.Vector Y solved the issue - thanks =]
B
9
S
2
G
1
Posts: 36
Reputation: 1,381


Return to How do I....?

Who is online

Users browsing this forum: Allardje, Rudi55, sublimate and 2 guests