Home
Welcome to GM2Color!
GML2Color is a free utility which converts GML code from plain text into a choice of HTML, BBcode, or Wikidot markup. The tool originally took around four days to create, but since that time it's undergone a number of improvements. I have to say, the most exciting part of the process was categorizing the 1,812 syntax constructs which comprise the language. I hope you enjoy using this site as much as I enjoyed building it!
I've made the code lists publicly available for download (see the left navigation bar) in case anyone wishes to take on a similar project without having to organize all of the GML constructs. The PHP source code is also up for download.
Let me see?! I want to see!!
Below is an example of code generated using GML2Color.
var ii;
room_caption = "Prime Number Gen (" + string(fps) + " FPS)";
// A cool color-shifting button
for (ii = 0; ii < btn_count; ii += 1)
btn_hue[ii] += random(100/(max(fps,30)+1));
/*
Blah blah current_time blah blah
Blah ds_list_add(id,val) blah // blah
*/
if running {
start_timestamp = current_time;
for (ii = 0; ii < freq; ii += 1) {
if is_prime(num_current) {
ds_list_add(lst_primes,num_current);
prime_count += 1;
}
num_current += 2;
// Determine time used in calculating last prime
if ii == freq - 2 then prev_timestamp = current_time;
if ii == freq - 1 then last_time = current_time - prev_timestamp;
}
total_time += current_time - start_timestamp;
} |
Ew, it's a bug! I found a bug! Ewww!
I am human; I make mistakes from time to time. If you find any bugs, please let me know.
Shout Box
LOL: <i><u><b>LOL<b><u><i>
LOL: html doesn't work
LOL: LOL
Fede-lasse: Random chat ftw?
Cow.: I drink water and sometimes milk.
Koe: Ik drink water en soms melk.
baa: cows drink D1g1talAli3n
icicle.flame: Cows drink.. BALOGNA! xD Icicle.flame
LOLOLO: OLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLLOLOLOLOLLLLLLOOOOOLOLOLOLOLOLOLOLOLOLOLOLOOOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLLLLLL!!!!!!!!!!!!!!!!!!!!!!!!1111111111111111111111111111
test: dddddddffffffffddddddddddfffffddddddddddffffffffffddddddddddffffffffffffdddddddddddddd
raziraz: qwazzzar
Shit: Penis
yer mom: cows drink yer mom
:))))): FFF
foo: bar

