TGC Codebase Backup



darkbasic will know your mouse is moving and when your clicking it by Gamer Making

14th Oct 2006 12:58
Summary

dark basic will detect your mouse moving and when your clicking it



Description



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    sync on
sync rate 30
do
cls
if mouseclick()>0
print "you are clicking the mouse"
endif 
sync
if mousemovey()>0 or mousemovex()>0
print "you are moving the mouse"
endif
sync 
loop