defold (official)
defold/extension-simpledata
A native extension that adds a .simpledata component type, editable in the
editor and built by a Bob plugin. Each component holds preset fields such as
name, f32, i32, v3 and an array_f32 list. It also serves as an
example of adding a custom resource and component type.
Lua API not typed — upstream ships no .script_api, so resolve skips it.
- GitHub: defold/extension-simpledata — pinned to
v1.2.0(released while Defold 1.12.0 was current)- Pick a release from defold/extension-simpledata releases and add its Source code (zip) URL (or a packaged
.zipasset, if the library ships one) togame.projectunder[project]dependencies, then Fetch Libraries in the Defold editor. - Add
.simpledatacomponents to game objects. - Read single fields with
go.get. - Read the whole float array into a Lua table with
simpledata.get_array_f32(url).
- Pick a release from defold/extension-simpledata releases and add its Source code (zip) URL (or a packaged
Engine APIs
Component fields are read through go (go.get), including
indexed access to array_f32.