OverviewFilesCommitsIssuesDocsReleasesPeers

hypergodot commits / d89cb13

Added notes from doing research on engine
d89cb13c8bc7da0dd89c8daf531cc3481e26a836
by mauve <ranger@mauve.moe> · 2021-05-19T21:40:43.000Z

Changed files (1) +16 -0

README.md +16 -0
……@@ -15,8 +15,24 @@ A Godot plugin and example project for loading assets from the [hypercore-protoc
1515
1616### How to communicate over UNIX sockets
1717
18- StreamPeer seems to [imply UNIX sockets are supported](https://docs.godotengine.org/en/stable/classes/class_streampeer.html#description)
19- Looks like it isn't actually supported: https://github.com/godotengine/godot/issues/48862
20- Also no support for windows sockets
21- Could implement, or go with something else.
22
1823### How to spawn the daemon
1924
25- Bundle daemon binaries with the project
26- Use [OS.execute](https://docs.godotengine.org/en/stable/classes/class_os.html#class-os-method-execute) with non-blocking mode enabled.
27- Ensure the process is killed before exiting?
28
29### How to interface with resource loader
30
31- Would need to recompile godot to support protocols other than `res://`
32- Right now it renames `res://` to the resource_path
33- Then treats it like a regular file to load
34- Would need to instead add a set of protocols to load resources from (including hyper)
35
2036## Supported APIs:
2137
2238```JavaScript