[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-93339":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":15,"stars90d":14,"forks30d":14,"starsTrendScore":16,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":14,"starSnapshotCount":14,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},93339,"SpriteStack2D","VitSoonYoung\u002FSpriteStack2D","VitSoonYoung","Render pseudo 3D sprite node from a single 2D texture of different view angles",null,"GDScript",198,3,1,0,90,7,70.81,"MIT License",false,"main",true,[],"2026-07-22 04:02:08","# SpriteStack2D\n\nA Godot 4 node that renders pseudo 3D **sprite stacks** from a single sheet of\npixel-art face views.\n\n![SpriteStack2D](demo.gif)\n\n## Setup\n1. Draw a **2x2 spritesheet** of orthographic views (all frames the same\n   size): frame 1 = **TOP**, 2 = **FRONT**, 3 = **SIDE**, 4 = **BACK**\n   (leave the 4th frame empty to mirror the front).\n2. Download, extract to your Godot project at `res:\u002F\u002Faddons\u002F...`, and enable the addon.\n3. Add a **SpriteStack2D** node and assign the sheet to `texture`, the\n   grid is applied automatically from `source_mode` (4 Faces = 2x2).\n\n## Performance\n\nWhat gets rendered is the final **output image** per angle (rotation,\nstack, shadow composited) frames live in a cache **shared by all\nSpriteStack2D instances** with the same input and parameters, so a thousand\nidentical nodes render each angle once in total (≈160 FPS for 1.000 spinning\nobjects). \n\nThe prepared input (cut frames, carved slices) is likewise shared\nper input texture, and both caches are reference-counted: when the last\nnode using an input is freed, its cached data is purged.\n\n`res:\u002F\u002Ftest\u002Fperf_test.tscn` is a stress-test scene with live stats. Tested on Godot 4.7.\n\n\n## License\n\nMIT.\n","SpriteStack2D 是一个 Godot 4 插件节点，用于从单张含多视角的 2D 像素画图集（如 2×2 正交视图：顶\u002F前\u002F侧\u002F后）实时合成伪 3D 精灵效果。其核心功能包括自动切分图集、按角度动态选择并堆叠帧、支持阴影与旋转缓存，所有实例共享基于输入纹理和参数的参考计数缓存，显著提升大批量同质对象渲染性能。适用于像素风游戏中的可旋转角色、道具或环境物件，尤其适合需轻量级伪 3D 表现且避免建模与着色器复杂度的 2D 游戏开发场景。",2,"2026-07-16 02:30:09","CREATED_QUERY"]