Coder Social home page Coder Social logo

Comments (2)

PhoenixICE avatar PhoenixICE commented on July 20, 2024

I would like to make a suggestion here.
Could we instead of what you are suggesting set a console statement inside the sign ie/

[Console]
if #ileft = 1 then
oright = 1
else
oright = 0
end if

Something simple like that? where i/o = input output and there is left right up down

from advancedcircuits-plugin.

CoderCow avatar CoderCow commented on July 20, 2024

I have, of course, also considered real script support, but the down sides of scripting are as follows:
-You have to understand scripting in order to use CCs which is a lot more effort to learn then my Task design I believe.
-Using of If-then-else constructs, especially with signals, can be done with usual circuity instead.
-If you need to execute Tasks when specific conditions are met though, the Task design has already covered that up with labels. (I've been too lazy to explain that yet, but if one looks on all Tasks having a Label parameter they might get the idea.)
-Ingame editing of Signs is ugly - scripting would probably enlarge the needed amount of text even more.
-Scripts are far slower to interpret - even if I would pre-compile scripts after the Sign was edited, the pre-compile would take unecessary performance and it would be hard to implement.

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.