Tag : basic player shooting

[GML] Basic Player Shooting – Loose Java basicplayer shooting script

GML Basic Player Shooting

gml basic player shooting - loose java basicplayer shooting scriptThis is a simple GML Basic Player Shooting snippet for a loose java basicplayer shooting mechanic. This is a great recipe to try after just completing our GML Asteroids Style Movement tutorial.

Requirements:

  • Game Maker 8.1 Or Game Maker: Studio

Game Objects:

  • ObjPlayer
  • ObjBullet

Setting Up ObjPlayer:

The Player Create Event

 

The Player Step Event

 

The Player Alarm Event

 

Setting up ObjBullet

The Bullet Create Event

 

The Bullet Collision Event