Skip to content

Commit

Permalink
change image
Browse files Browse the repository at this point in the history
  • Loading branch information
halcat0x15a committed Jan 17, 2012
1 parent 4946a4b commit 02e1b35
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 3 deletions.
6 changes: 3 additions & 3 deletions battle.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, client, player_id, stage_id):
objs = [it_obj]
self.obj = objs[0]
self.field = fields[0]
self.bullet_obj = OBJ('rifle1.obj', swapyz=True)#OBJ('ITkey.obj', swapyz=True)
self.bullet_obj = OBJ('ITkey.obj', swapyz=True)#OBJ('rifle1.obj', swapyz=True)
self.objects = self.client.send(objects.PLAYERS[player_id])

def _range(self, obj, char):
Expand Down Expand Up @@ -88,10 +88,10 @@ def draw(self):
glDisable(GL_COLOR_MATERIAL)
glDisable(GL_LIGHTING)
glPushMatrix()
hp = Text(str(player.life), fontsize=80, color=BLACK)
'''hp = Text(str(player.life), fontsize=80, color=BLACK)
hp.draw(HP_BOUNDS)
glPopMatrix()
del hp
del hp'''

def action(self, controller):
player = self.objects[self.client.identity]
Expand Down
Binary file removed data/IT arme.png
Binary file not shown.
13 changes: 13 additions & 0 deletions data/ITkey.mtl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Blender MTL File: 'ITkey.blend'
# Material Count: 1
newmtl Material.002_ITkey.png
Ns 96.078431
Ka 0.000000 0.000000 0.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ni 1.000000
d 1.000000
illum 2
map_Kd ITkey.png


38 changes: 38 additions & 0 deletions data/ITkey.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Blender v2.60 (sub 0) OBJ File: 'ITkey.blend'
# www.blender.org
mtllib ITkey.mtl
o Cube
v -0.419098 0.066408 1.006410
v 0.259151 0.076987 0.990134
v 0.211733 0.069031 -0.990929
v -0.466516 0.058452 -0.974652
v -0.417869 -0.011889 1.006696
v 0.260379 -0.001311 0.990418
v 0.212961 -0.009266 -0.990645
v -0.465288 -0.019845 -0.974367
vt 0.139654 0.678830
vt 0.139654 0.425293
vt 0.880113 0.425293
vt 0.880113 0.678830
vt 0.256300 0.181794
vt 0.727705 0.181794
vt 0.727705 0.343206
vt 0.256300 0.343206
vt 0.516010 0.817953
vt 0.514260 0.850569
vt 0.265811 0.841217
vt 0.267561 0.808601
vt 0.014901 0.850570
vt 0.016651 0.817954
vt 1.014901 0.825645
vt 1.013151 0.858262
vt 0.765168 0.841217
vt 0.766918 0.808601
usemtl Material.002_ITkey.png
s off
f 1/1 2/2 3/3 4/4
f 5/5 8/6 7/7 6/8
f 1/9 5/10 6/11 2/12
f 2/12 6/11 7/13 3/14
f 3/15 7/16 8/17 4/18
f 5/10 1/9 4/18 8/17
Binary file added data/ITkey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 02e1b35

Please sign in to comment.