PhaserEditor2D-v3 icon indicating copy to clipboard operation
PhaserEditor2D-v3 copied to clipboard

Custom property editor for UserComponent, like input fields for vector2 etc, and more

Open gon777 opened this issue 3 years ago • 3 comments

Dear PhaserEditor2D devs, hi!

In user component, it might be good if we could add properties like vector2, like image

or, it feels more convenient if we are allowed to add more generic properties like objects with {min: value, max:value} or {start:value, end:value, ease:value}

or even better, a fully customized editor window for custom data

gon777 avatar May 14 '21 00:05 gon777

Hi @gon777

I think I can develop a custom Vector2 editor. But a general custom editor requires you to create an extension. I will implement the Vector2 editor, and I will think about the extension for a custom editor.

PhaserEditor2D avatar May 14 '21 12:05 PhaserEditor2D

could you also create editors for some common config objects used in tween and particles, like {min, max} / {start, end} = {float, float} {start, end, ease} = {float, float, ease string} {start, end, steps}/{min, max, steps}/{start, from, to} = {float ,float , float}

That would be really helpful

gon777 avatar May 14 '21 13:05 gon777

Well.. but those are not general enough. You can create separate properties for it. Even, for the easee property, you can use the Option type.

PhaserEditor2D avatar May 14 '21 15:05 PhaserEditor2D