For experience python programmers who want to make games with pygame.This tutorial will explain how a turret can point in any direction your mouse cursor is at.Follow along,as this video will explain each line in the source code. You'll need some 2-d images for the turret.Find some here:http://www.reinerstilesets.de/2d-grafiken/2d-animated/ Source code link:
http://www.mediafire.com/file/wf3bqxl9lfq8ohe/mouseTutorial.py Download pygame here:http://bitbucket.org/pygame/pygame/downloads/
| 3987 Views |
The words you entered did not match the given text. Please try again.
Oops!
Oops, you forgot something.