Skip to content

feat: add cow and sheep spawning near player spawn point#3

Open
ct-jaryn wants to merge 1 commit intosafe1ine:mainfrom
ct-jaryn:main
Open

feat: add cow and sheep spawning near player spawn point#3
ct-jaryn wants to merge 1 commit intosafe1ine:mainfrom
ct-jaryn:main

Conversation

@ct-jaryn
Copy link
Contributor

  • New AnimalManager with pixel-art animal models (cow + sheep) built from BoxGeometry
  • Canvas-generated textures, no external assets needed
  • One-time spawn of 1 cow + 1 sheep near spawn point after world loads
  • Simple AI: idle, walking with leg animation, grazing with head dip
  • Uses actual block data for surface detection to avoid underground placement
  • Fallback spawn logic ensures animals always appear

- New AnimalManager with pixel-art animal models (cow + sheep) built from BoxGeometry
- Canvas-generated textures, no external assets needed
- One-time spawn of 1 cow + 1 sheep near spawn point after world loads
- Simple AI: idle, walking with leg animation, grazing with head dip
- Uses actual block data for surface detection to avoid underground placement
- Fallback spawn logic ensures animals always appear
Co-authored-by: monkeycode-ai <monkeycode-ai@chaitin.com>
Co-authored-by: monkeycode-ai <monkeycode-ai@chaitin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant