MichaelD Posted September 17, 2015 Share Posted September 17, 2015 Hello all, I just released my PhaseSlider UI component, which is a (duh!) Slider with many options and functionalities, take a look at the github repo: https://github.com/netgfx/PhaseSlider or the examples here for advanced: http://www.netgfx.com/trunk/games/libs/phaseslider/examples/example1.htmlor here for basic example: http://www.netgfx.com/trunk/games/libs/phaseslider/examples/index.html drhayes, stupot, jdnichollsc and 1 other 4 Link to comment Share on other sites More sharing options...
crouzilles Posted September 17, 2015 Share Posted September 17, 2015 Nice one, thanks for sharing MichaelD 1 Link to comment Share on other sites More sharing options...
wayfinder Posted September 17, 2015 Share Posted September 17, 2015 That's not at all what I expected from the name Fenopiù and afcruzs 2 Link to comment Share on other sites More sharing options...
MichaelD Posted September 17, 2015 Author Share Posted September 17, 2015 hm... maybe I should rename it to carousel or something similar Link to comment Share on other sites More sharing options...
Skeptron Posted September 18, 2015 Share Posted September 18, 2015 Tried it and really works well so far. Super nice job! MichaelD and jdnichollsc 2 Link to comment Share on other sites More sharing options...
NateTheGreatt Posted September 18, 2015 Share Posted September 18, 2015 I came here also expecting actual sliders . Carousel would probably be a better name. Very cool though, I will utilize this in my game! Thank you for sharing MichaelD 1 Link to comment Share on other sites More sharing options...
jdnichollsc Posted September 21, 2015 Share Posted September 21, 2015 Excellent my friend! Thanks for your work! Regards MichaelD 1 Link to comment Share on other sites More sharing options...
beuleal Posted September 21, 2015 Share Posted September 21, 2015 That's not at all what I expected from the name Im working on it! Comming Soon! jdnichollsc 1 Link to comment Share on other sites More sharing options...
jdnichollsc Posted September 21, 2015 Share Posted September 21, 2015 Im working on it! Comming Soon! Niceee! Link to comment Share on other sites More sharing options...
jdnichollsc Posted September 25, 2015 Share Posted September 25, 2015 hahaha sorry, my example was bad. This works excellent! MichaelD 1 Link to comment Share on other sites More sharing options...
MichaelD Posted September 28, 2015 Author Share Posted September 28, 2015 Updated the git repo with new options and some fixes. New options include: modal (to be placed behind the carousel), modalAlpha (to control the opacity of the modal), staticElements (to add static elements to the carousel, like buttons etc) Check it out here: https://github.com/netgfx/PhaseSlider Thanks! jdnichollsc 1 Link to comment Share on other sites More sharing options...
jdnichollsc Posted September 28, 2015 Share Posted September 28, 2015 Updated the git repo with new options and some fixes. New options include: modal (to be placed behind the carousel), modalAlpha (to control the opacity of the modal), staticElements (to add static elements to the carousel, like buttons etc) Check it out here: https://github.com/netgfx/PhaseSlider Thanks! Nice my friend!! I have a suggestion: http://screencast.com/t/HYQJfNfwF3 (Very useful if you handle a counter) Regards, Nicholls Link to comment Share on other sites More sharing options...
MichaelD Posted September 28, 2015 Author Share Posted September 28, 2015 Thanks I will look into it! jdnichollsc 1 Link to comment Share on other sites More sharing options...
Skeptron Posted November 24, 2015 Share Posted November 24, 2015 Hey MichaelD! Just used your plugin lately and noticed some kind of weird behaviour you might have introduced in your latest commits : if I remove one of the elements of the display list (let's say, only 3 monsters instead of 4), there would still be an invisible option at the fourth slot. With the buttons. I quickly debugged the plugin code and found out that there is an undesired object in the _this.options._objects array, which I removed manually. In my case it was a graphics object.After removing it the plugin works as expected. But that's no proper bugfix... Link to comment Share on other sites More sharing options...
MichaelD Posted November 24, 2015 Author Share Posted November 24, 2015 Ok I will look into it. Thanks for the heads up! Link to comment Share on other sites More sharing options...
mattdudley Posted January 27, 2016 Share Posted January 27, 2016 Nice!!! I've been looking the past week for something just like this. MichaelD 1 Link to comment Share on other sites More sharing options...
MichaelD Posted January 27, 2016 Author Share Posted January 27, 2016 I'm glad you like it, also checkout some of my other plugins for phaser: - https://github.com/netgfx/Phasetips - https://github.com/netgfx/phaser_modals - https://github.com/netgfx/Phaser-typewriter jdnichollsc 1 Link to comment Share on other sites More sharing options...
Ivasik Posted March 7, 2016 Share Posted March 7, 2016 On 27.01.2016 at 7:52 PM, MichaelD said: I'm glad you like it, also checkout some of my other plugins for phaser: - https://github.com/netgfx/Phasetips - https://github.com/netgfx/phaser_modals - https://github.com/netgfx/Phaser-typewriter Can someone loop slider? That did not stop at ending the slide and repeated the first. I would also like to see the implementation of the memorization of the slide at which he stopped Link to comment Share on other sites More sharing options...
MichaelD Posted March 7, 2016 Author Share Posted March 7, 2016 This functionality hasn't been implemented yet, but usually you can "fake" infinite loop by moving the slide the passed into the end, this is doable, it just hasn't been implemented. Link to comment Share on other sites More sharing options...
Ivasik Posted March 7, 2016 Share Posted March 7, 2016 How about "I would also like to see the implementation of the memorization of the slide at which he stopped"? Link to comment Share on other sites More sharing options...
MichaelD Posted March 7, 2016 Author Share Posted March 7, 2016 The slider can navigate to a specific index, you can save the slide that it is in, and then make it navigate to that. The slider supports the following functions: getCurrentIndex moveToSlide(index, animate) <- animate is true/false The animations can be virtually set off by setting the property of animationDuration to 0 Link to comment Share on other sites More sharing options...
MichaelD Posted March 7, 2016 Author Share Posted March 7, 2016 I don't understand the question. To virtually turn on animations, set the animationDuration property to 0. It will still be "animating" but you will not see any movement because the change will be instant. Link to comment Share on other sites More sharing options...
Ivasik Posted March 7, 2016 Share Posted March 7, 2016 Just now, MichaelD said: I don't understand the question. To virtually turn on animations, set the animationDuration property to 0. It will still be "animating" but you will not see any movement because the change will be instant. Oh, understand. Thanks. Link to comment Share on other sites More sharing options...
Ivasik Posted March 7, 2016 Share Posted March 7, 2016 5 minutes ago, MichaelD said: I don't understand the question. To virtually turn on animations, set the animationDuration property to 0. It will still be "animating" but you will not see any movement because the change will be instant. For the future, if possible make a vertical flip(as a separate library). Example: Link to comment Share on other sites More sharing options...
MichaelD Posted March 7, 2016 Author Share Posted March 7, 2016 If you read the github docs mode: Type of movement for the slides (default horizontal, vertical-from-bottom, vertical-from-top) it supports vertical alignment of slides already. If that was what you meant. Link to comment Share on other sites More sharing options...
Recommended Posts