Stannellc icon

AGK2 Tutorial SpaceShooter main.agc

Stannellc | PRO | 08/27/17 10:12:59 PM UTC | 0 ⭐ | 220 👁️ | Never ⏰ | []
text |

750 B

|

None

|

0 👍

/

0 👎

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