Thanks, I'm glad it was helpful)
=============
- Is it possible to check what component was disconnected when someone cut the connection of both sides of this component? If so, how?
Everything should be possible as long you describe exactly how it works.
Example:
Do you mean something like this?
The circuit has been cut it and they are two components at the two ends:
-Going left side the last component is Resistor1
-Going Right side the last component is Resistor2
Which you can already get from the debug string if you look to the last components, look at the picture.
If it's not that can you explain it a bit more, this assuming that we start always from the Switch? Anything can be done if you just explain how it works exactly including all the different situation that can happen, other ways it's confusing and it will take longer to give the right answer.
=========================
- I will need to use other components besides those. Is it possible for me to implement it?
Sure, its dynamically so you can add as many components as you want, just remember that they need to have the two image points (L & R)
L = at the Left
R = at the Right
Look at one of the components to get the idea
That's the only Rule, Also they don't have to be the same width so it can be different as it already takes into account the size of the component.
Also, don't forget to set their variable "Type"
==========================
- I need to implement the multimeter (as you may have seen in the simulator) to measure the components when they are connected or not. This happens at the ends of the component. What do you suggest for that?
3-If you mean how to connect this:
Then you can add it as a normal component but you just don't include it when you check if they finish the circuit in the right order, instead, it will act as a wire if I understood you correctly. Basically, it will be skipped for circuit check but it will be used to see who is connected to it only. I can have a look if you want but I just need to know exactly how this will work.
==============================
- I thought to use tile background as the wires, but I need those wires to show the energy inside them, as happens in the simulator and I cannot use tileBG for this. I also used sprites, but when I stretch the wires, the animation also stretches. Do you know another solution for this?
4-I just saw a nice example from "Newt" on this thread, It is just one line of code and works really good, the same as the website. I tested it already and it works but only with C3 so maybe you can use that.
Thread Link: https://www.construct.net/en/forum/construct-3/how-do-i-8/dynamic-length-animated-159710
Here is an example for the Energy Wire: https://www.dropbox.com/s/xyrsr0eprb0j6u5/energy%20wire%20test.c3p?dl=0
Complete the circuit to activate the energy wires
Video:https://www.dropbox.com/s/gxgjk9pk6ilbulb/video%20energy%20wires.mp4?dl=0