Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brunolkatz/go_to_gdtype
Convert Go variables to binary serialized bytes array to "unserielize" with get_var function in Godot GDScript native
https://github.com/brunolkatz/go_to_gdtype
gdscript godot
Last synced: about 1 month ago
JSON representation
Convert Go variables to binary serialized bytes array to "unserielize" with get_var function in Godot GDScript native
- Host: GitHub
- URL: https://github.com/brunolkatz/go_to_gdtype
- Owner: brunolkatz
- License: gpl-3.0
- Created: 2021-01-11T12:17:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-11T18:53:00.000Z (about 4 years ago)
- Last Synced: 2024-11-14T12:53:42.105Z (3 months ago)
- Topics: gdscript, godot
- Language: Go
- Homepage:
- Size: 27.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Project: go_to_gdtype
------------------------This package is used to binary serialize Go variables to GDScript (Godot). Can be used to transport tcp packets and unserialize with ```get_var``` function
in Godot GDScript native function.Supported variables:
Type | Value | Struct |
-----|-------|--------|
0 | null | **Serialize unsupported**
1 | bool | GDTypeBool
2 | integer | GDTypeInteger32
3 | float | GDTypeFloat
4 | string | GDTypeString / string
5 | vector2 | GDString
6 | rect2 | GDRect2
7 | vector3 | GDVector3
8 | transform2d | GDTransform2d
9 | plane | GDPlane
10 | quat | GDQuat
11 | aabb | GDAabb
12 | basis | GDBasis
13 | transform | GDTransform
14 | color | GDColor
15 | node path | GDNodePath
16 | rid | GDTypeRid - **Serialize unsupported**
17 | object | GDTypeObject - **Serialize unsupported**
18 | dictionary | GDDictionary
19 | array | GDArray
20 | raw array | GDRawArray
21 | int array | GDIntArray
22 | real array | GDRealArray
23 | string array | GDStringArray
24 | vector2 array | GDVector2Array
25 | vector3 array | GDVector3Array
26 | color array | GDColorArray
27 | max | **Serialize unsupported**