Giter VIP home page Giter VIP logo

Comments (9)

lynxlynxlynx avatar lynxlynxlynx commented on June 11, 2024 1
  1. is #128, so we can ignore it here.

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 11, 2024

I tried casting it and can't see the issue in 1.. Do you only get it in that area?

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 11, 2024

Was this testing done with your PR #2045 applied? Could be a regression from that, since the one problematic place is about triggered projectiles.

from gemrb.

MarcelHB avatar MarcelHB commented on June 11, 2024

Was this testing done with your PR #2045 applied? Could be a regression from that, since the one problematic place is about triggered projectiles.

I can replay this on master, and it's reproducible but under unknown conditions, my best guess it's that you need a small map to actually recognize this bug. But that's just an impression from testing through some IWD2 save games, so on larger maps I haven't spotted anything.

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 11, 2024

Ah, I see now — for me they slowly drop from the top of the screen when positioned like in the screenshot. But fade eventually, it's odd that you managed to accumulate them.

What is it? I bet it's the exploded chunks and the positioning bug being in our gemrb/unhardcoded/iwd2/trapskul.pro. The rest is still the same old bug.
EDIT: it can't be the chunks, since the sprite appears sooner, before the skull even explodes. And there's some odd rotation going on.

from gemrb.

bradallred avatar bradallred commented on June 11, 2024

The bad rendering (at least the blending) is clearly just a missing application of ONE_MINUS_DST. This could either be the projectile missing PTF_TRANS or that it also has PTF_BLEND. You should be able to fix it by tweaking the flags on the pro.

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 11, 2024

I doubt it should be there at all, I don't see anything interesting in the pro. SKLT is the head and a shadow bam is attached. SKLH has the parts for the explosion and that's what we don't draw properly. So perhaps there's also a desync with the explosion. We already look it up, so this must be it, I just don't see from where it comes — it will require more than code reading.

from gemrb.

bradallred avatar bradallred commented on June 11, 2024

something doesn't add up. SKLT and SKLH don't have a black background, but the rendering in the screenshot shows one. Are we palette munging them for some reason?

from gemrb.

lynxlynxlynx avatar lynxlynxlynx commented on June 11, 2024

Yes, this is the SP_TYPE_BITMAP type of sparkles, triggered in Projectile::DrawExplosion. So yeah, if it's not a duplicate of #128, it's very close to it.

from gemrb.

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.