(4.5.X) Any other tile next to Solid Tile while falling glitch.

5kids2feed

Well-known member
Ok. Got another one.

I noticed in the Arcade Platfomer, if I have a prize tile next to a wall i'm falling down.. If i'm holding left, it will not collect the prize tile. So if i'm against the left wall and falling while clearly touching prize tiles.. it will not work.

Also noticed if i'm falling and go against the left wall again and if there's a trigger tile next to it.. it wont trigger..

This is sort of game breaking if someone finds this exploit. Where can I go to edit this and how? Thanks.
 

5kids2feed

Well-known member
Here's and example of what's going on. White is the player and dark gray are the prize tiles. Can touch them normally just as long as you don't hang on the solid wall. Same goes for any other tile directly next to the solid while falling. Even hurt tiles. Messes up the game completely. Please help!

Does it have something to do with the standard "Solid Reaction: Stop" That it gives you?

darn.gif
 

5kids2feed

Well-known member
Updates:

Joe’s response “You'll have to modify your collision code. Right now, you're using a type of code that, when it sees a non-null collision, probably pops out of the collision routine and does that thing. This means that it never sees the prize because it saw that there was a solid so it ignored the rest of the collision points (starting top left and going in a clockwise direction). The reason for this is it saves cycles...time. But it's not a one size fits all solution.

What you'll need to do is read ALL collision points, then do evaluations for every one of them. Maybe do all other things first, THEN check if any of them were solid to do the solid behaviors”

..and Jonny figured out how to make a special solid tile for the left side that adjust the player over 1 pixel that works! BUT… is very jagged and makes it looks like the player is gyrating.

What a pain!
 

mouse spirit

Well-known member
This type of thing seems to be the cause to many many problems. The even odd screen issue combined makes for a horrible experience. Makes it so half the time im dealing with tiles on the next screen IN my current screen.
My bombs dont work from the right side of a block. If i changetileatcollision 2 tiles beside eachother,one works fine while the other changes tile/collision but not the graphic data. Ive hit spike blocks from a block away .And so on.


Also if i hit too many changetiles with the player,invisible barriers start to appear,but not if something else does all the tilechanging like a monster or player weapon. Probly a seperate issue.
 

5kids2feed

Well-known member
Ugh. That’s about right. It’s giving me a migraine trying to fix the whole situation. I think my solution is just to “hide” it the best way I can for now.
 
Last edited:
Top Bottom