metatarasal's Profile
Something about me...
Well, I was born June 2 1987 which makes me 22 years old at the time of this writing. I first started playing Dink around 2002 and joined the forums in may 2005. Since December 2008 I've been doing the polls here on the Dinknetwork, so if you think a poll is stupid, funny or plain pointless it's probably my fault.
I also released some DMODs here. The first two called Dink learns music and Quest for the gems aren't really that great, but I also released The scourger, a DMOD that I still consider to be my opus magnum.
Progress on new DMODs is going very very slowly though. I still have a DMOD in production called "Terminal Tranquility 1, Paninga". But as mentioned before progress is really slow, so don't count on it being released any time soon.
I've made a development file called "An introduction to DMOD making" which seems to be very popular, be sure to check it out if you're interested in making DMODs yourself!
If you wish to contact me you can do so by posting a private message on the forum, or by emailing to: metatarasal (at) hotmail (dot) com
If you want to read more about me, check out the interview I gave for Dinkerview.
Well, I was born June 2 1987 which makes me 22 years old at the time of this writing. I first started playing Dink around 2002 and joined the forums in may 2005. Since December 2008 I've been doing the polls here on the Dinknetwork, so if you think a poll is stupid, funny or plain pointless it's probably my fault.
I also released some DMODs here. The first two called Dink learns music and Quest for the gems aren't really that great, but I also released The scourger, a DMOD that I still consider to be my opus magnum.
Progress on new DMODs is going very very slowly though. I still have a DMOD in production called "Terminal Tranquility 1, Paninga". But as mentioned before progress is really slow, so don't count on it being released any time soon.
I've made a development file called "An introduction to DMOD making" which seems to be very popular, be sure to check it out if you're interested in making DMODs yourself!
If you wish to contact me you can do so by posting a private message on the forum, or by emailing to: metatarasal (at) hotmail (dot) com
If you want to read more about me, check out the interview I gave for Dinkerview.
A simple cutscene can be made using very basic DinkC commands. So you could use the say(); and move(); commands to make a primitive cutscene already.
For example these lines of code will first freeze Dink, then make Dink say someting and walk down (to <newy> which hasn't been defined yet...), finaly we'll unfreeze him so he can continue doing what he wants:
freeze(1);
say_stop("Wow I'm saying something",1);
move_stop(1,2,<newy>,1);
unfreeze(1);
instead of 1 (which is Dink) you could also use other sprites. For example ¤t_sprite, which is the sprite to which the script is attached to, so you could do something like this:
freeze(1);
freeze(¤t_sprite);
say_stop("Hi there, sprite!",1);
say_stop("`7Welcome Dink",¤t_sprite);
unfreeze(1);
unfreeze(¤t_sprite);
So as you see, it works just like in-game. The difference is that in a cutscene you often don't have a suitable ¤t_sprite to work with. So let's create a new sprite!
freeze(1);
int &sprite;
&sprite = create_sprite(x,y,brain,pseq,pframe);
say_stop("Nice weather isn't it?",&sprite);
say_stop("Nah, it's better outside...",1);
unfreeze(1);
In the above example I defined a new variable (which is &sprite). To this variable I attached a sprite, so I can use the &sprite variable to make this sprite talk, walk or whatever I want it to do.
So that should be enough to make your first cutscenes...
Oh, and one final comment: If you like a sprite to move make sure it has a speed value higher than 0. It might sound stupid but many people (including me) tend to forget it sometimes. (You can set the speed with the sp_speed(); command)
For example these lines of code will first freeze Dink, then make Dink say someting and walk down (to <newy> which hasn't been defined yet...), finaly we'll unfreeze him so he can continue doing what he wants:
freeze(1);
say_stop("Wow I'm saying something",1);
move_stop(1,2,<newy>,1);
unfreeze(1);
instead of 1 (which is Dink) you could also use other sprites. For example ¤t_sprite, which is the sprite to which the script is attached to, so you could do something like this:
freeze(1);
freeze(¤t_sprite);
say_stop("Hi there, sprite!",1);
say_stop("`7Welcome Dink",¤t_sprite);
unfreeze(1);
unfreeze(¤t_sprite);
So as you see, it works just like in-game. The difference is that in a cutscene you often don't have a suitable ¤t_sprite to work with. So let's create a new sprite!
freeze(1);
int &sprite;
&sprite = create_sprite(x,y,brain,pseq,pframe);
say_stop("Nice weather isn't it?",&sprite);
say_stop("Nah, it's better outside...",1);
unfreeze(1);
In the above example I defined a new variable (which is &sprite). To this variable I attached a sprite, so I can use the &sprite variable to make this sprite talk, walk or whatever I want it to do.
So that should be enough to make your first cutscenes...
Oh, and one final comment: If you like a sprite to move make sure it has a speed value higher than 0. It might sound stupid but many people (including me) tend to forget it sometimes. (You can set the speed with the sp_speed(); command)
metatarasal has released 5 files
| Title | Category | Avg | Updated |
|---|---|---|---|
| Quel | D-Mod, Romp | 8.2 | August 2nd, 2012 |
| Scourger (The) | D-Mod, Epic | 9.3 | April 1st, 2010 |
| An Introduction to DMOD Making | Development, Tutorial | 9.6 | December 8th, 2009 |
| Dink Learns Music | D-Mod, Romp | 7.1 | June 26th, 2005 |
| Quest for the Gems | D-Mod, Romp | 8.0 | May 3rd, 2005 |

8.2
9.3
6.0
2.0
4.0




