The Dink Network

Anathavia's Profile

Well let's tell something about me than!

I only recently discovered Dink, and I love the fact that you can create your own stories. I never scripted or anything but always wanted to try it sometime but didn't know where to start.

Well I found my start, with all great tutorials here it should not be to hard.

Not to hard?!? Well see that is a bit my problem I make it hard for myself. I got a lot of ideas and to put them into working I can't just slightly edit the standard scripts so it won't be that easy either.

The first script I am trying to make I have been puzzling on for 2 hours now and still not working as I want it so my first D-mod probably is ready in 2027. But I am patient so I will get it done. And I can learn from my mistakes. (well after 2 more hours and some help from magicman it works so maybe it will be 2013 instead of 2027 )

Well I can tell a lot more but if you want to know something just ask me.

Private Message

2010-10-30 09:31:47
peasantfr.gif
I think this should solve it, not sure but think you need to make a loop back to forward to keep it continuing and for backward the same. Hope it works.


int &counter = 1;
forward:
sp_pframe(&sprite, &counter);
wait(100);
&counter += 1;
if (&counter == 11)
{
goto backward;
}
else
{
goto forward;
}

backward:
sp_pframe(&sprite, &counter);
wait(100);
&counter -= 1;
if (&counter == 1)
{
goto forward;
}
else
{
goto backward;
}

Anathavia has released 1 file

TitleCategoryAvgUpdated
Animated Waterfall TilesDevelopment, GraphicsGood 7.2August 10th, 2010