Gender: Female
Rank: Suspect
Joined: Sun Mar 21, 2010 2:23 am
Posts: 8
Alright, I'm not sure where to post this at all. I tried to look up where I should be didn't find it.
My name's Yukie and I'm new to scripting and using PwLib. I followed the tutorial to create a game and all i got was a white screen. So I copy/paste the tutorial directly, to see if it would work but still..nothing but a white background.
Also I can't figure out how to set up a background. Do I have to edit the startup file for that?
here's the code that I copied and pasted from the tutorial into game.hlsl
#include(pwlib/pwlib.hlsl)
[game]
jumptoscript("setup");
[setup]
runscript("pw_initpwlib");
runscript("pw_initpwbgs");
runscript("charcreation");
changetitle("PWLib Tutorial Game");
jumptoscript("run");
[charcreation]
runscript("pw_createema");
runscript("pw_createtrucy");
[run]
jumptoscript("enterscene1");
[enterscene1]
runscript("pw_usepwbgcourthall");
runscript("pw_showadvarrowmenu");
jumptoscript("scene1");
[scene1]
runscript("setlipsynctochar");
runscript("showpwchar");
runscript("pw_showmessagebox");
runscript("pw_enableemanormal");
runscript("pw_setnameboxtoema");
message("Oh, hello.");
message("My name is Ema Skye!");
runscript("pw_setnameboxtotrucy");
runscript("pw_enabletrucynormal");
message("Oh, hello. My name is Trucy.");
message("I'm a magician.");