Pixel Game Maker MV

Pixel Game Maker MV

DerpyDoo Apr 14, 2019 @ 6:16pm
Character spasms on slope + Platform problems.
So I have a slope and my character (object) is set up to ignore slope contact like the tutorial says to do but then when said character stand on the slope it rapidly shudders as if the game cannot calculate what to do.

The second problem is when I've made a platform object it has it's collision setup on the animations tab but my character cannot stand on it.
< >
Showing 1-13 of 13 comments
Bellamy Apr 15, 2019 @ 3:13am 
DerpyDoo,

Let's focus on the platform issue first:

1. Are your platform & player Objects in the same Layer? This is always required.
2. What are the Group settings for your Player & Platform Object? If these are not correct, wall collisions may be ignored.

Now, for the slope:
I'll need to look a little into this one, but does the slope fully take the place of tile walls as far as Object collisions are concerned? This could occur if a tile wall and the slope are slightly overlapped, so the Object has issues trying to right itself. Also, what happens if you turn on slope contact in this particular case?
DerpyDoo Apr 15, 2019 @ 5:13pm 
Thanks for commenting!

Through trial and error I was able to make the platform solid but i've ran into a different problem with the platform now.
I tried making the platform an enemy and allowed "Wall detection impacts" with player group which my player is in, so now the player can touch the platform but can also push the platform around which is annoying, I can't see where to find an option to make the platform rigid, I tried making it ignore gravity so it stays in the air but it can still be pushed around.

Also when my character lands on it they act as if they are still falling, they are still in the jumping animation and I cannot jump once i'm on the platform. I've tried setting the player to return to the wait position when the jump animation detects it's hit another object but this still doesn't fix the problem.

As for the slope, when I turn on slope contact it fixes the rapid shaking when on an incline though the slopes i've used for half-tiles which are flat as if they are on the floor still cause the character to rapidly shudder.

I've tried placing a slope in an empty map with no other tile collisions and sadly it still occurs, both the shaking with slope contact on and the shaking with the slope contact off, I can attempt to record it as a gif and show you what happens
Last edited by DerpyDoo; Apr 15, 2019 @ 5:28pm
DerpyDoo Apr 15, 2019 @ 5:16pm 
Ok so sadly the recording skips a lot of frames so it appears to be much slower than it is but at least it's an idea as to what is happening, this is with the slope contact off. if it was on this wouldn't happen on the incline but would on the flat slope instead.

Oh and the slope doesn't overlap any boundaries in this either.

https://i.gyazo.com/17304028d1a3240f3a9c6a9889cc7a5a.mp4
Last edited by DerpyDoo; Apr 15, 2019 @ 5:16pm
DerpyDoo Apr 15, 2019 @ 5:30pm 
Also an animation showing what happens on the platform:

https://i.gyazo.com/c761ed3dd5116a9bfdd9c814422923bd.mp4
Bellamy Apr 15, 2019 @ 11:23pm 
Ok, firstly for the platforms:

In the "Basic Settings": scroll down and enable the "Not Pushed Back by Other Objects" setting to prevent the player (or even enemies) from knocking them around.

Also, you can plainly see that the player is still stuck in the "in air" motion when standing on the platform. So obviously something about your Link Conditions in your Action Program are not configured properly.

Now for the slope:

How have you configured the player Object's wall area collision box?
It's looking like the character is standing quite a few pixels above even where I would expect her to be even accounting for a standard hit box & slope location.

I ask this, because it looks like the character is moving from step to step instead of moving along a slope. Do take a look at our sample projects. Some of them, such as Bike Dash Excite! and CrossxCarrot, have slope samples for you to study.
DerpyDoo Apr 16, 2019 @ 7:07am 
I was able to figure out why the platform wasn't working, I didn't have an attack detection box on the jumping animation so it wasn't detecting when it landed on the platform.

As for the slope, this is how my player object collision is done: https://gyazo.com/9e97dce09e5e64fc3225b5c3825a8a2b it's roughly that small for each frame, the collision box is not below her so she's not floating when standing on the floor tiles.

The slope is a single line from the bottom of the stairs to the top, this also happens if i place a straight line on an empty map
DerpyDoo Apr 16, 2019 @ 7:12am 
So I was able to pinpoint exactly what is causing the glitching on the slop, it's the "Slope type" I tried a bunch of different setting but having the slope direction set to "Don't set" and the slope type set to "Sloping Left" made it work ok. Though obviously it shouldn't be doing this so there must be some reason for it.
Bellamy Apr 19, 2019 @ 3:30am 
Thanks for the additional info. I'll try and take a deeper look into this first thing next week.
Sorry for the time it is taking!
DerpyDoo Apr 19, 2019 @ 6:42pm 
Thank you! Please keep me posted!
Pixel Game Makers (PGMMV) (Banned) Apr 21, 2019 @ 9:16am 
My entire game is based on slopes and if I can't fix it, my whole game is messed up. If you've seen the videos in the VIDEOS section here on steam, you can see I'm breaking the mold with my game, so I don't want to change from not using slopes. This is a VERY BIG problem for me, because until it's fixed on the developer's end or my end (whichever has the issue) then I can't release the final product. I refuse to!

First of all, DerpyDoo, I would encourage you to message me in private because I see some errors in your programming and I want to fix them for you. I know what you were talking about and I have a lot of experience with the area.

Secondly, the sloping makes the controllable object jitter when used in the way I am using slopes. I'm not sure if this can be fixed and my game is going to be messed up or if I am just not doing something right, but it's like they are having a seizure when the controllable object tries to move on the slope sometimes. My second issue, I need the controllable object to stick to the slope, so I can make slope walls instead of tile walls.

Lastly, I can tell by Bellamy's response that they didn't recognize the glitch, but I do. I just can't fix it because I'm not a developer.
Last edited by Pixel Game Makers (PGMMV); Apr 21, 2019 @ 9:24am
Bellamy Aug 13, 2019 @ 4:35am 
Hey, just checking in with this older issue.

For people that experienced it, have the recent fixes to other slope issues also resolved this, or do we need to continue looking it it?
Pixel Game Makers (PGMMV) (Banned) Aug 13, 2019 @ 1:07pm 
I'm asking around too, to see if theres any slope issues. Havn't heard anything negative back so far.

(I'm assuming this is a bug and not my programming):
If you stand under a slope you can jump through it.

O
-------
X

O= Player after jumping
- = slope
X = Player

You can jump straight through it, when "passable from top/bottom" are *not* checked. it interferes with the "contact with slope from bottom" feature - I believe being able to pass through it is the root issue (not sure).
Last edited by Pixel Game Makers (PGMMV); Aug 13, 2019 @ 1:10pm
Bellamy Aug 14, 2019 @ 1:47am 
Behemoth, we've got a couple of other slope issues planned for the next patch that are around that kind of functionality.

Check out the next patch and if the "pass through slopes when you aren't supposed to" is still occuring then, please create a separate thread for that issue.
< >
Showing 1-13 of 13 comments
Per page: 1530 50

Date Posted: Apr 14, 2019 @ 6:16pm
Posts: 13