repo.or.cz
/
krufty_fps.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
We've got object rendering and positioning working.
[krufty_fps.git]
/
demo
/
pack_out
/
scripts
/
cam.py
blob
495b90bf60e36856762dc554ec5dae484e68525c
1
#!/usr/bin/python
2
3
def
key_down
(
me
,
params
):
4
print
"the params are"
,
params
5
6
def
mouse_stuff
(
me
,
params
):
7
print
"the params to the mouse are"
,
params
8
9
self
.
functions
[
'MOUSEMOTION'
] =
mouse_stuff
10
self
.
functions
[
'KEYDOWN'
] =
key_down