r/ComputerCraft • • Nov 10 '22

Made this web ui for controlling Turtles it was originally meant for one turtle but i made it work with multiple!

40 Upvotes

10 comments sorted by

4

u/Tweaked_Turtle Nov 10 '22

That's sick! I kind of want to make one myself now lol. How does your backend work?

2

u/IhateMyselfe Nov 11 '22

So basically I have the a server file that broadcasts any message sent to it to all other clients connected the I have the web browser that sends messages depending on what button you press and finally the program on the turtle will wait for a message and if the message says forward it will do turtle.forward. I of course used web socket

2

u/sEi_ Nov 11 '22

Nice!

Side notice: You sit with a video editor and you juuust have to show the part where you start/stop the recording. Would have been easy and good to cut away. Not super important but Just a friendly producer advise.

2

u/Electric8steve ComputerCrafter Nov 11 '22

He didnt edit the video, it's a custom preset in obs

2

u/IhateMyselfe Nov 11 '22

Correct

1

u/sEi_ Nov 11 '22

ok! - But nice informative video anyhows OP.
I <3 turtles.

0

u/[deleted] Nov 11 '22

[deleted]

1

u/EDITCOLLECTOR Nov 10 '22

This is really awesome. Any plans on adding functionality for building schematics?

1

u/IhateMyselfe Nov 11 '22

I would have to look into it but it would be really cool. Can’t say anything yet since I don’t know how it works

1

u/9551-eletronics Computercraft graphics research Nov 11 '22

Heh nice lol