How would you make a game maker game php
How would you make a game maker game php
You just CAN'T do a game using only PHP because PHP is a server-side language. And the game would run on the client (i.e: the user's browser).
What you could do is to use the Game Maker's event-driven approach for making a Javascript-based game.
Protip: Use HTML5 technology.