Trollsplatterer

Help, tutorials and examples for Game Maker

Endurance 3d
click to visit
A survival game with many weapons and enemies.

RK-1 Revenge of the Rats
click to visit
Use RK-1 to defeat nasty burglar insects!
The Invention of Life
click to visit
Game for the GameJolt Invention Contest.

Spiral Lords
click to visit
Lead your empire to conquer the galaxy.
Home Search/Browse Comments Trollsplatterer You can help! Links
Terms&Conditions This website has been designed for Firefox Design by Trollsplatterer (©2018)

Color Palette  download now


This is an example on how to use a color palette in your game. It allows using manually defined colors, but it also contains a script which automatically designs an entire palette. Just give the amount of rows and columns and the colors are generated for you. The example uses one object for the palette, which is created by a different object when you right-click on it. The object draws the palette, senses mouse clicks and stores the color value in a local variable in its creator.

Ratings

General Rating
Your Rating*

Comments/Suggestions

By Comment
Anonymous
2018-04-05
JSgOyQfJzV WhHmzTQluU PpBAvolaov SduraCbpkr aTQizaOaNz SHXWgwRzZE EZwEYOngYN RNQkcJlBrt JkcNVvfzpB siVLidkihZ
-Unknown-
2011-03-21
Very good, I needed this. :)



* : 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.