GML
scripts
Open URL
Opens a website in the defaut
browser. Unlike execute_shell()
this seams to work on all
computers
You can call it like this:
open_URL("http://www.gamemaker.nl")
Hit CTRL+A to select all the code
|
Create
Shortcut
Creats a shortcut to a
program on a local disk.
You can call it like this:
creat_shortcut("C:\new_shortcut.lnk","C:\windows\paint.exe")
Hit CTRL+A to select all the code
|
Change
the base of a number
With this script you can
convert any number from any base
to any base with the figures you
want.
You can call it like this:
convert_number("51","0123456789","01")
Hit CTRL+A to select all the code
|
Set file
association
With this script you can
associate a program to an
extension. This mean for example
the extension "txt" is
associated with Notepad. You can
associate an extension to a GM
program. This is a very powerful
script so please only use it if
you know what you are doing!
You can call it like this:
set_file_association('.aaa','aaa
files','C:\blablabla\exe.ico','C:\blablabla\prog.exe','')
Hit CTRL+A to select all the code
|
Mirror
Sprite
With these scripts you can
mirror or rotate around 90° any
sprite during gameplay
Download
scripts
|
data key
script
With these scripts you can
write to a file like to the
registery
Download
scripts
|
|
|
|