Comments (8)
Good point. I've been thinking about introducing text inputs before. For mobile users, we'd probably have to use an in-canvas virtual keyboard, though, because the native keyboard can't be triggered without the use of HTML. And this of course gives us limitations in the game's minimum width :) But maybe that isn't that big of a problem.
I'll look into it anyway. If you have any suggestions let me know or try setting something up.
from slick-ui.
Yeah, unfortunately the only way I know of to open the soft keyboard involves invisible HTML inputs, which would probably not be the best idea.
Even if it's a PC-only feature, I can still see if being quite useful. I'm not too sure how difficult it would be to create your own soft keyboard for mobile devices. Thanks for the quick reply! :)
from slick-ui.
are you implementing alla the
elements? I mean , <textarea>, , , eccThanks.
from slick-ui.
Currently working out a text input solution for mobile and desktop users. File input fields will not be supported, because that does not belong in game UI in my opinion.
from slick-ui.
True, the main focus of Phaser is gaming, although sometime Phaser could be used to develop applications.
What about < select > ?
thanks
from slick-ui.
This plugin will only facilitate game development UI :)
Please create a new issue addressing dropdown elements and we'll discuss it there.
from slick-ui.
The requested feature has been added - text input fields.
Went for a virtual keyboard approach. It might still contain some bugs so use with caution. Also, I will abstract components into several different 'things' in the future (trying to maintain backward compatibility) to allow for more visual independence.
Release 0.3.0
from slick-ui.
You are awesome! Thanks so much!
from slick-ui.
Related Issues (20)
- basic & minimum unit testing coverage HOT 1
- license? HOT 4
- multiple sliders on a page do not get move callback HOT 2
- Vertical Slider (new Feature) HOT 3
- Scrollbar in containers
- how to hide/delete panels / elements? HOT 2
- Update button/element text and/or destroy panel? HOT 4
- Slider fixed to camera HOT 1
- Slider handle snaps to position onDragStop
- Texture Atlas support HOT 2
- How do you bring a panel to top HOT 3
- Changing text color HOT 1
- Upload to npm? HOT 6
- Keyboard not hiding when parent.visible = false
- slick-ui.js
- Borders as offset
- Phaser 3 support? HOT 2
- last working version that works with Phaser CE is from August 22, 2016?
- phaser object variable name
- can't add "Panel"
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 slick-ui.