Skip to content

Instantly share code, notes, and snippets.

@benfrankel
benfrankel / gamedev_assets.md
Created January 25, 2024 23:17
Gamedev free assets
@coreh
coreh / BEVY-REMOTE-PROTOCOL.md
Last active June 3, 2024 00:36
Bevy Remote Protocol

Bevy Remote Protocol (BRP)

The Bevy Remote Protocol (BRP) is a transport-agnostic and serialization-agnostic protocol for communication between a Bevy application (acting as a server) and a remote (or local) client. It's a request/response-style protocol (similar to HTTP), meaning that every communication is always initiated by the client, and the server only responds to the client's requests.

Example Uses

  • A editor/inspector, allowing the user to inspect and modify the Bevy application's state in real time, both locally and remotely;
  • “Gameshark“-style cheats, allowing the user to modify a game's state in real time;
  • JS/HTML-based UI interacting with an embedded Bevy application running in a browser;
  • Non-Bevy/Rust applications (e.g. a C++/Python/Java application) interacting with embedded Bevy modules;
@viridia
viridia / foundations.md
Last active December 26, 2023 02:44
Bevy UI Foundations

Bevy UI Foundational Tasks

This is a list of "prerequisite" tasks needed to bringing the Bevy UI to a level of quality suitable for production games and tools. It is not a UI framework, but rather a set of features which a UI framework can build on.

Caveat: this started out as an attempt to objectively assess each issue, but I found I couldn't resist putting in my own opinions about things.

Tasks from the Leafwing Blog Post

Round corners

@DV8FromTheWorld
DV8FromTheWorld / Discord Relationship System
Created October 8, 2016 19:24
Documentation of Discord's client-only relationship system
type:
0 - no relationship
1 - friend
2 - blocked
3 - incoming friend request
4 - outgoing friend request
accepting FR triggers RELATIONSHIP_ADD 1
remove friend triggers RELATIONSHIP_REMOVE 1
block triggers RELATIONSHIP_ADD 2