0
Can you make bots that follow a user in game using phyton
I am pretty new to phyton I like playing games so I taught later is it possible to make a bot that has a user that it walks behind? The bot would need to jump and walk in a 3d game called trove the whole code would contain only PHYTON 3? If not please tell me how you would make it or let me see a code. Thanks Victor! :D
11 Respuestas
0
That sounds like a really complicated problem to be honest. By the way, Python 3 is always preferred. First of all you need to search for a python library that lets you send keystrokes with code. For example send a 'space keystroke' command with code which would make the player jump. After that you would have to create the logic, "when to press the keys and what keys". Here comes the hard part. You would have to use an image analyzer that detects what you want, the player. There are some 3rd party libraries that let you do this but it will be very hard to find one that is specifically made for the task you want, so you would have to make your own one. Though this is a machine learning problem that requires some advanced programming knowledge into neural networks and theory. Not sure if you want to jump into it as it can get really complicated especially if you arent too familiar with programming in generall.
+ 1
Okay Ill just learn what I can and on the end Ill do that thanks :D
0
This question is very vague. Could you explain more?
0
What more info would you need?
0
Is this supposed to be implemented in your own game or is it just a bot that controls the player in Trove? Also what do you mean with "make a bot that has a user that it walks behind".
0
Its a bot that controls the second player and walks behind the first player
0
2 account would follow 1st account
0
Sorry for the lack of information ...
0
Ill checkout your game :P
0
Thanks :D
0
Yes you can but bots need to use machine learning with pygame or kivy or any other gui library to make game