Skip to content

Instantly share code, notes, and snippets.

View jknightdoeswork's full-sized avatar

Jason Knight jknightdoeswork

View GitHub Profile
@jknightdoeswork
jknightdoeswork / launch.json
Created June 13, 2020 18:29
VSCode scons build files
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"type": "cppvsdbg",
"request": "launch",
@jknightdoeswork
jknightdoeswork / multimesh_server_renderer.gd
Last active July 25, 2024 21:46
Example of using a multimesh renderer with the physics server api in godot.
extends MultiMeshInstance2D
export var instances := 10000
var physics_bodies := []
func _ready() -> void:
multimesh.instance_count = instances
for i in range(multimesh.instance_count):
# Create multimesh renderer
var r := 600.0
var s := 50.0