Hi! I've just started my first project, a 2d sprite based game. I've set up the player and set some borders.
What I want to try and do next is to spawn "enemy" sprites along the top of the screen and make them move down. Gradually increasing the spawn rate. But I have no idea how to do this
. If any of you could point me to a Tutorial or have any general tips it would be greatly appreciated.
So far:
REM Project: FirstProject
REM Created: 29/04/2007 18:04:08
REM
REM ***** Main Source File *****
REM
HIDE MOUSE
LOAD IMAGE "plr.jpg", 1
LOAD IMAGE "em.jpg", 2
x# = 50
y# = 50
DO
CLS
INC spriteno, 1
REM Set Up Sprite
SPRITE 1,x#,y#,1
REM Set up Controls
IF Rightkey()=1 THEN INC x#, 0.1
IF LeftKey()=1 THEN DEC x#, 0.1
IF UPKEY()=1 THEN DEC y#, 0.1
IF DOwnkey()=1 THEN INC y#, 0.1
REM Set Borders
IF x#>575 THEN x#=575
IF x#<25 THEN x#=25
IF y#>435 THEN y#=435
IF y#<25 THEN y#=25
LOOP
END