Skip to content

OLives Dev Blog

Ramblings about hobbyist game development

Month: August 2019

Commit bf6459ba

Make sure to always rotate in the right direction

If you remember some of the earlier videos, sometimes the characters would rotate in the wrong direction, which seems even more odd now that animations work. Let’s fix this:

Author s20Posted on 22nd August 201913th October 2019Categories CommitsTags c++, development, vulkanLeave a comment on Commit bf6459ba

Commit 4f3cdbb3

– Add functions to more comfortably change animations on objects
– Automatically switch to a walking state for moving objects. Set the  idle state when the destination is reached.

This makes it possible to quickly change the animation on the fly. Also, changing the animations like this makes the movement seem a lot more natural.

Author s20Posted on 15th August 201913th October 2019Categories CommitsTags c++, development, vulkanLeave a comment on Commit 4f3cdbb3

Commit 9968cec9

– Resolve deadlock when changing resolutions
– Very minor optimisation: pre-calculate what is essentially a static value

This is a recurring issue, once again fixed in its most current iteration.

Author s20Posted on 12th August 201913th October 2019Categories CommitsTags c++, development, vulkanLeave a comment on Commit 9968cec9

Commit 76283f2a

Only re-calculate animation states after at least 20ms have passed

Do not eat up all the CPU. Or at least not as much.

Author s20Posted on 12th August 201913th October 2019Categories CommitsTags c++, development, vulkanLeave a comment on Commit 76283f2a

Commit 9eb6aab5

– proper support for playing back animations
– IDE suggested code improvements

This allows us to properly render animations in sensible speeds without any hardcoded information. This also speeds up the animation when the simulation speed is being changed.

Author s20Posted on 11th August 201913th October 2019Categories CommitsTags c++, developmentLeave a comment on Commit 9eb6aab5

Commit e65c346b

– move the ticklength to a separate file for cleaner inclusion
– fix *all* the IDE warnings. not actually all, but so many.
– add information about the current animation + animation index to the model

Further progress in the direction of proper animation usage without hardcoded information.

Author s20Posted on 8th August 201913th October 2019Categories CommitsTags c++, developmentLeave a comment on Commit e65c346b

Commit da561a7a

– pass the supported/required animations on to the object instances
– if an object has animations, call the model manager tick function(WiP)
– fix IDE warnings

This brings us closer to actually get to use the animations as intended, not just having them hardcoded to run at all times.

Author s20Posted on 7th August 201913th October 2019Categories CommitsTags c++, developmentLeave a comment on Commit da561a7a

Commit 8bbe4d3a

Fix CLion warnings

New CLion version, new warnings to squash.

Author s20Posted on 7th August 201913th October 2019Categories CommitsTags c++, developmentLeave a comment on Commit 8bbe4d3a

Commit 241087a0

Add required/supported animations to the object configuration. Fix some IDE warnings.

Similar to the supported actions there are now also configurable supported animations. The data is not used yet, however.

Author s20Posted on 7th August 201913th October 2019Categories CommitsTags c++, developmentLeave a comment on Commit 241087a0

Commit 935ebba7

– add mapping from animation name to index
– undo accidental renaming of the model class cpp file
– reformat the build targets in the CMakeFile

Specifying indices is not as much fun as just using the animations human readable name.

Author s20Posted on 6th August 201913th October 2019Categories CommitsTags c++, development, vulkanLeave a comment on Commit 935ebba7

Posts navigation

Page 1 Page 2 Next page

Recent Posts

  • Commit 969c85ea
  • Commit 7200fa88
  • Commit 454c6195
  • Commit 8966e607
  • Commit 5c54de81

Recent Comments

  • Commit ea425441 – OLives Dev Blog on Commit c8f6df8c
  • Der Ketzer on Commit aa1ea4ff

Archives

  • August 2022
  • December 2021
  • November 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • July 2017
  • June 2017

Categories

  • Commits
  • Uncategorised

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
OLives Dev Blog Privacy Policy Proudly powered by WordPress