Skip to content

Conversation

@ensisoft
Copy link
Owner

@ensisoft ensisoft commented Sep 7, 2025

No description provided.

Refactor web deployment code to main window and run it async so
that the deployment doesn't block the user from continuing work.
Fix potential boost assert in Lua random engine, make sure that
the parameters to uniform_distribution are so that min is less than max.
Boost.uniform_distribution has an assert for this condition.
Add entity node linear mover 'rotate to direction' flag.
Add entity widget entity node linear mover 'rotate to direction' flag.
Add linear mover API to set direction only.
Add some linear mover Lua API methods.
Add spline t value interpolation and curve reparametrization. The
problem is that the catmull-rom spline will have different velocities
in different parts of the curve. Thus using a simple normalized t
value to sample the spline will produce motion that doesn't have
constant velocity (even if velocity is otherwise constant) but
different segments of the spline will produce faster/slower motion.

Try to fix the issue by sampling the spline at some intervals and
use the data to produce a cumulative distance table that can be
used to map distances along the spline to a t value by interpolating
t values mapped from the distance table.

TODO:

- Use binary search when searching the table.
- Use a more elaborate samplign frequency and use the "size" of
the spline to determine the samplign step size.
Fix trash tracer pointer in Emscripten audio graph unit tests.
Something somewhere is enabling tracing, setting a tracer pointer
and turning the enabled flag to true and then leaving this trash
behind after the tracer object has been deleted. (Some very bad
behaving code). But the question is where the F is this coming from?

Can't find the spot now, none of the unit tests built into the
Emscripten testing bundle seem to do anything with tracing.

Adding a workaround fix now that sets the tracer pter to nullptr
and the enabled flag to false before running audio graph unit tests.
Fix some linear mover Lua doc and code completion mistakes.
Add support to edit entity scripting variables via table view
when possible, i.e. simple primitive types, int, float, bool
and string, and also the variable name.
Add entity method to check for scheduled death.
Add linear mover API method to change the speed only.
Refactor and simplify animation event structure, theres an extra
variant that isn't needed.
Add timeline animation trigger to commit entity death.
Add entity death timeline trigger support to animation widget.
Add material warning about trying to set uniforms on static material.
Fix material dialog bugs:

- Fix the preview scaling that was already broken since it's now
  initialized to 1.0,1.0 instead of 0.0, 0.0.
- Keep the material instances around in order to avoid spamming
  the logs when the material is reporting some error in the log
Reformat SpawnEntity Lua API documentation to use a hTML table in
order to improve the readability.
Add some base/math.h clang-tidy cleanups and glm utility functions.
Refactor some Lua util functions to use base/math.h functions to
avoid replicating same functionality that now exists in the math
header.
Refactor and simplify math func to find vector rotation to atan2.
Update blast demo:

- Update skins, enemies, asteroids etc
- Update main menu visuals
- Add explosions based on mesh sharding
- Add new enemy type to play against
- Refactor "mine" into rockets, use spline based rocket motion
- Refactor some Lua code
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.

2 participants