Giter VIP home page Giter VIP logo

Comments (3)

Kneesnap avatar Kneesnap commented on May 31, 2024

Things to try:

  • If marking an entity as immortal bypasses the problem.
  • It seems like the entity problem has to do with positional sorting. It seems like the entity id is the problem, not the entity list order. I need to figure out which axes are weighted the most significant, or basically how the entity id is impacted.

from froglord.

SylvKT avatar SylvKT commented on May 31, 2024

I'll try those things. I've just got things set up so I'll try them soon.

from froglord.

Kneesnap avatar Kneesnap commented on May 31, 2024

It appears this is likely only related to the position, nothing else.

I've narrowed it down to the specific part of the Frogger code which fails.
The problem is, I'm have a really difficult time figuring out how the value in the file is turned into the number the code uses. The value I leave in the file seems to not be the value the code gets, and I can't seem to figure out why this is.

Another mystery is why the 16 lower bits seem to always be 1 or always be 0, with no discernable pattern why this is.

Even though this doesn't make sense, I managed to get positions to seemingly always work when X and Z are positive by doing this.

Shifting XYZ >> 16, when making the vector.

Editing with 4 bits fixed point decimal.

Shifting everything << 16 when it's time to put the position data back in the matrix.

Why this requires shifting by 16 is completely beyond me. I have to be missing something, since it just doesn't make sense to me.

from froglord.

Related Issues (17)

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.