Skip to content

Commit

Permalink
Merge pull request #14 from ShiJbey/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
ShiJbey authored Mar 27, 2023
2 parents 8a601a1 + 89ccf3a commit 8c21789
Show file tree
Hide file tree
Showing 139 changed files with 6,644 additions and 6,038 deletions.
15 changes: 10 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,7 @@ dmypy.json
cython_debug/

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.vscode/
*.code-workspace

# Local History for Visual Studio Code
Expand All @@ -282,6 +278,8 @@ cython_debug/
**/.DS_Store
# End of https://www.toptal.com/developers/gitignore/api/python,jupyternotebooks,visualstudiocode,pycharm

samples/scratches/

# Simulation output
samples/*.json
samples/*.csv
Expand All @@ -290,3 +288,10 @@ samples/*.csv
# Docs NodeJS stuff
node_modules/
/docs/node_modules/

# Removing configurations because of issues moving between platforms
.vscode/
.idea/

# Profiling output
*.prof
3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/codeStyles/codeStyleConfig.xml

This file was deleted.

52 changes: 0 additions & 52 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

35 changes: 0 additions & 35 deletions .idea/neighborly.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

76 changes: 0 additions & 76 deletions .idea/watcherTasks.xml

This file was deleted.

24 changes: 0 additions & 24 deletions .vscode/launch.json

This file was deleted.

26 changes: 0 additions & 26 deletions .vscode/settings.json

This file was deleted.

38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,44 @@ and this project adheres mostly to [Semantic Versioning](https://semver.org/spec
There may be minor-version updates that contain breaking changes, but do not warrant
incrementing to a completely new version number.

## [0.10.0]

**This update has breaking changes from version 0.9.x**

- The package has been restructured again to prevent circular dependencies. Classes are
now separated into subpackages/modules by function. For example, all the component
classes are within `neighborly.components` all the factories are within
`neighborly.factories` and all the default systems are within `neighborly.systems`.
- The default plugins under `neighborly.plugins.defaults.xxxx` have been restructured
to allow people to more easily include only the content they need. If you do not care
about the specific plugins, `neighborly.plugins.defaults.all` will import all the
default plugins into the simulation.
- Content libraries are now static class instances.
- GameObject prefabs should now be instantiated using the `GameObjectFactory` class
rather than using the Prefab-specific libraries (CharacterLibrary, BusinessLibrary,
and ResidenceLibrary).

### Added

- Content authoring `neighborly.decorators` for use in single file simulations.
- `py.typed` stub file to remove PyRight warning about Neighborly missing type stubs
- *SystemGroups* were added to allow better systems ordering. The simulation update loop
is now separated into 4 phases (initialization, early-update, update, and
late-update).
- Utility-based behavior trees for goals
- Event callback are called directly from GameObjects instead of via systems
- Events are an integral part of the ECS
-

### Updated

- Content loading functions no longer need the world instance passed when loading assets

### Removed

- Prefab-specific libraries (CharacterLibrary, BusinessLibrary, and ResidenceLibrary) and replaced
them with the `GameObjectFactory` static class that handles instantiating GameObjects from prefabs

## [0.9.5]

- The entire package has been restructures as some modules have moved
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MIT LICENSE

Copyright 2022-2013 Shi Johnson-Bey <[email protected]>
Copyright 2022-2023 Shi Johnson-Bey <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ include CHANGELOG.md
include CODE_OF_CONDUCT.md
include README.md
include MANIFEST.in
include src/neighborly/py.typed
graft src/neighborly/plugins/defaults/data/
graft src/neighborly/plugins/defaults/data/names
graft src/neighborly/plugins/talktown
global-exclude *.py[co]
global-exclude __pycache__
Expand Down
Loading

0 comments on commit 8c21789

Please sign in to comment.