Skip to content

Instantly share code, notes, and snippets.

View fire's full-sized avatar

K. S. Ernest (iFire) Lee fire

View GitHub Profile
% ./bin/godot.macos.editor.double.arm64 --test -tc="[JSON][Native][SceneTree]*"
[doctest] doctest version is "2.4.11"
[doctest] run with "--help" for options
ERROR: Parameter "obj" is null.
at: get_property_list (core/variant/variant_setget.cpp:1297)
ERROR: Parameter "obj" is null.
at: get_property_list (core/variant/variant_setget.cpp:1297)
ERROR: Parameter "obj" is null.
at: get_property_list (core/variant/variant_setget.cpp:1297)
ERROR: Parameter "obj" is null.

Verifying GitHub Attestations with Sigstore

GitHub's attestations are Sigstore bundles under the hood. You can verify them using any Sigstore client. Here are a few options that support verifying GitHub attestations:

Using sigstore-python

@fire
fire / test.md
Created January 22, 2024 03:06
Proposed: Overcoming a V-Sekai limit with Documentation

Proposed: Overcoming a V-Sekai limit with Documentation

Metadata

  • Status: Proposed
  • Deciders: V-Sekai
  • Tags: V-Sekai

The Backdrop

@fire
fire / install.cmd
Last active December 31, 2023 07:19
Install the latest commands for Windows 11.
scoop install git
scoop update
scoop install sudo
scoop bucket add extras
scoop bucket add games
scoop bucket add java
scoop bucket add dorado https://github.com/chawyehsu/dorado
sudo scoop install https://gist.githubusercontent.com/fire/49648c067a79bfb9c6b41c324b5d44ba/raw/5afb90a1656c09794111766718436194bd8ecb92/listOfApps.json
clink autorun install
scoop uninstall listOfApps
[00:00.000 -> 00:04.080] First of all, thank you very much, TJ and
[00:02.000 -> 00:06.240] François, to give this opportunity.
[00:04.080 -> 00:08.960] My name is Kristof. I am the principal
[00:06.240 -> 00:10.480] technical artist at Remedy Entertainment,
[00:08.960 -> 00:12.560] and today we're going to talk about how
[00:10.480 -> 00:14.320] we're using USD in our next generation
[00:12.560 -> 00:15.520] game development pipelines.
[00:14.320 -> 00:17.040] I will be presenting today's
[00:15.520 -> 00:18.960] presentation, but our director of
[00:17.040 -> 00:20.480] technology, Mika Vähkala, is also in this

Efficiently handling level/world partitioning in Godot Engine (ai assisted):

Here are the updated and consistently ranked definitions with the added point:

  1. Divide the Game World into Smaller Chunks: Split the game world into manageable sections, called cells or chunks, to improve performance and resource management.

  2. Add a "Use World Partition" Property to Node2D/Node3D: Create a property that allows you to specify whether an asset should be part of the world partition system or not.

  3. Map Assets' Global Positions to World Cells: Assign each asset to its corresponding world cell based on its global position within the game world.

/*
MIT License
Copyright (c) 2014-2022 Eron Gjoni
Copyright (c) 2019-2022 K. S. Ernest (iFire) Lee
Copyright (c) 2021 Rafael Martinez Gordillo.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
@fire
fire / blender
Last active April 21, 2022 14:38
$ cat /usr/local/bin/blender
#!/usr/bin/env bash
/usr/bin/flatpak run org.blender.Blender "$@"
@fire
fire / 3d-formats.md
Created March 30, 2022 18:45 — forked from meshula/3d-formats.md
3d file formats, last mile vs. interchange
@fire
fire / clean_all_svgs.sh
Created March 27, 2022 14:46 — forked from j3j5/clean_all_svgs.sh
Apply SVG Cleaner to all the SVGs on a given folder
# https://github.com/RazrFalcon/svgcleaner/ must be installed
find . -type f -name "*.svg" | sudo xargs -I file svgcleaner file file