Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

better explosion sprite

  • Loading branch information...
commit f060ae6f8fbcf5003e26e5e2e8847f57fa1f5d84 1 parent c12aac4
@antismap authored
View
2  data/config.conf
@@ -1,7 +1,7 @@
(dp0
S'sound'
p1
-I00
+I01
sS'resolution'
p2
I00
View
BIN  images/another copy of sprite_explosion_list.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/copy of sprite_explosion_list.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/sprite_explosion_list.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
4 sources/enemy.py
@@ -176,8 +176,8 @@ def update(self, ship):
#/2 for one frame every two ticks
#print("blitting", self.dying_index/2)
self.screen.blit(self.sprite_explosion_list[(self.dying_index/2)],
- (self.x-60,
- self.y-60))
+ (self.x-112,
+ self.y-86))
self.dying_index = self.dying_index +1
else:
if (self.typeofship==1):
View
2  sources/load_resources.py
@@ -60,7 +60,7 @@ def load_resources(pygame_arg):
#loading sprite sequences
#sprite_explosion_list = sprite_handling.load_sliced_sprites(pygame, 64, 64, "explosion_sheet.png" )
- add_sprite_sequence("sprite_explosion_list.png", 192, 192)
+ add_sprite_sequence("sprite_explosion_list.png", 204, 256)
add_sprite_sequence("sprite_explosion_list_asteroid.png", 192, 192)
add_sprite_sequence("ship_hurt.png", 192/2, 192/2)
prog.update(100)
Please sign in to comment.
Something went wrong with that request. Please try again.