Day

July 25, 2017
25
Jul

Day 140 – Let’s break it down! “controlscript.php” Part 4

You’ve read all about Ryan’s “movement.py” script, so now it’s time to learn about “controlscript.php” – the script that collects client keystrokes and sends the movements to the WebSocket server. The script can be accessed at our GitHub repository here. So, let’s break it down! Firstly, “controlscript.php” is a misnomer. It should really say “controlscript.js”,...
Read More