GLBasic forum

Main forum => GLBasic - en => Topic started by: Schurmy on 2006-May-23

Title: how is this looking?
Post by: Schurmy on 2006-May-23
how does my project look so far the only problem is that my alien(enemy) will not appear and move from right to left like the shuriken did?



LOADBMP "space.bmp"
LOADSPRITE "motion1.bmp", 0
LOADSPRITE "motion2.bmp", 1
LOADSPRITE "alien,bmp" , 2
LOADSPRITE "alien2.bmp", 3

alien_x = 480

WHILE TRUE
   // animation:
   delta=delta+1
   IF delta>15
   ani=1-ani
   delta=0
   ENDIF
   SPRITE ani, 85, 370
   
   // alien
   alien_x = alien_x - 1
   SPRITE 2, alien_x, 370
   SHOWSCREEN
WEND
Title: how is this looking?
Post by: Kitty Hello on 2006-May-23
is that "alienbmp" instead of "alienbmp" ?
Now that's a nasty one!