jsfehler / phaser-ui-tools Goto Github PK
View Code? Open in Web Editor NEWUI Kit for the Phaser game engine. Rows, columns, viewports, scrollbars, stuff like that.
License: MIT License
UI Kit for the Phaser game engine. Rows, columns, viewports, scrollbars, stuff like that.
License: MIT License
Create the /assets folder and dump the images there.
1.9.2
to 1.9.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
rollup is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
2019-04-10
The new version differs by 3 commits.
516a06d
1.9.3
a5526ea
Update changelog
c3d73ff
Handle out-of-order binding of identifiers to improve tree-shaking (#2803)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Thanks for the library, it's amazing. Great job!
Just adding the file in the index.html and reloading I get this error:
phaser-ui-tools.js:41 Uncaught TypeError: Super expression must either be null or a function, not undefined
at inherits (phaser-ui-tools.js:41)
at phaser-ui-tools.js:77
at phaser-ui-tools.js:124
at phaser-ui-tools.js:4
at phaser-ui-tools.js:5
inherits @ phaser-ui-tools.js:41
(anonymous) @ phaser-ui-tools.js:77
(anonymous) @ phaser-ui-tools.js:124
(anonymous) @ phaser-ui-tools.js:4
(anonymous) @ phaser-ui-tools.js:5
phaser.min.js:1 My Game / Phaser v3.16.2 (WebGL | Web Audio)
For vertical ValueBars and QuantityBars, the 0 value is at the top and the max value is at the bottom. Depending on the situation, it makes more sense to start from the bottom.
The ambition is to support Phaser CE and Phaser 3 with the same library, without added configuration.
Known Knowns:
Known Unknowns:
Unknown Unknowns:
Still unknown, unfortunately...
Phaser 3 Tool Status
Add examples to readme
They're now Containers/Groups with a Sprite and Text inside, not a Sprite with text as a child. Setting text is a separate function call, etc
disableOutOfBounds method of viewport toggles inputEnabled property, which has been replaced by setInteractive()/disableInteractive().
Hi there, I love the idea of this library but I seem to be running into constant problems while trying to use it. I am trying to create a row in my UI scene,
import uiWidgets = require('phaser-ui-tools');
class UIScene extends Phaser.Scene {
public row;
constructor() {
super({ key: 'uiScene', active: true, visible: true });
}
create() {
this.row = new uiWidgets.Row(this.game, 8, 8); <-----
}
update() {}
}
export default UIScene;
but when I run it I get the error,
GameObject.js?1577:192 Uncaught TypeError: Cannot read property 'queueDepthSort' of undefined
at e.GameObject [as constructor] (GameObject.js?1577:192)
at e.Container [as constructor] (Container.js?1649:93)
at e (phaser-ui-tools.js?fde5:1)
at e (phaser-ui-tools.js?fde5:1)
at new e (phaser-ui-tools.js?fde5:1)
at UIScene.create (uiScene.ts?89dd:15)
at SceneManager.create (SceneManager.js?cec0:612)
at SceneManager.bootScene (SceneManager.js?cec0:498)
at SceneManager.start (SceneManager.js?cec0:1193)
at SceneManager.bootQueue (SceneManager.js?cec0:238)
Here is my main entry file,
import * as Phaser from 'phaser';
import ClientScene from './scenes/clientScene';
import UIScene from './scenes/uiScene';
const gameConfig: Phaser.Types.Core.GameConfig = {
title: 'RTS Game',
input: { mouse: true },
width: window.innerWidth,
height: window.innerHeight,
type: Phaser.AUTO,
audio: {
disableWebAudio: true
},
physics: {
default: 'arcade',
arcade: {
debug: false
}
},
scene: [ClientScene, UIScene],
parent: 'game',
backgroundColor: '#000'
};
const game = new Phaser.Game(gameConfig);
I am using webpack and typescript, perhaps these may be the culprit?
1.14.2
to 1.14.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
rollup is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
2019-06-06
The new version differs by 4 commits.
c68bd95
1.14.3
d79aa57
Update changelog
7179390
Use browser relative path algorithm for chunks (#2902)
b1df517
Add funding button
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
6.6.0
to 6.7.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
312a88f
New: Add grouped-accessor-pairs rule (fixes #12277) (#12331) (Milos Djermanovic)5c68f5f
Update: Add 'lexicalBindings' to no-implicit-globals and change messages (#11996) (Milos Djermanovic)6eaad96
New: Add suggestions API (#12384) (Will Douglas)b336fbe
Fix: indent rule with JSX spread props (#12581) (Nathan Woltman)97c745d
Update: Report assignment expression location in no-cond-assign (#12465) (Milos Djermanovic)0f01f3d
Update: Check member expressions with this
in operator-assignment (#12495) (Milos Djermanovic)62c7038
Fix: invalid token checking in computed-property-spacing (fixes #12198) (#12533) (YeonJuan)4f8a1ee
Update: Add enforceForClassMembers option to no-useless-computed-key (#12110) (ark120202)1a2eb99
New: new rule no-constructor-return (fixes #12481) (#12529) (Pig Fang)ca3b2a6
New: ignorePatterns in config files (refs eslint/rfcs#22) (#12274) (Toru Nagashima)60204a3
Docs: Added another Textmate 2 bundle. (#12580) (Ryan Fitzer)62623f9
Fix: preserve whitespace in multiline-comment-style (fixes #12312) (#12316) (Kai Cataldo)17a8849
New: Add no-dupe-else-if rule (fixes #12469) (#12504) (Milos Djermanovic)41a78fd
Update: improve location for semi and comma-dangle (#12380) (Chiawen Chen)0a480f8
Docs: Change "Code Conventions" link in pull-requests.md (#12401) (Denis Sikuler)fed20bb
Fix: require-await crash on global await (#12571) (Brad Zacher)b8030fc
Update: deprecate personal config (fixes #11914, refs eslint/rfcs#32) (#12426) (Toru Nagashima)40c8c32
Fix: improve report location for object-curly-spacing (#12563) (Milos Djermanovic)1110045
Fix: ignore marker-only comments in spaced-comment (fixes #12036) (#12558) (Milos Djermanovic)6503cb8
Update: Fix uglified object align in key-spacing (fixes #11414) (#12472) (YeonJuan)40791af
Docs: clarify ignoreDestructuring option in the camelcase rule (#12553) (Milos Djermanovic)07d398d
Chore: Add GitHub organization to Sponsor button (#12562) (Brandon Mills)a477707
Chore: Format style guide links so they can be clicked (#12189) (Ivan V)0f7edef
Update: add react plugin config for eslint init (#12446) (Ibrahim Rouis)448ff1e
Update: Report '\08' and '\09' in no-octal-escape (fixes #12080) (#12526) (Milos Djermanovic)45aa6a3
New: Add no-setter-return rule (fixes #12285) (#12346) (Milos Djermanovic)0afb518
Fix: invalid autofix in function-call-argument-newline (fixes #12454) (#12539) (YeonJuan)90305e0
Update: Depcrecate isSpaceBetweenTokens() (#12519) (Kai Cataldo)41b1e43
New: add option for camelcase (fixes #12527) (#12528) (Pig Fang)f49f1e0
Upgrade: upgrade optionator to avoid license issue (fixes #11536) (#12537) (Pig Fang)0286b57
Docs: Clean up Getting Started Guide (#12544) (Nicholas C. Zakas)575a98d
Chore: Add funding field to package.json (#12543) (Nicholas C. Zakas)9e29e18
Fix: sourceCode#isSpaceBetweenTokens() checks non-adjacent tokens (#12491) (Kai Cataldo)5868550
Docs: add notice about function
keyword in keyword-spacing (#12524) (Pig Fang)bb556d5
Fix: curly multi
reports single lexical declarations (fixes #11908) (#12513) (Milos Djermanovic)ac60621
Fix: unexpected autofix in prefer-const (fixes #12514) (#12521) (YeonJuan)990065e
Update: curly multi-or-nest flagging semis on next line (fixes #12370) (#12378) (cherryblossom000)084a8a6
Fix: no-cond-assign with always
option reports switch case clauses (#12470) (Milos Djermanovic)7e41355
Update: improve report location for space-infix-ops (#12324) (Chiawen Chen)94ff921
Update: Add capIsConstructor option to no-invalid-this (fixes #12271) (#12308) (Milos Djermanovic)de65de6
New: Add prefer-exponentiation-operator rule (fixes #10482) (#12360) (Milos Djermanovic)c78f4a7
Update: Allow JSX exception in no-inline-comments (fixes #11270) (#12388) (Milos Djermanovic)e17fb90
New: allowAfterThisConstructor for no-underscore-dangle (fixes #11488) (#11489) (sripberger)287ca56
Build: update CI for Node.js 13 (#12496) (Toru Nagashima)98e1d50
Upgrade: globals to v12.1.0 (#12296) (Tony Brix)8ac71a3
Sponsors: Sync README with website (ESLint Jenkins)4e142ea
Docs: Update README team and sponsors (ESLint Jenkins)The new version differs by 49 commits.
61848b4
6.7.0
9162db9
Build: changelog update for 6.7.0
312a88f
New: Add grouped-accessor-pairs rule (fixes #12277) (#12331)
5c68f5f
Update: Add 'lexicalBindings' to no-implicit-globals and change messages (#11996)
6eaad96
New: Add suggestions API (#12384)
b336fbe
Fix: indent rule with JSX spread props (#12581)
97c745d
Update: Report assignment expression location in no-cond-assign (#12465)
0f01f3d
Update: Check member expressions with this
in operator-assignment (#12495)
62c7038
Fix: invalid token checking in computed-property-spacing (fixes #12198) (#12533)
4f8a1ee
Update: Add enforceForClassMembers option to no-useless-computed-key (#12110)
1a2eb99
New: new rule no-constructor-return (fixes #12481) (#12529)
ca3b2a6
New: ignorePatterns in config files (refs eslint/rfcs#22) (#12274)
60204a3
Docs: Added another Textmate 2 bundle. (#12580)
62623f9
Fix: preserve whitespace in multiline-comment-style (fixes #12312) (#12316)
17a8849
New: Add no-dupe-else-if rule (fixes #12469) (#12504)
There are 49 commits in total.
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Would you be interested in a PR that would contribute TS types?
2.16.0
to 2.17.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-import is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 61 commits.
0499050
bump to v2.17.0
f479635
[webpack] v0.11.1
8a4226d
Merge pull request #1320 from bradzacher/export-ts-namespaces
988e12b
fix(export): Support typescript namespaces
70c3679
[docs] make rule names consistent
6ab25ea
[Tests] skip a TS test in eslint < 4
405900e
[Tests] fix tests from #1319
2098797
[fix] export
: false positives for typescript type + value export
70a59fe
[fix] Fix overwriting of dynamic import() CallExpression
e4850df
[ExportMap] fix condition for checking if block comment
918567d
[fix] namespace
: add check for null ExportMap
2d21c4c
Merge pull request #1297 from echenley/ech/fix-isBuiltIn-local-aliases
0ff1c83
[dev deps] lock typescript to ~
, since it doesnβt follow semver
40bf40a
[*] [deps] update resolve
28dd614
Merge pull request #1304 from bradennapier/feature/typescript-export-type
There are 61 commits in total.
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Considering the hardships that Travis is experiencing since it was bought out, the uncertain future its OSS offering has, and rather sluggish queueing system, would you be interested in a PR that would migrate the CI to GA?
When using the keyboard to move the ValueBar, the bar does not stop at the min/max values. Hitting the keyboard again causes the bar to move outside the track.
4.35.1
to 4.35.2
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
realResource
must match absolute pathsThere is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Hi, thanks for these amazing utilities, they saved my day!
I'm building a viewport that id'like to use as a slider, so i need to use two buttons to scroll left and right. Is there any way of scrolling the viewport without using a scrollbar?
Thanks in advance!
When multiple bars are on screen, using the keyboard arrows will move every bar. Using the keyboard should only move one bar at a time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.