Skip to content

Instantly share code, notes, and snippets.

View jennymaeleidig's full-sized avatar

Jenny Leidig jennymaeleidig

View GitHub Profile
using System.Collections.Generic;
using SimplexNoiseCPP;
using UnityEngine;
using UnityEngine.Rendering;
[RequireComponent(typeof(MeshFilter), typeof(MeshRenderer), typeof(MeshCollider))]
public class DesertGeneration : MonoBehaviour
{
[SerializeField, Min(1)]
private int _mesh_triangle_width = 16;
using System;
using System.Runtime.InteropServices;
using System.Threading;
namespace SimplexNoiseCPP
{
/// <summary>
/// Native plugin wrapper for the SimplexNoise C++ library.
/// Provides 2D simplex noise generation with support for Fractional Brownian Motion.
/// </summary>
function scene:initValues()
-- globals
PlayerInst = BattlePlayer()
EnemiesInst = BattleEnemies()
TurnManagerInst = BattleTurnManager()
StatusMessage = ""
BattleMainHandler = {
upButtonHold = function()
PlayerInst:readySelEnemy() -- Before attacking, the player must select an enemy.
function new_obj()
local obj = {}
-- init logic
obj.update = function(this)
-- update logic
end
obj.draw = function(this)
-- draw logic
@jennymaeleidig
jennymaeleidig / fuzz-bom.md
Last active December 24, 2025 20:26
Fuzz Pedal BOM (Bill of Materials)
@jennymaeleidig
jennymaeleidig / punch.md
Created December 12, 2025 00:58
retro computing xmas!!!

Double Quotes "

Good for simple strings.

var text = "Hello!";
console.log(text);

Output: