Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a way to define simple data names and its types from editor #8

Open
VikSin opened this issue Dec 31, 2023 · 1 comment
Open

Need a way to define simple data names and its types from editor #8

VikSin opened this issue Dec 31, 2023 · 1 comment

Comments

@VikSin
Copy link

VikSin commented Dec 31, 2023

Currenty I have to make changes in project code for pre define data names and it's type for producing simple data component with those data names. If I have to add new entries then I have to again edit project code. Also there is no way to create simpledata component with different set of data names.

What's the problem?
Let's say if someone using this in production for big project and in middle they need to define more data names then they have to make change in code and add updated extension as depencecy in editor to build to get new component with new data names. If in game they have already created lots of game objects with previous simpledata component they have to replace previous component with updated component.(I have no clue on this if previous embeded simpledata component will update with new data names automatically or not. If not then there is lots of manual work needed in replacing old simpledata component with new one)

Their is need a way to define simpledata data names from editor and expose those data names field in simpledata component. Just like go propery has in script component.

I realy like this extension project. And it's really suitable for projects with lots of objects which need to define behaviours where we can't add script to every object due to 1024 script limits.

Idea -

Maybe a way create multiple files to define attributes(data names) and it's type
SimpleData Attributes
SimpleData Attributes-1

Another file to attach all multiple files that define attributes
SimpleData Set

And last after building project when we create simple data component there is need a way to which set of simpledata to use , exposing attribute field based on those set -
SimpleData
Frame 828

@britzl britzl changed the title Need a way to define simple data names and its types form editor Need a way to define simple data names and its types from editor Jan 4, 2024
@britzl
Copy link

britzl commented Jan 4, 2024

We do have plans for a much more dynamic data component type to be part of the core of Defold. I'm not sure when this will happen in the Defold core, but we will not expand this example component to support these things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants