Victorious3 / Integrated-Circuits

Integrated Circuits
Other
44 stars 18 forks source link

Tooltips for inputs and outputs on parts #134

Open skyem123 opened 9 years ago

skyem123 commented 9 years ago

It would be handy if we could hover over a side of a part in the CAD and see what the input / output is on that side.

evg-zhabotinsky commented 9 years ago

Adding both IO description and current in/out signal levels to text tooltip of a gate is dead-easy. This tooltip might look like so (also with a gate description that should be disable-able):

State Cell
North: Output; OUT
East: Pulse output; off
South: Lock input; IN
West: Input; off
Turns on when input is high. Output is high when on.
When both input and lock are low for a set time,
turns off and pulses the other output.
Orientation: EAST

Making it look better might be a more difficult task.

What do you think about that?

Victorious3 commented 9 years ago

@evg-zhabotinsky Not displayed all the time but with some key press (alt is still free).

skyem123 commented 9 years ago

Maybe if you hover on a certain side of the part?

evg-zhabotinsky commented 9 years ago

Maybe if you hover on a certain side of the part?

Honestly, I miss a square I wanted to click reasonably often :-) So I am definitely not for it.

On the other note, does anyone really need it? It is easy to see what wires are high by their color (even between adjacent gates) and IMHO non-obvious gate state is better shown by its texture and overall gate behavior and IO are better described in a separate manual (in-game, on Wiki or otherwise).

Victorious3 commented 9 years ago

Playing around with the idea of replicating the detail window you see on this thing: Clone (He's not the only person who can rip off other people's ideas)

skyem123 commented 9 years ago

hm... I am going to say that there should also be higher resolution textures for the parts as well...

evg-zhabotinsky commented 9 years ago

@Victorious3 I think you might have missed something.

Your screenshot shows configuration window, and I don't really like it. The "rotate" button is basically screwdriver click, "configure" is screwdriver ctrl+click, and (if I am right) other buttons are present only for gated like timer that don't really use "configure" button. However, they also support left-clicks on gates like toggle latch.

They do have tooltips that show various information about gates / wires / IO (what is shown depends on "detail"), they are is not really different from what we have.

Also, about rip-offs: I don't really see how IC editing GUI can really be different from that. In any case it will be a simplified Minecraft-ish schematic capture tool. Their internal implementation is rather taken from Immibis' RedLogic ICs, if they did not re-invent it themselves. (They compile ICs into java classes.) Also, their IC fabrication process is a bit different, and their ICs have different overall look&feel (for good or bad). As a side note, P:R and RedLogic still co-exist, although they are almost exactly the same (although P:R started moving in RP direction recently, while RedLogic stays a logic-only mod).