-
Notifications
You must be signed in to change notification settings - Fork 17
Game dev #243
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
Open
ensisoft
wants to merge
22
commits into
master
Choose a base branch
from
game_dev
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.