Coder Social home page Coder Social logo

collision enumeration quirk about octo HOT 3 CLOSED

msliczniak avatar msliczniak commented on June 15, 2024
collision enumeration quirk

from octo.

Comments (3)

msliczniak avatar msliczniak commented on June 15, 2024 1

I can't seem to close it, sorry. But your rationale is fine.

from octo.

JohnEarnest avatar JohnEarnest commented on June 15, 2024

As far as I'm aware, no software currently makes use of this behavior, and like most of SCHIP's bizarre probably-unintentional misfeatures I'd rather not encourage any new software to depend upon it.

from octo.

msliczniak avatar msliczniak commented on June 15, 2024

Okay, I thought it would be nice in octo programs, especially if it worked as expected with wrapping. I ran into a situation where I would not have to keep track of piece type if vf recorded the rows. If I did it by bitplane too, I would not need to record color either:

. . .
x x x
x x x
x x x
. . .
. . .
. . .

. x .
x x x
x x x
x x x
. x .
. . .
. . .

. . .
x x x
x x x
x x x
. x .
. x .
. x .

If I blit with

. x .
x x x
x x x
x x x
. x .
. x .
. x .

then I know the type and which sprite to blit with again to finish clearing or restore the original after different code paths.

But if you don't want octo to use vf here, that's fine it's your thing after all. I was just surprised cause I expected it would work. I'll close this, cheers.

from octo.

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.