{"repo":"Daylily-Zeleen/GUS-Godot-Universal-Serializer-2.0","free":true,"listed":false,"github":"https://github.com/Daylily-Zeleen/GUS-Godot-Universal-Serializer-2.0","clone":"git clone https://github.com/Daylily-Zeleen/GUS-Godot-Universal-Serializer-2.0.git","description":"A universal serializer, which target is size optimaize, for Godot 4.x.","language":"C++","stars":25,"topics":["encode","godot","godot-engine","serialization","serializer"],"license":"MIT","category":"game-templates","readme_excerpt":"GUS - Godot Universal Serializer 2 - Godot的通用序列化器2 中文文档 <- 点击这里。 A Godot's universal serializer for size optimization. Support all data types except Object , RID , Callable and Signal in Godot 4.x. Feature: 1. Without losing type information. Need not type detection and forced typce conversion in cross end transfer，just like local parameter transfer. 2. Integer are variable length serialization. 3. The serialized data size is smaller than JSON text to utf8 and the native serialization method var to bytes() .GUS is especially suitable for the serialization of structured small data transfer in multiplayer games. 4. GDExtension plugin, high performance. You can run the EditorScript which named GUS benchmark.gd to view the contrast between GUS , Native , and JSON . How to use: 1. Pass variable which without Object , OID , Callable , Signal into GUS.var to bytes() and get the serialized data, than send to network peer. 2. After the remote network peer obtains the serialized data, passe it into GUS.bytes to var() to get the same variable as before serialization. Be careful: 1. Array and Dictionary should not contain Object , RID , Callable and Signal . How to compile: 1. Follow offical tutorial to set up you develop enviroment. 2. Clone this repository (with submodule). 3. You must generate bindings and build library of godot-cpp at least once. - You can use generate and build manully by steps below: a. Navigate to godot-cpp folder. b. Run command: c. Now you can add generate bindi","default_branch":null,"files":null,"tree":[],"storefront":"/r/Daylily-Zeleen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Daylily-Zeleen/GUS-Godot-Universal-Serializer-2.0/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}