phaser3-plugins's People
Forkers
ugbotphaser3-plugins's Issues
customisable "health" bar
Merge webpack / build configs
- KISS etc, and merge duplicate webpack / build configs
Fix dependency tree used in package
Plugin ideas / spitballing
- Drag select
- Health bar
- Formation movement (showing formations of grouped units)
- Migrate over the navmesh plugin
- Customisable fog of war
- Selection utility, to flag Sprites as selected?
- Building / construction widget
- "Spell" casting
- Central "brain" that controls
GameObject
movement, AI, etc. Following a rough "mediator" pattern - ???
Add optional rotation calculations to engine
- Add the ability to configure rotation to the
GameObject
, if desired.
Fog of War boilerplate
Create basic wireframe for health-bar plugin
- Set up the monorepo package
- Wire up a basic suite of plugin => scene => sprite logic to get started on.
Add health-bar scene to InterfaceScene
- Add the health bar graphics to the shared
InterfaceSCene
instead of the bespoke one currently used in the plugin.
Brain plugin
- A plugin that gives a
GameObject
a brain, that controls movement, and any actions that it can be given to perform (attacking, spells, whatever) - This might be a big one, in theory
Render health-bars to own scene
- If the scene can be zoomed, then makes sense that the health-bars maintain a certain size, not to lose readability if the user zooms out too far.
- So, like the drag-select, render to a separate scene...
Create boilerplate package for formation movement
- Basic set-up stuff
Can't import phaser3-drag-select
I tried to import the phaser3-drag-select module, and can't get it to work. Just using
import DragSelectPlugin from '@pixelburp/phaser3-drag-select';
console.log(DragSelectPlugin);
logs DragSelectPlugin as undefined. I also tried referencing the dist/phaser3-drag-select-plugin.js file directly and using require instead and all of them fail. Is there something special you are doing when distributing the code which would break a standard webpack workflow?
Basic calculation of a group of sprites
- Given a grouping of sprites, and a destination location
- Calculate possible formations, depending on cursor movement (so click and hold to change the shape)
- Lock the calculations based on potential grids (useful for tile based movement
Fix health bar plugin deploy
Support complex tinting
- Support
Array
values in tinting, to allow more granularity in the shading of the bars
Add documentation to health-bar plugin
- See subject
Animate increase or decrease or bar
- animate the increase or decrease of the values
Migrate NavMesh plugin over to Phaser 3
- A very old plugin but one worth migrating: https://www.npmjs.com/package/phaser-navmesh-generation
- Lots of dependencies that'll need updating, as well as the overall change to how Plugins, Scenes and Tilemaps work between Phaser 2 & Phaser 3
Behaviour of formation
- Rather than watch, explicitly tell plugin to start watching. Then
- use
once
event tracking to watch the drag and up events, sending back the results - otherwise there'll be conflicts with various mouse down events
- might be worth doing same for drag select
[drag-select] Documentation and how-tos
- Add some how tos and documentation for this
"Engine" plugin
- Some baseline plugin that gives nominated Game Objects some automated motion.
- Given an Array of waypoints - or a mixture of waypoints and "Target" sprites - move to each.
- This will be agnostic to actions; so if a waypoint is a Sprite, "stop" at the Sprite and do nothing. Another plugin will handle behaviour thereof.
- Allow some configuration for โ๏ธ this case, as you won't want to move right up to the Sprite.
Update navmesh documentation
Shared 'interface' scene?
- With drag-select and formation-generator, both use functionally identical scenes to display the various UI widgets
- rather than have multiple scenes per plugin, it'd be useful to have a single shared scene.
- So the first plugin started would generate the scene, while any subsequent plugins would tap into that scene.
Add netlify support to spin up the demo pages
- As per subject, support netlify so on change to
master
, we build out those demos to netlify
Support multiple bars
- track multiple properties in a sprite
- stack each on top of each other.
- useful for shields, that sort of thing
Merge global configs, function to private package
- Things like
forEach
, the webpack configs should be moved to their own package - Make this package private
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.