Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Space Invaders like game
#11
They aren't ASCII characters, although that's what they're meant to look like. I don't have Assembly, so I just drew the bullets with LINE and CIRCLE statements.
Code:
IF bullet$ = "yes" THEN
   LINE (bulletx, bullety)-(bulletx, bullety - 10), 3, BF
     IF powerup$ = "bomb" OR powerup$ = "super bomb" THEN
       LINE (bulletx - 3, bullety - 5)-(bulletx + 3, bullety - 5), 3
       LINE (bulletx - 2, bullety - 3)-(bulletx + 2, bullety - 7), 3
       LINE (bulletx - 2, bullety - 7)-(bulletx + 2, bullety - 3), 3
     END IF
     IF powerup$ = "piercing" THEN
       LINE (bulletx, bullety - 10)-(bulletx - 2, bullety - 7), 3
       LINE (bulletx, bullety - 10)-(bulletx + 2, bullety - 7), 3
     END IF
     IF powerup$ = "shaky bullet" THEN
       CIRCLE (bulletx, bullety - 8), 2, 3
       CIRCLE (bulletx, bullety - 2), 2, 3
     END IF
END IF
Bomb, super bomb, piercing, and shaky bullets all have theire own look, as do the enemy bullets.
'm boycotting signatures.
Reply


Messages In This Thread
Space Invaders like game - by dark ninja - 11-20-2004, 05:10 AM
Space Invaders like game - by adosorken - 11-20-2004, 06:16 AM
Space Invaders like game - by dark ninja - 11-20-2004, 06:25 AM
Space Invaders like game - by adosorken - 11-20-2004, 06:31 AM
Space Invaders like game - by dark ninja - 11-20-2004, 09:00 AM
Space Invaders like game - by adosorken - 11-20-2004, 12:13 PM
Space Invaders like game - by relsoft - 11-20-2004, 12:25 PM
Space Invaders like game - by dark ninja - 11-20-2004, 09:08 PM
Space Invaders like game - by adosorken - 11-20-2004, 09:26 PM
Space Invaders like game - by dark ninja - 11-20-2004, 11:29 PM
Space Invaders like game - by adosorken - 11-21-2004, 01:52 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)