Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: multiple hits !
Post: RE: multiple hits !

here https://github.com/Zanthiou5/space-invaders/issues/1
tyler Game Development 7 3,890 Jul-03-2018, 12:16 PM
    Thread: multiple hits !
Post: RE: multiple hits !

i have updated my script and i now have managed to make it take 3 hits before it dissapears but its treating the aliens HP as a group. please help me change this so they have individual HP, thanks im...
tyler Game Development 7 3,890 Jul-03-2018, 08:33 AM
    Thread: multiple hits !
Post: RE: multiple hits !

alien.py import pygame from pygame.sprite import Sprite class Alien(Sprite): """a class to represent a single alien in the fleet""" def __init__(self, ai_settings, screen): """initi...
tyler Game Development 7 3,890 Jul-02-2018, 03:35 PM
    Thread: multiple hits !
Post: multiple hits !

im trying to get my aliens to get hit multiple times before dissapearing, i have given the aliens 2 hp and my bullet dmg is 1 so it should take two hits so far ive just made the enemies imortal, lol, ...
tyler Game Development 7 3,890 Jul-02-2018, 01:01 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020