This is the seires of commands I put in to see if everything was working but then it said the thing on the bottom. What happened?
X_LOADOBJ "Dragonfly.ddd", 0
WHILE TRUE
X_MAKE3D 1, 50, 45
X_CAMERA 5, 0, 0, 0, 0, 0
X_SETTEXTURE 0,0
X_DRAWOBJ 0,0
X_MAKE2D 1, 50, 45
SHOWSCREEN
WEND
../../Include/glb3d.h: In function `int __GLBASIC__::__MainGameSub_()':
../../Include/glb3d.h:16: error: too many arguments to function `void __GLBASIC__::X_MAKE2D()'
C:\Program Files\GLBasic\Compiler\platform\gpc_temp.cpp:17: error: at this point in file
*** FATAL ERROR - Please post this output in the forum
Hmm according to the docs I'm looking at X_MAKE2D doesn't take any arguments. That should have been picked up by the compiler before it gets to that stage I would have thought. Mind you I'm still very much a GLBasic "newbie" myself. :)
When I compiled that code I got this error message:
Quote
_______________________________________
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.2008.210 - 3D, NET
"test3d.gbas"(14) error : wrong number or aguments : "X_MAKE2D" called with 3 args. Required: 0 to 0
Wich would indicate that Hatonastick is correct. Try it without the parameters. Mabe you have an old version of GL-Basic? Try the update function in the web-menu.
I took out the paramaters and it worked :) thanks everyone