Control the movement of characters in the game

I saw a video where a script controls Mario"s automatic customs clearance. How does it control the movement of game characters? Or, how do I tell the progress of the game that I "pressed" a key? I am very interested in this, but I have no contact with the relevant content, so I am not very familiar with it.
are there any related class libraries or materials to learn? Thank you, boss.
expected language: nodejs (preferably) python (next)

Jun.09,2022

http://robotjs.io/docs/examples can use this node library, hoping to help you


currently find the way that python uses the pywin32 library to send keystroke information; nodejs did not find the relevant library, so it seems that nodejs can be extended through c/cPP to write plug-ins such as pywin32 for nodejs.

Menu