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

Boids example #29

Closed
7 tasks done
brenocq opened this issue Aug 13, 2022 · 4 comments
Closed
7 tasks done

Boids example #29

brenocq opened this issue Aug 13, 2022 · 4 comments

Comments

@brenocq
Copy link
Owner

brenocq commented Aug 13, 2022

Description
For the release 0.2.0.0 a set of examples are being developed to check how easy it is to use atta.
The changelog in the comments will list all the changes when developing this project, mainly bug fixes and code refactoring.
The repository for this project can be found here: https://github.com/brenocq-atta/boids
The web build can be found here: https://atta.brenocq.com/projects/brenocq-atta/boids

Tasks

  • Boids workings
  • Movable obstacles
  • Show force field in the background
  • Inspect selected boid (plot data)
  • Show boid view radius
  • Make sure web build works
  • Update published web build on commit

Thoughts for the future

  • Update the texture in GPU
  • Use physics module to get neighbour boids
  • Use physics module to cast collision avoidance rays
  • Implement in 3D
  • Be able to run only a fraction of the clones in a factory? (so we can add boids dynamically)
@brenocq brenocq added this to the 0.2.0.0 - Examples milestone Aug 13, 2022
@brenocq
Copy link
Owner Author

brenocq commented Aug 14, 2022

Atta changelog

  • Removed logging used to debug atta
  • Fixes
    • ImPlot without context
    • Now scr::ProjectScript::onLoad is called only after the components are deserialized from the .atta file
    • scr::ProjectScript::onLoad was not being called for static projects
    • Now it is possible to use literal ""_sid without being in the atta scope
    • Crash when material name is empty
    • Scripts not being loaded
    • Glad include not found
    • Web build not able to find files
    • Web wrong relationship deserialization
  • Renamed methods
    • cmp::getPrototypeFactory(cmp::Entity) -> cmp::getFactory(cmp::Entity)
  • New methods
    • cmp::Factory::getFirstClone()
    • cmp::Factory::getLastClone()
    • gfx::Drawer::clear(StringId group) - clear all objects of a specific group

@brenocq
Copy link
Owner Author

brenocq commented Aug 14, 2022

Image

@brenocq
Copy link
Owner Author

brenocq commented Aug 14, 2022

ezgif com-gif-maker (27)

@brenocq
Copy link
Owner Author

brenocq commented Aug 14, 2022

DeepinScreenshot_select-area_20220814191657

brenocq added a commit to brenocq-atta/boids that referenced this issue Aug 14, 2022
brenocq added a commit that referenced this issue Aug 14, 2022
brenocq added a commit that referenced this issue Aug 15, 2022
brenocq added a commit to brenocq-atta/boids that referenced this issue Aug 15, 2022
brenocq added a commit to brenocq-atta/boids that referenced this issue Aug 15, 2022
@brenocq brenocq closed this as completed Aug 15, 2022
Repository owner moved this from In Progress to Done in Atta Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant