NokiMo
dokkanwiki
dokkanwiki

patreon


Site v1.2.3 Developer Log

This update primarily focused on improving the emulation accuracy of Dokkan’s animations.

Dokkan’s animation scripts define the start of an animation like this:

This specific animation is the primary focus of this update’s fixes.

There are two problems:

  1. The positioning animation with start offsets was wrong. The origin is (0, 0). The correct positioning is you add the x-offset, and subtract the y-offset.
  2. The life attribute. The life is the number of frames the animation should play for before being removed. If no life is provided, then the animation ends and does not loop.

One of the fixes for this update was for this scenario: The life is 68, but the animation only lasts for 2 frames.

Tracking the number of times the frame was rendered, and checking to see if you exceed the life, and allowing it to loop in the meantime.

These two changes should fix a lot of the positioning and errant layer bugs. Especially the “BBBmmm” comic text.

Also, found out 2x mode is horribly bugged and causes animations to not play properly. Temporarily disabled.


Related Creators