by Game A Gogo » Mon Oct 15, 2007 12:01 am
@banfbears:
You are looking for a raw C scripted? script in notepad "name.c" and "name.h" files and go get a compiler.
GE can make those complex game, "xvelocity-=6;" is not liek the only thing that ever will be used!
like
"double j, i;
erase(0,0,0,.99);
moveto(0, height/2);
for(i=0-(width*3); i<width*4 && (i+OffSet)*Zoom<Size; i++)
{
if((i+OffSet)*Zoom<Size && (i+OffSet)*Zoom>=0)
{
if(Points[(i+OffSet)*Zoom]<257)
{
setpen(0,64,192,.25,1);
lineto(i, Points[(i+OffSet)*Zoom]);
setpen(255,255,255,.5,11);
putpixel(i, Points[(i+OffSet)*Zoom]);
setpen(0,0,255,.75,7);
putpixel(i, Points[(i+OffSet)*Zoom]);
setpen(255,255,255,0,1);
putpixel(i, Points[(i+OffSet)*Zoom]);
}
}
}
if(xmouse>xscreen && xmouse<xscreen+width && ymouse>yscreen && ymouse<yscreen+height)
{
setpen(255,255,255,.5,1);
moveto(0, ymouse-yscreen);
lineto(width, ymouse-yscreen);
if(Mouse_But!=2)
{
setpen(255,255,255,.5,1);
moveto(xmouse-xscreen, 0);
lineto(xmouse-xscreen, height);
}
else if(Mouse_But==2)
{
setpen(192,64,64,.5,3);
moveto(xmouse-xscreen, 0);
lineto(xmouse-xscreen, height);
}
}
if(Mouse_But==1)
{
setpen(255,255,255,.5,9);
putpixel(xmouse-xscreen, ymouse-yscreen);
setpen(0,0,255,.75,5);
putpixel(xmouse-xscreen, ymouse-yscreen);
no_rep=0;
}
else if(Mouse_But==0 && no_rep==0 && ((xmouse-xscreen)+OffSet)*Zoom<Size && xmouse-xscreen>=0)
{
Points[((xmouse-xscreen)+OffSet)*Zoom]=ymouse-yscreen;
no_rep=1;
}
else if(Mouse_But==2 && xmouse-xscreen>=2 && xmouse-xscreen<=width-2 && ((xmouse-xscreen)+OffSet)*Zoom<Size-2)
{
Points[(((xmouse-xscreen)+OffSet)*Zoom)-2]=257;
Points[(((xmouse-xscreen)+OffSet)*Zoom)-1]=257;
Points[((xmouse-xscreen)+OffSet)*Zoom]=257;
Points[(((xmouse-xscreen)+OffSet)*Zoom)+1]=257;
Points[(((xmouse-xscreen)+OffSet)*Zoom)+2]=257;
}"
and also, there is a Global code, you can create functions in there like this:
"void Draw_BG()
{
double i;
erase(0,0,255,0);
for(i=0; i<height-2; i++)
{
setpen(64-((i/height)*64),64-((i/height)*64),64-((i/height)*64),0,1);
moveto(1,i+1);
lineto(width-1, i+1);
}
}
void Click_BG()
{
double i;
erase(0,0,128,0);
for(i=0; i<height-2; i++)
{
setpen(((i/height)*64),((i/height)*64),((i/height)*64),0,1);
moveto(1,i+1);
lineto(width-1, i+1);
}
}
void Selected_BG()
{
double i;
erase(0,0,255,0);
for(i=0; i<height-2; i++)
{
setpen(64-((i/height)*64),64-((i/height)*64),64-((i/height)*64),0,1);
moveto(1,i+1);
lineto(width-1, i+1);
}
}"
GE CAN and IS powerful. you just need to know how to use it!
also, if you have the skills enough, you can make programs whit it! (This is like what I use GE for now xD)
Programming games is an art,