Sign in to follow this  
jokc

explosion for both in a group collide

Recommended Posts

jokc    100
heres some code that shows what im trying to do using pygame:
for alien in sprite.groupcollide(aliens, shots, 1, 1)
    Explosion(alien, 0)
in addition to the explosion at the alien position i would also like to create an explosion at the shot location how would i go about doing this? Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this