Git Product home page Git Product logo

Comments (7)

 avatar commented on September 22, 2024

What is to happen if a boulder receives two simultaneous signals from either direction? Should it stay put? In fact, that could be pretty neat, as it would allow for traps where two players must synchronise their movement.

from advancedcircuits-plugin.

CoderCow avatar CoderCow commented on September 22, 2024

This would require a Boulder to be delayed before it actually starts rolling so it could be cancelled because a rolling Boulder could never receive a signal. But, one could build an an appropriate circuit for that already so I see no use in implementing this.

from advancedcircuits-plugin.

 avatar commented on September 22, 2024

This is true, but it seems to me like the question still stands: what happens if the boulder receives two simultaneous signals from two disparate directions?

Now, I don't know how the signals are done by the game, and perhaps there are no such things as simultaneous signals, and if so I withdraw my question. Feel free to enlighten me!

from advancedcircuits-plugin.

CoderCow avatar CoderCow commented on September 22, 2024

Two simultaneous signals are impossible to receive as signals in AC don't travel with speed, they are instant - one signal would always reach the Boulder before the other, and if that one is 1 the Boulder would start rolling, making it impossible for it to receive another signal to stop it again.

from advancedcircuits-plugin.

 avatar commented on September 22, 2024

That signals are instant I was already privy to, but suppose one and the same component is sending the two signals, like so:

A split signal

Forgive my persistence, by the way, I only seek understanding.

from advancedcircuits-plugin.

CoderCow avatar CoderCow commented on September 22, 2024

Actually one branch would be processed first, after that the other one. As that one branch is being processed first it would already prepare the Boulder to roll, even though the circuit did not finished processing all branches yet. As the Boulder is already prepared for rolling, the other branch would be unable to signal the Boulder again.

Same thing goes for other components, if let's say a Dart Trap received 1, the arrow will be fired, no matter if there's a 0 signal following after that in the same circuit processing.

from advancedcircuits-plugin.

 avatar commented on September 22, 2024

Ah, OK. Thanks for clearing that up!

from advancedcircuits-plugin.

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.