Skip to content

Easy to get stuck on the ceiling when colliding with a shape while jumping #755

@parasyte

Description

@parasyte

Here's a map that has this problem... Just jump against the spikes (they are rendered incorrectly, see #754)

{ "height":16,
 "layers":[
        {
         "height":16,
         "image":"..\/img\/background_castle.png",
         "name":"Background",
         "opacity":1,
         "properties":
            {
             "ratio":"0.5"
            },
         "type":"imagelayer",
         "visible":true,
         "width":16,
         "x":0,
         "y":0
        }, 
        {
         "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 200, 0, 200, 0, 200, 0, 200, 0, 200, 0, 200, 0, 200, 0, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 200, 0, 200, 0, 200, 0, 200, 0, 200, 0, 200, 0, 200, 0, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 49, 0, 196, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 183, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 0, 0],
         "height":16,
         "name":"Back Layer",
         "opacity":1,
         "type":"tilelayer",
         "visible":true,
         "width":16,
         "x":0,
         "y":0
        }, 
        {
         "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 108, 0, 0, 0, 108, 0, 0, 0, 108, 0, 0, 0, 108, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
         "height":16,
         "name":"Front Layer",
         "opacity":1,
         "type":"tilelayer",
         "visible":true,
         "width":16,
         "x":0,
         "y":0
        }, 
        {
         "draworder":"topdown",
         "height":16,
         "name":"Collision",
         "objects":[
                {
                 "height":70,
                 "id":1,
                 "name":"",
                 "properties":
                    {

                    },
                 "rotation":0,
                 "type":"",
                 "visible":true,
                 "width":70,
                 "x":0,
                 "y":490
                }, 
                {
                 "height":140,
                 "id":2,
                 "name":"",
                 "properties":
                    {

                    },
                 "rotation":0,
                 "type":"",
                 "visible":true,
                 "width":560,
                 "x":0,
                 "y":0
                }, 
                {
                 "height":0,
                 "id":3,
                 "name":"",
                 "polyline":[
                        {
                         "x":0,
                         "y":0
                        }, 
                        {
                         "x":70,
                         "y":0
                        }],
                 "properties":
                    {

                    },
                 "rotation":0,
                 "type":"platform",
                 "visible":true,
                 "width":0,
                 "x":455,
                 "y":490
                }, 
                {
                 "height":0,
                 "id":4,
                 "name":"",
                 "polyline":[
                        {
                         "x":0,
                         "y":0
                        }, 
                        {
                         "x":45,
                         "y":0
                        }],
                 "properties":
                    {

                    },
                 "rotation":0,
                 "type":"platform",
                 "visible":true,
                 "width":0,
                 "x":187,
                 "y":360
                }],
         "opacity":1,
         "type":"objectgroup",
         "visible":true,
         "width":16,
         "x":0,
         "y":0
        }],
 "nextobjectid":6,
 "orientation":"orthogonal",
 "properties":
    {

    },
 "renderorder":"left-down",
 "tileheight":35,
 "tilesets":[
        {
         "firstgid":1,
         "image":"..\/img\/tileset.png",
         "imageheight":1120,
         "imagewidth":1440,
         "margin":5,
         "name":"tileset",
         "properties":
            {

            },
         "spacing":10,
         "tilecount":252,
         "tileheight":70,
         "tiles":
            {
             "195":
                {
                 "animation":[
                        {
                         "duration":100,
                         "tileid":195
                        }, 
                        {
                         "duration":100,
                         "tileid":196
                        }]
                },
             "216":
                {
                 "animation":[
                        {
                         "duration":200,
                         "tileid":216
                        }, 
                        {
                         "duration":200,
                         "tileid":217
                        }]
                },
             "218":
                {
                 "animation":[
                        {
                         "duration":200,
                         "tileid":218
                        }, 
                        {
                         "duration":200,
                         "tileid":219
                        }]
                }
            },
         "tilewidth":70
        }],
 "tilewidth":35,
 "version":1,
 "width":16
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions