Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simple player simulation, fix terrain block search #2

Merged
merged 12 commits into from
Feb 20, 2024

Conversation

JerritEic
Copy link
Collaborator

Summary of changes:

  • Added simulation-based player emulation
    • Supports two basic behaviors, BoundedRandom and FixedDirection
  • Added player simulation, terrain, and networking parameters as command line arguments
    • See README.md for updated list of supported arguments
  • Refactored terrain layer management
    • Now groups of layers can be accessed through a TerrainBank
    • Two layer groups added, Flat and Default
  • Converted terrain modification and access to IJobEntity to support parallel scheduling and burst compilation
  • Fixed spawn location randomness, added a system to search deterministically for a valid spawn location
  • Refactored split between Opencraft 2 and Polka
    • Polka now exclusively manages Player prefabs, Opencraft 2 accesses them solely through Polka's connectionPlayerObjects dictionary.
    • Polka now exclusively handles command line arguments, but supports extensions to its argument list through the ArgumentClass attribute…d movement

@JerritEic JerritEic self-assigned this Feb 20, 2024
@JerritEic JerritEic merged commit cec4b04 into main Feb 20, 2024
@JerritEic JerritEic deleted the player-simulation branch February 20, 2024 10:20
JoachimBose added a commit that referenced this pull request Jul 22, 2024
chore: update to Unity version 22.3.26f1
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