Giter Club home page Giter Club logo

Comments (7)

stephanedemotte avatar stephanedemotte commented on May 17, 2024

A better doc :)

Need to know how we can add our custom transition, could be cool to add this in the current version ;)

from phaser-state-transition.

cristianbote avatar cristianbote commented on May 17, 2024

Hi Stephane,

Thanks for reaching out! Is the custom transition the only thing that's left out? I'm more than happy to address it in the README.md.

Also, would you mind, answering the questions highlighted at the top?

  1. How do you use it on real games?
  2. What needs to be improved?
  3. What's missing?
  4. Is it helpful?

Let me know if there's something else,
Cheers!

from phaser-state-transition.

stephanedemotte avatar stephanedemotte commented on May 17, 2024

For the moment, yes ! It's the only thing is missing, for me ;)

I'm very new new in the game dev world.

1 - Yes for a small game for a museum (with physical controls)
2 - I can't say a lot, i'm a noob in phaser.
3 - Like i said, a better doc
4 - Very ! Transition state, is the missing piece in PHASER.State manager

Thanks a lot !

from phaser-state-transition.

cristianbote avatar cristianbote commented on May 17, 2024

Thank you for all your answers, really appreciate it.
I'll get back with updates.

Thanks

from phaser-state-transition.

damienleroux avatar damienleroux commented on May 17, 2024

Hello. Here is my feedback:

How do you use it on real games?

I'm using PhaserJs in a React/Cordova env. I'm using react router for navigation between game pages. For now, this router doesn't affect the phaser game dom element. I need to handle transitions on this dom element without react-router. I need a simple fadeIn/fadeOut transition.

What needs to be improved? What's missing?

  • The transition effect speed need to be be controlled (like react router that used react-motion spring function to handle animation stifness and damping). Maybe the props duration does the job. I'll test it.

  • A documentation should explain how to create it own transition, what are the available props and should explain how it affects the game state.

  • Maybe writing ES6 code with a babel parser to create the dist folder could ease the code and offer a better contribution from community.

  • include a default fadeIn/fadeOut transition. If I can create one, I'll make a pull request

Is it helpful?

Yes!! Really. I think it a very good idea to have create it. I don't know if @photonstorm think to include it in phaser 3.

Thank you!

from phaser-state-transition.

cristianbote avatar cristianbote commented on May 17, 2024

Hey @damienleroux, thank you so much for your feedback and your pull request!

I'm glad it's useful and you use it, I'll take into consideration your points, and as always, if you don't wanna wait for my free time, feel free to submit any pull request.

About the es6 conversion, I have it on my mind since, idk, 2 years ago I think. I created even a project for it, to track the progress, but free time never came around my door 😞 . I have to do it, though, it's getting really obsolete at this point.

Cheers!

from phaser-state-transition.

cristianbote avatar cristianbote commented on May 17, 2024

Hey guys, finally managed to release a proper es6 version. Is not much, just basically what it was but in es6. I'll get to do some more improvements soon.

Thank you for your feedback, I really appreciate all the feedback and suggestions!

Cheers!

from phaser-state-transition.

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.