Adblock breaks this site

Drawing in python

Discussion in 'Programming General' started by asdasd123, Mar 22, 2012.

  1. asdasd123

    asdasd123 Forum Addict

    Joined:
    Feb 2, 2012
    Posts:
    417
    Referrals:
    0
    Sythe Gold:
    0
    Drawing in python

    Hey how do I draw with my arrow keys on key press not release in python

    left key goes left, up does up etc
     
  2. The Fat Controller

    The Fat Controller Guru

    Joined:
    Aug 16, 2007
    Posts:
    1,003
    Referrals:
    0
    Sythe Gold:
    1
    Drawing in python

    Vague... Google about moving sprites with pygame maybe.
     
  3. Nullware

    Nullware Guru

    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0
    Drawing in python

    You can use TkInter to do both the drawing and the handling of the key presses.
     
< [VB.NET]Wait Function() | Need help with midterm project. >


 
 
Adblock breaks this site