Game Maker Help
If you're not familiar with Game Maker, then you'd better check out YoYoGames.com first. Otherwise, dig in, knowledge is free.
Having trouble finding a tutorial or example on something? Suggest a topic!
Examples
Text Files Example (.gmk unreg)
Learn to use Game Makers text file functions with this example. Learn to get a filename from the user, create a text file, write to it, and append to it.
NPC Movement Example (.gm6 unreg)
This is a simple example that shows how you can make an NPC in an RPG move around an area. The NPC moves in one direction, pauses, moves in another direction, etc. while still staying within a certain range of its starting point.
Non-Digital Clock Example (.gm6 unreg)
This example shows a clock with a minute, a second, and an hour hand. No sprites are used, just draw lines over a background. Notice how the hour hand moves between each hour like a real clock.
Non-Popup Input Box Example (.gm6 unreg)
Try this example if you're tired of the standard pop-up box for inputing strings. This uses the draw event with keyboard_string to make an input box right in the room.
Cheat Codes Example (.gm6 unreg)
Cheat codes are relatively easy to make, but this example should be helpful to those who aren't very experienced with the Game Maker Language.
Spriteless Menu Example (.gm6 unreg)
To draw a simplistic menu, you don't need to use sprites. This example with show you how to make a menu without using sprites, as well as how to make a menu that uses the keyboard.
Articles and Tutorials
Beginner Web Design (click here to view)
This is an article about some key things to remember when designing your first website. Things like color choices and navigation are talked about (Okay, so it's not about Game Maker, but some people could use some pointers...).
Using Healthbars Article (click here to view)
This article is online for your convience, so you don't have to download it. This is an article on how to make a healthbar. It also shows how to make more than one healthbar, and how to make your health have a different range than 1 through 100. This has been updated to tell how to keep the healthbar in the view.
Scripts
3d Array Scripts
Includes array_3d_get(name,x,y,z) and array_3d_set(name,x,y,z,value).
Caesar Cypher Script
This script encrypts and decrypts using the classic Caesar cypher. I don't recommend it for sensitive data encryption. I wrote this after seeing a similar script being ironed out in the GMLscripts forum.
Instance Nth Nearest Script
Find the 2nd, 3rd, 4th, etc. instance away from a certain object (or any object). There is a slightly more efficient version of this on GMLscripts.com, but this one is fast enough.
