Comments (7)
Hi, you can create a user component with additional user properties and add it to any game object in the scene.
https://help-v3.phasereditor2d.com/scene-editor/user-components.html#
from phasereditor2d-v3.
@PhaserEditor2D creating custom component is not what i want, because I want to specify numeric value (0-255) for z axis, which differs from sprite to sprite.
As all gameObjects have this property already, id just want to see it in Phaser editor.
from phasereditor2d-v3.
So you don't need a custom/user property, what you need is to add the Z property to the editor. It means, a new feature in the editor.
from phasereditor2d-v3.
@PhaserEditor2D that's right. But I presume that most users won't need to see Z property in the panel. Could we have a button to "add" a property and it's value?
from phasereditor2d-v3.
Could we have a button to "add" a property and it's value?
Mmm... I don't know I have to think more about it. We have a button to add a user component :)
Btw, why do you need the Z property? What kind of stuff you are making? Maybe it is part of a bigger feature that I plan to implement.
from phasereditor2d-v3.
I'd like to use Z axis to specify at which height the block / sprite is placed in isometric world, as I'd like to create multi-height isometric world.
currently I'm writing this Z in custom prefab exposed property, but ideally I'd like to set it to Gameobject.Image as it's just terrain
from phasereditor2d-v3.
Oh yes, I have to do more about isometrics. Like a sorting layer. It will help in the case of isometrics and also other kind of worlds.
from phasereditor2d-v3.
Related Issues (20)
- Isometric depth sorting in editor
- v3.65.0 uploaded with a wrong release date in the title HOT 1
- Only Generate Methods no instance to Scene
- Collapsible tags in object tree
- Extending container not supported in editor HOT 6
- Issue adding new prefab after deleting existing one (Windows) HOT 3
- Move assets from one asset pack to another HOT 1
- Add "protected" scope property option in object settings HOT 1
- Add support to compressed textures
- Preload Pack Files in Compiler Scene Settings doesn't work with webpack
- Deep collapse / expand with Alt modifier
- Ctrl + D to clone game object / script node as a sibling
- Add editor only gizmos
- Outline expanded state is lost on various actions HOT 3
- Pasting multiple script nodes changes their ordering HOT 2
- Display current pointer coordinates
- Cannot change property values of component HOT 6
- Copying & pasting a container should automatically rename the children objects
- Project template for making a discord game activity.
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 phasereditor2d-v3.