pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Portal Turret (motion detection test)

Portal Turret (motion detection test) - 1.0

Dylan J. Raub (dylanjraub)

Tags:

Description

I haven't added a project in forever. But recently I thought "How cool would it be to make a real portal turret"? Well, I made something like it; A motion detection program. It even acts like the real thing by making sounds and moving the "aim" in a accurate fashion. Tell me guys what you think! You'll need: Python 2.5, Pygame 1.8.1 or higher, PIL, and VideoCapture0.9.2 or higher AND OF COURSE A WEBCAM!!! BTW SOME ONE TOOK MY CODE AND MADE IT THEIR OWN! DO NOT DO THIS! ASK FOR PERMISSION FIRST!

Links

Home Page: http://www.mediafire.com/?ikrtyuzonz5

Screenshot


click to view original size

Releases

Portal Turret (motion detection test) - 1.5 - Nov 16, 2009
Portal Turret (motion detection test) - 1.1 - May 28, 2009
Portal Turret (motion detection test) - 1.0 - May 23, 2009

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

August 6, 2009 3:33pm - dave - nickname: (strider5734)
nickskylander@yahoo.com
August 6, 2009 3:32pm - dave - nickname: (strider5734)
whats the code to spawn this turret in portal please tell me PLS!
June 8, 2009 12:11pm - Dylan J. Raub - nickname: (dylanjraub)
I'm sorry, but your grammer is difficult to understand. No offense.:)
June 6, 2009 2:28pm - gius - nickname: (gius)
if the background is an object (a picture)
I can move with the movement of the hand?
June 6, 2009 2:13pm - gius - nickname: (gius)
a tutorial for those who know little python would be best to understand.
you can drag an image?
June 6, 2009 11:53am - Dylan J. Raub - nickname: (dylanjraub)
If you guys have any sugestions go ahead and tell me. ;)
June 6, 2009 11:52am - Dylan J. Raub - nickname: (dylanjraub)
A tutorial? I guess once and a while, but why would I need a tutorial for this? Just curious :P. Thanks guys.

BTW to install VideoCapture, you'll need to go to this link:
http://videocapture.sourceforge.net/

It says to place the folder with your version of python (ie 2.4 is the folder python24)into the folder CONTAINING your python folder. It's probably in the top level of your main drive. It will have the same name as the folder mentioned above, but still place that folder next to your folder.
It will ask if you want to replace or yada yada.. just press "Yes to All". It doesn't replace anything, it just putc the modules and stuff in the correct places. TADA! VideoCapture is now installed. :)
June 6, 2009 6:40am - gius - nickname: (gius)
All solved, it works very well!
Dylan you ever thought about a tutorial?
You think you can make to acknowledge the hand even when it stops?
June 6, 2009 6:10am - gius - nickname: (gius) - 5/5
Hi,
I have this error
File "C:\Python26\Portal Turret Test\Portal Turret (Motion detection test)\turret.py", line 5, in <module>
from VideoCapture import Device
ImportError: No module named VideoCapture

I do not know where to insert the module VideoCapture,
I just started with Python.

Thanks
Gius
May 28, 2009 3:36pm - Dylan J. Raub - nickname: (dylanjraub)
okay i fixed it again.
May 26, 2009 10:22am - Dylan J. Raub - nickname: (dylanjraub)
god, r u serious?! it works fine for me... I don't understand.... *sigh* I'll try again
May 24, 2009 9:49pm - Brennon Williams - nickname: (sciguy77)
Looks cool, but each time I try to download it I get a "Decompression Failed" message.
May 24, 2009 11:24am - Dylan J. Raub - nickname: (dylanjraub)
I made a big mistake before: i uploaded an empty zip file. Luckly it works now. :P
May 24, 2009 10:57am - Marcus Lindgren - nickname: (muscar)
The download link is down, please re-upload
May 24, 2009 2:24am - Rene Dudfield - nickname: (illume)
heh. the youtube video is funny.
May 23, 2009 10:58pm - Dylan J. Raub - nickname: (dylanjraub)
here's a video on it:
http://www.youtube.com/watch?v=HM7V6BEQESQ
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Oct 28, 2014

Oct 21, 2014

Oct 20, 2014

Oct 16, 2014

Oct 9, 2014

Oct 8, 2014

Oct 7, 2014

Oct 4, 2014

Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)