GithubHelp home page GithubHelp logo

Comments (7)

englercj avatar englercj commented on June 25, 2024 1

Can you share a map I can reproduce it with, none of my test maps do this.

from phaser-tiled.

Weedshaker avatar Weedshaker commented on June 25, 2024

It happens in Canvas and WebGL (screenshots taken - using Phaser-Tiled v2.0.0)

Before scrolling (eg moving the main character)
screenshot from 2016-03-23 13 13 44

After scrolling (to the right for approx once the camera width)
screenshot from 2016-03-23 13 14 12

After scrolling (to the right for approx four times the camera width and to top 2-3 times the camera height)
screenshot from 2016-03-23 13 18 11

Seems that the tiles can't be reassembled at original rotation and coordinates after leaving the camera focus. And every time tiles leaving and reenter the camera area, they seem to reassembled randomly.

Hope you can help here!

from phaser-tiled.

Weedshaker avatar Weedshaker commented on June 25, 2024

Sure!

-> test3(box)_phaserTiled.zip

Thanks for having a look at it!

from phaser-tiled.

englercj avatar englercj commented on June 25, 2024

Thanks man, I'm pretty busy atm (OT at work, rewriting phaser-debug). But I'll try to get this fixed as soon as I can.

from phaser-tiled.

Weedshaker avatar Weedshaker commented on June 25, 2024

Cool!

from phaser-tiled.

Weedshaker avatar Weedshaker commented on June 25, 2024

We recently released our tech demo and so I can serve you a 1 to 1 comparison. v 1.4.1 vs. 2.0.0. I don't change any other code but plugging the different versions of phaser-tiled:

version 1.4.1:
http://52.193.238.13/shoga9team/

version 2.0.0
http://52.193.238.13/shoga9team/phaser-tiled-2_0_0-test/

I hope that you can find the issue! Again, thank you for your effort!

from phaser-tiled.

Weedshaker avatar Weedshaker commented on June 25, 2024

@englercj MannyC's change fixes the bug! Can confirm this after testing it with my map.

Cheers

from phaser-tiled.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.