Originally Posted By: Leon_Kennedy
Wow, am I a noob on this. And I am smarter than this - I should have been able to figure that out on my own. Thanks for the advice. I did what you said, and now things work fantastically.

Still have one question, though. When I have first.c (or is it first.wdl?) assigned as the script, I have no movement in WED. However, if I load the script first.c (or is it first.wdl?) in SED and run, I have movement. Why is this? Why would I be able to move in SED but not WED?

EDIT: Thought of another question. Once I am all done with the tutorials and start working on my own games, I am going to modify game.c to state "game_name" instead of "first". So I can then use that script in WED, which is no big deal. But, when I am all done, do I need to change the script over to game_name.c before distribution?

1.I think that you have bug in wed..Which version of 3DGS do you have?
2. .WDL is C-scripts programming language;
.C is Lite-c programming language;
3.When you "Publish" the game,".exe" will have the same name as in this case "game_name.c"(main game script file);


Originally Posted By: Angelus1818
Hello,

First off Leon_Kennedy I am so sorry that I accused you of piracy, that was wrong of me. I apologize for it. Also are you on the Silent Walk forums? Or is it just someone with the same username. Someone with your user name just registered there. Thats a fun site, great people, like this one. Well I hope you can forgive me smile

cro_games,

I am having some trouble still making my levels run. I made the script file with the code you provided (with movement code) but in wed it says it fails to load game.c! I assigned it to to WED through the Map Properties so I have no idea whats wrong. All I can think of is that I pasted the movment code inside the () part of the function.main code. Does it go in there the () part or at the very end beside it? This is what my code looks like now:

#include <acknex.h>
#include <default.c>

function main(def_moveset(); // default camera movement)
{
level_load("first.wmb");
wait(3);
}

Notice the line "def_moveset(); // default camera movement" is nestled inside function main's () is this what it should look like?

#include <acknex.h>
#include <default.c>

function main()def_moveset(); // default camera movement
{
level_load("first.wmb");
wait(3);
}

Now notice it's beside it. Which way is correct? Or is either of them correct?
Sorry i'm such a n00b here. Thanks for your help in advance.

And LeonK,

I'm sorry I don't know the answers to your questions frown


function name()
{//start
...
//end
}

Right code:

function main()//main function
{//start
level_load("first.wmb");//load level
wait(3);//wait for 3 ms
def_moveset();//move camera
//end
}


Last edited by cro_games; 09/03/08 20:07.

Hello everyone my name is Ivan Mandic from "Frozen pixel studio". wink
-----------------------------------
Homepage: www.fpx-studio.com
e-mail: emu_hunter_1990@hotmail.com
(working on a game engine)