GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MaansenV/ECS2DTest

BranchesTags
Open more actions menu

Latest commit

 

History

54 Commits
54 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.idea/.idea.TDTD/.idea
.idea/.idea.TDTD/.idea
 
 
.omx
.omx
 
 
.slim
.slim
 
 
.vscode
.vscode
 
 
Assets
Assets
 
 
Packages
Packages
 
 
ProjectSettings
ProjectSettings
 
 
UserSettings
UserSettings
 
 
docs
docs
 
 
interview
interview
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
DOCUMENTATION.md
DOCUMENTATION.md
 
 
ECS2DTest.slnx
ECS2DTest.slnx
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
codemap.md
codemap.md
 
 
fix-all-failing-editmode-tests.md
fix-all-failing-editmode-tests.md
 
 
test-log.txt
test-log.txt
 
 

Repository files navigation

ECS2D Renderer

ECS2D Renderer Banner

Unity ECS 2D sprite rendering with animation, culling, and UPM-based reuse.

Unity 6000.5+ Entities 1.4.x UPM Package

Install

Unity Package Manager Git URL:

https://github.com/MaansenV/ECS2DTest.git?path=/Packages/com.ecs2d.renderer

Or in manifest.json:

{
  "dependencies": {
    "com.ecs2d.renderer": "https://github.com/MaansenV/ECS2DTest.git?path=/Packages/com.ecs2d.renderer"
  }
}

What it does

  • Renders ECS sprites through SpriteSystem
  • Supports grid-based sprite-sheet animation through SpriteAnimationSystem
  • Supports orthographic frustum culling through SpriteCullingSystem
  • Provides a DOTS-based particle system with curve-driven speed and scale via LUTs
  • Ships as a reusable package in Packages/com.ecs2d.renderer

Core assets and types

Sprite rendering and animation:

  • SpriteSheetDefinition
  • SpriteDataAuthoring
  • SpriteAnimationSetDefinition
  • SpriteAnimationAuthoring
  • SpriteCullingSettingsAuthoring
  • EntitiesReferenceAuthoring

Particle system:

  • ParticleEmitterAuthoring
  • ParticleCurveTypes (curve LUT support via CurveBlobLUT and ParticleCurveMode)
  • ParticleActiveSimulationSystem, ParticleEmissionSystem, ParticleEmitterCleanupSystem

Editor tools ( ECS2D.Rendering.Editor):

  • Custom inspectors for all authoring components
  • Shared USS stylesheet for consistent inspector styling
  • Sprite Sheet Wizard for guided creation/update of sprite sheets and animation sets
  • Sprite Sheet Overview for project-wide sprite sheet lookup by ID/name/path

Namespace:

using ECS2D.Rendering;

Documentation

For a detailed guide with short code snippets on how everything is used, check out the DOCUMENTATION.md.

Release automation for agents and maintainers lives in docs/release-workflow.md.

Release

To release a new version of com.ecs2d.renderer:

powershell -ExecutionPolicy Bypass -File .\tools\release-package.ps1 -Version <VERSION> -Push

This validates the version, bumps the package version, creates a commit with an annotated tag, and pushes to GitHub.

Quick usage

  1. Install the package.
  2. Create a SpriteSheetDefinition for your material and texture.
  3. Add SpriteDataAuthoring to a prefab or GameObject and assign that sheet.
  4. Optional: use the Sprite Sheet Wizard to create/update a SpriteSheetDefinition and SpriteAnimationSetDefinition.
  5. If you want animation, create a SpriteAnimationSetDefinition and add SpriteAnimationAuthoring.
  6. SpriteDataAuthoring supports both uniform BaseScale and explicit BaseScaleXY scaling.
  7. Place runtime-loaded sheets under a Resources/SpriteSheets path.
  8. If you want runtime culling control, add SpriteCullingSettingsAuthoring in the scene.
  9. Enter Play Mode and let the ECS systems animate, cull, and render your sprites.

Included examples

  • Assets/Scenes/SampleScene.unity
  • Assets/Scenes/SpawnBenchmark.unity
  • Assets/Prefabs/SwordMan/SwordMan.prefab

Requirements

  • Unity 6000.3.10f1 or newer
  • com.unity.entities 1.4.x

More details

Detailed package documentation lives in:

Packages/com.ecs2d.renderer/README.md

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.