Comments (7)
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.
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?
- How do you use it on real games?
- What needs to be improved?
- What's missing?
- Is it helpful?
Let me know if there's something else,
Cheers!
from phaser-state-transition.
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.
Thank you for all your answers, really appreciate it.
I'll get back with updates.
Thanks
from phaser-state-transition.
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.
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.
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)
- [Question] Need help to use this plugin HOT 10
- state "create" method being called twice when using "In" transition HOT 14
- Want to use default state parameter HOT 2
- State slide left transition in draws twice HOT 10
- Transition does not care about camera position HOT 2
- Starting a transition while a transition is running creates a ghost snapshot HOT 4
- `game.state.start` can take other parameters, which this hijacks HOT 5
- Misplaced sprites and groups after state transition HOT 5
- Add list of transitions HOT 3
- (chore) Benchmark tests should be included
- Codepen examples HOT 1
- Persistent Sprites Hidden behind background in Snapshot HOT 6
- Typescript definition updates ? HOT 3
- How to disable anti-aliasing during transition? HOT 7
- Blank screen before transition HOT 1
- Screen blinking upon transition HOT 4
- Support for v3
- v2.10.0 breaks the position of the slide HOT 2
- Unable to use .js HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phaser-state-transition.