Page 1 of 1

Global Coding Question

PostPosted: Wed Jan 04, 2006 5:46 am
by Shadow_of_Chaos
I was just wondering, is it possible to make a game run using ONLY Global Coding? Making custom variables using the C++ command "VAR" and using other C++ commands like "FUNCTION" "MAIN" "WHILE(1)" and what not? Another thing, how do you set a custom made variable? Like say I create a variable called "HIT_POINTS" and I want to set the integer amount to 100, where and how would I do that?

PostPosted: Wed Jan 04, 2006 12:13 pm
by makslane
You can use the "Global Code Editor" to create and initialize vars, define structs, arrays and new functions to use in your actions.

Like say I create a variable called "HIT_POINTS" and I want to set the integer amount to 100, where and how would I do that?


You can put this code in global code editor:

int HIT_POINTS = 100;

=D

PostPosted: Fri Jan 06, 2006 4:24 am
by Shadow_of_Chaos
Thanks! I'll be sure to try that! ^_^