GithubHelp home page GithubHelp logo

We made a wrong move about examples HOT 10 CLOSED

pixijs avatar pixijs commented on May 5, 2024
We made a wrong move

from examples.

Comments (10)

bigtimebuddy avatar bigtimebuddy commented on May 5, 2024 3

Examples and use-cases to test against are two entirely different objectives. We need a better test suite for verifying changes. Like what bunnymark is for performance. Examples should not be that. I propose we build something new designed to just test features and is robust and comprehensive.

from examples.

themoonrat avatar themoonrat commented on May 5, 2024

No pixi application, no previous examples.

I think it's a fair trade off and we should ditch being able to use any previous tagged version

from examples.

ivanpopelyshev avatar ivanpopelyshev commented on May 5, 2024

Creating new plugin, "pixi-legacy", allows run new examples on older versions of pixijs

from examples.

clark-stevenson avatar clark-stevenson commented on May 5, 2024

ditch being able to use any previous tagged version

What was the point in that option? Just wondered, I see them sometimes on some projects, and wonder what the use case is?

from examples.

bigtimebuddy avatar bigtimebuddy commented on May 5, 2024

Examples are not about maintaining legacy and compatibility. If they are, we should manage the history in a better way. However, examples are getting newbies on-boarded quicker. Someone that uses v3 or a specific version should know enough to not require examples and demos. Examples should always be for the latest release.

from examples.

ivanpopelyshev avatar ivanpopelyshev commented on May 5, 2024

@clark-stevenson @bigtimebuddy I'm using it too test every major change. People use it too.

so, my new project, "pixi-legacy" will be able to upgrade old versions with hacks, and downgrade new ones too. It's supposed to be enabled in examples for all versions behind release.

from examples.

themoonrat avatar themoonrat commented on May 5, 2024

To easily compete how over version worked compared to another.

"I think version x introduced a bug"
"Ok, it actually change how it worked on version x.x"

I like a compatibility layer for examples that ivan suggested

from examples.

ivanpopelyshev avatar ivanpopelyshev commented on May 5, 2024

https://github.com/ivanpopelyshev/pixi-legacy

from examples.

clark-stevenson avatar clark-stevenson commented on May 5, 2024

Thanks guys, I understand why that might be helpful but why, as a consumer, I don't really use tags. I kind of agree with Matt due to that Bias.

Anyway I don't speak often, but kudos on the big examples PR ticket. I was stuck with a ripped V3 test which was probably 18 months old and I pretended it wasn't there because the examples confused me. I spent most of today re-writing that to match that PR. I appreciate the work that went into it which why I would hate to see it lost. Also Application is a great addition. It is amazing to extend Application and get rid of all the pish.

Ivan's new readme made me laugh, Most of my updates are a Friday Night and he knows. 👍

from examples.

staff0rd avatar staff0rd commented on May 5, 2024

What I need is an easy way to switch pixi versions against a pen.

from examples.

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.