https://pastebin.com/aYEsL6L5
SetVirtualResolution( 768, 1024 ) // doesn't have to match the window
//UseNewDefaultFonts( 1 )
playerx as float
playery as float
//lazerx as float = -100
//lazery as float
//enemyx as float
//enemyy as float
//enemy_direction = 4
//score=0
//stars as integer[50,2]
#include "Loader.agc"
#include "PlayerMove.agc"
//#include "Player_shoots.agc"
//#include "enemy_move.agc"
//#include "collision.agc"
//#include "stars.agc"
//#include "Text.agc"
//#include "Sounds.agc"
Gosub loader
//Gosub make_stars
//Gosub Load_sounds
//Gosub Load_Music
do
Gosub PlayerMove
// Gosub Move_stars
// Gosub Show_score
// Gosub Player_shoots
// Gosub Enemy_move
// Gosub collision
Sync()
loop
Comments