The Dink Network

theprophet's Profile

<deleted>

Private Message
YIM deleted
AIM deleted
MSN deleted

2003-03-06 07:07:56
old.gif
if you want to make a 10 screens long cave, you have to make only 5 screens.

( begin, 3 caves and cave end )

If dink walks to the left ( he needs to walk 10 screens ) if he walks to the right, he exits the cave,

when he walked 10 screens to the left he will exit the cave on the other side.

You need a global int for this, lets call it &caveloop...

Ok

Begin Exit = O
Cave = X
Cave Exit = P

dink needs to reach P

here is a picture:

PXXXXXXXXXXO

but in the editor its
P X X X O
1 2 3 4 5 ( map screen numbers, for example )

then add this script to map screen 2:

void main(void)
{
freeze(1);

if (&caveloop == 10);
{
goto end;
}

script_attach(1000);
&player_map = 3;
load_screen(3);
draw_screen();
&caveloop += 1;
end:
unfreeze(1);
kill_this_task();
}

and add this script to screen 5:

void main(void)
{
&caveloop=0;
kill_this_task();
}

Now, add this script to screen 1:

void main(void)
{
&caveloop=10;
kill_this_task();
}

and this script to screen 4:
void main(void)
{
freeze(1);

if (&caveloop == 0);
{
goto end;
}

script_attach(1000);
&player_map = 3;
load_screen(3);
draw_screen();
&caveloop -= 1;
end:
unfreeze(1);
kill_this_task();
}

editted: sorry, error. Its fixed now

theprophet has released 7 files

TitleCategoryAvgUpdated
Agathain Sea TradersD-Mod, RompTolerable 4.1November 18th, 2003
Dink Nukem - Darkland F**d Up!D-Mod, RompTolerable 3.2October 24th, 2003
Guided ProjectileDevelopmentFair 6.0April 19th, 2003
BattlesysDevelopmentFair 6.4February 27th, 2003
Save ScrollDevelopmentFair 5.1December 30th, 2002
Three New HeroesD-Mod, DemoGood 8.1July 1st, 2002
Gorack, Umtar, and Shreik: The First BattleD-Mod, RompHorrible 2.3March 28th, 2002

theprophet has written 15 reviews

TitleFileTypeScoreDate
So DryNormalGood 7.0March 6th, 2003
Graphics: Stone of BalanceFeaturedExceptional 9.4December 26th, 2002
Well Pilgrim's QuestFeaturedExceptional 9.4December 26th, 2002
Well DinkGrenadeNormalHorrible 1.5August 13th, 2002
This Dmod is Excellent Creeping Sands (The)FeaturedGood 8.5July 7th, 2002
These Graphics Are Excellent Between the ShadowsFeaturedExceptional 9.5June 30th, 2002
This is a Great File Alternative HeroesNormalGood 8.9June 25th, 2002
I Liked This Demo ... His Ancestor 1239NormalFair 5.5June 23rd, 2002
This Dmod is Very Cool 9 Gems of Life (The)NormalGood 7.9June 23rd, 2002
This Game is Fantastic Alliance CommandNormalGood 8.5June 23rd, 2002
This Enemy is Very Good Eyeball JuniorNormalExceptional 9.7June 19th, 2002
This Pack Will Help People To Make There Own Bmps Dink Smallwood BMP GraphicsNormalGood 8.9June 7th, 2002
I Use This One Every Time I Want To Make a Good Script CEditNormalExceptional 9.8April 14th, 2002
I Found Dmod To Be O DinkCraftNormalGood 7.9April 7th, 2002
Well DinkabloNormalTolerable 4.3April 1st, 2002