Help, tutorials and examples for Game Maker

The Invention of Life
click to visit
Game for the GameJolt Invention Contest.

RK-1 Revenge of the Rats
click to visit
Use RK-1 to defeat nasty burglar insects!
Paper Flight
click to visit
3D racing game with custom paper airplanes.

Platformer Engine
click to visit
An Engine to help you start a 2D Platformer Game.
Home Search/Browse Comments Trollsplatterer You can help! Links
Terms&Conditions This website has been designed for Firefox Design by Trollsplatterer (©2018)

Weapon Inventory  download now

This example shows a way to implement a weapon inventory system for a platform shooter. I tried to use as little GML code as possible, if I did use code, it's clearly explained how and why (I think). The system shows the currently selected weapon and its ammo at the bottom. There's a button to show the weapon-overview, a keyboard-shortcut W has been added. When showing the overview (object inventory_screen), all other instances are deactivated and you can see the full information on the state and powers of the weapons.


General Rating
Your Rating*


By Comment
Cool example it was really helpfull :) Houken
thanks for this, it was really helpfull. ill be sure to give you credit when the game im using this for is released!

* : The rating makes use of your IP-address to remember your vote. IP addresses may change, but your vote will be kept, even though it may no longer be visible here.