Character Control using Python -


i wondering if knows how import sprite , let move when pressing arrow keys in python, without using pygame, or other library. purely out of curiosity, because thinking sort of personal challenge, , that's came mind: python game, without of pygame or libtcod. possible, or need library you? i'd appreciate anyone's input on one.

thanks.

what comes mind using tkinter's canvas class. quite possible simple program described using bindings on class.

a example of may found in mark lutz's programming python (http://shop.oreilly.com/product/9780596158118.do), moving pics example.

if don't own this, can still @ code reference downloading code using link on right side of page. path appropriat folder /pp4e-examples-1.3.1/examples/pp4e/gui/movingpics/.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -