damn coding!help!!!
Displaying 1-6 of 6 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Miggle

I'm a newbie at coding so can someone tell me why the following puts up a purple screen under v2kj.
system.vc:
//Intro Variables
int titlepic, starent, vgpic;

void autoexec()
{
map("begin.map");
}
-----------------------Seprate file
begin.vc:

event /* 0 */
{
playmusic("cool.s3m");
vgpic = loadimage("verge20.pcx");
copysprite(0,0,320,240,vgpic);
showpage();

}





Posted on 2001-02-18 14:55:37

jesusfreak

also try to put an entityspawn or mapchange at the end, sometimes it is funny that way

(sorry F@R SP377!nG1



.|..|-../..|.|../..|-..|\..|-..../...|
.|..|-..\..|.|..\..|-..|/..|-.../-\..|/
\|..|-../..|_|../..|...|\..|-../...\.|\

Posted on 2001-02-18 17:57:55

neo16777216

// begin.vc
playmusic("cool.s3m");
vgpic = loadimage("verge20.pcx");
while(!b1) // while the person does not press ENTER
{
CopySprite(0,0,320,240,vgpic);
ShowPage();
UpdateControls(); // See if the person press a key.
}
free(vgpic); // don't forget to free up RAM were using



Posted on 2001-02-19 08:46:05

andy

If you're in hicolour mode, the pink is to be expected. v2k+j converts black to that pink colour because it's a better mask colour than black, or something. The side effect is that any black on your VSP will show up as pink if said tile is on the bottom layer.

It's an easy fix, just replace all the black with uberdark gray. (colour index 1 will work, in the default VERGE palette)



'Never confuse a single defeat with a final defeat.' -F. Scott Fitzgerald

Posted on 2001-02-19 11:29:44

Ear

You get the distinction of posting the dumbest coding advice I have ever heard in my entire life, something rarely accomplished by mortals. Good job!



- Ear "It's time for the human race to enter the solar system."

Posted on 2001-02-19 18:24:57

jordan

email me at buckeybucker310@yahoo.com




Posted on 2001-03-08 23:06:00


Displaying 1-6 of 6 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.