0

how are the connections coded in circuit visualizations?

Heii I want to code a conv belt system for a factory game and I want to use the way the simulation programs work: If you close the circuit in such visualizations, the lanoe lights up, the connection to the lalamoe is interrupted and the lamp does not conduct Simple principle but difficult to implement. My idea in the factory game: labels symbolize the conv belts as small, narrow rectangles If a conv connection is established between a miner and a smelter, the smelter receives material from the miner. damit der smelter das material bekommt muss ich also überprüfen ob es eine durchgängige verbindung zwischen minder und smelter bestehtbesteht. Does anyone have an idea how I can implement such a problem in Html?

3rd Jul 2022, 6:19 PM
Shiko
Shiko - avatar
1 Resposta
+ 3
Matthias Tschandl I would suggest you complete the following courses: Javascript Game Development with JS https://www.sololearn.com/Course/JavaScript/?ref=app https://www.sololearn.com/Course/GameDev-with-JavaScript/?ref=app
3rd Jul 2022, 10:38 PM
Rik Wittkopp
Rik Wittkopp - avatar