GithubHelp home page GithubHelp logo

Comments (3)

MaKiPL avatar MaKiPL commented on May 14, 2024

I'll leave some notes here so I don't forget.
Currently I have frames[n] that hold frames pointers for all instances of battleEntities (monster+weapon+chara). All anims are fixed at 0, therefore there should be a system that:

  1. Takes animation Id and entity pointer (length by monsters + chara + weapon)
  2. Sets the animation Id to some array like frame[n], maybe frame[,]?
  3. Force frame[n] = 0 for specific Id, so the animation doesn't start in the middle.

Thankfully FF8 animations are built so there's no really need for n-animation blending- also they are modular, like the whole Squall attack is actually AFAIR 3 animations, starting run, running, strike start, striking and jumping back. When I was playing with enemy coordinates it looks like the animation origin position is actually calculated by enemy position, therefore if we set enemy behind the Squall, the character would actually run back

from openviii-monogame.

MaKiPL avatar MaKiPL commented on May 14, 2024

also worth to note that the frame[n] is actually broken after updating the encounters and working on single-instance of debug_battleDat (thanks to that there's no more need to actually read the same monster two, three or even four times saving both: CPU and memory (RAM had to hold 4x the same data in worst case)

from openviii-monogame.

MaKiPL avatar MaKiPL commented on May 14, 2024

Image showing Squall running from battle indicating working animation instance subsystem

from openviii-monogame.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.