The Dink Network

Tips for others...

April 8th 2005, 04:24 AM
death.gif
Figured I would try to help everyone out a little. If everyone who reads this thread just took about five seconds out of their life to write a little helping tip for others it would be awesome. This may seem retarded, but if everyone tells something they have learned or know others may not have learned about something in DinkC...as in functionality, then alot of people may learn somthing new. You even may learn something new yourself. Small examples...

To make a sprite say something in rose red simply use "`#" in front of what you want the sprite to say.

say_stop("`#Just like this.", &current_sprite);

Another example...

If you want to stop the game at some point by using a sprite, just use theDinkC...
kill_game(); So they would look like this together.

void talk(void)
{
freeze(1)
say("`#Just like this.", &current_sprite);
kill_game();
}

That would make the sprite that this script is attached to say, "Just like this," and immediatly shut the game down afterward.

Just something like that. Post more than one if you're nice haha. The advanced Dinkers can help the noobs...and who knows, the noobs may teach the advanced Dinkers something that they overlooked. Or at least refresh their memories. Thank you all. Have a great week!

April 8th 2005, 05:23 AM
custom_fish.png
SabreTrout
Noble He/Him United Kingdom
Tigertigertiger. 
- Sabre's Tip #1 -

For small bits of grass, pebbles and other such things, you should give it a nohit of 1 in the editor.

This way, fireballs and the like will fly straight on over, as opposed to being caught on the terrain.
April 8th 2005, 11:55 AM
maidenb.gif
Sharp
Peasant She/Her Finland
 
I Tip:

1. When you're writing scripts for everything, don't try to go the easy way and copy them in Windows by choosing the file and hitting copy. That will make them not work and the game crash.
Instead, take the time to create new files and copy the text only instead

2. Be super careful when you're creating moving sprites in DinkEdit; you make a pig, give it a pig brain and whatnot. If you then want to add some grass to the screen, first click on a fixed background sprite, like another piece of grass or a fence or the likes. If you make the next sprouts of grass straight after the pig/monster, the editor will copy the moster brain for them, too, and when Dink comes to the screen they will morph into animals and wander around.
April 8th 2005, 01:26 PM
wizardg.gif
Chaotic
Peasant He/Him
 
Tip 3:

Don't smoke anything while making a DMod, other people might be able to see what you see.

Tip 4:

Your first DMod is your worst (Unless your like SimonK or redink1) so make it a small one.
April 8th 2005, 02:13 PM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
You forgot about Paul Pliska!!
April 8th 2005, 03:28 PM
pq_skull.gif
Drake
Peasant He/Him
 
I believe that a smilie rainbow goes ROY G BIV.

April 8th 2005, 03:30 PM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
I like to put all the smileys at once, since the colors are so beautiful
April 8th 2005, 05:08 PM
wizardg.gif
Chaotic
Peasant He/Him
 
Two examples are enough!
April 8th 2005, 06:35 PM
death.gif
Thanks Chaotic, and everyone else. Join in everyone! Contribute to the community!
April 8th 2005, 06:45 PM
custom_carrie2004.gif
carrie2004
Peasant She/Her Canada
*chomp* 
Um,
Tip 5 : Don't eat yellow snow.
Tip 6 : Eventually you have to read a tutorial.
Tip 7 : Always re-check your sprites to make sure you didn't leave the settings from a previous one on there.
April 8th 2005, 07:43 PM
death.gif
I'll put a few more on here. I hope you'll do the same.

Tip 8. Always put semi-colons ; <<those things at the end of a command line. This is so that the program can know to go to the next line.

Tip 9. Always remember that Dink is 1. When making a conversation script you must put 1 at the end for Dink, and &current_sprite at the end for if the sprite you have this script attached to is saying it. i.e.

void talk(void)
{
freeze(1);
say_stop("`3Boo!", &current_sprite);
wait(200);
say_stop("You scared me!", 1);
wait(200);
say_stop("`3Oh, I'm sorry.", &current_sprite);
wait(200);
say_stop("Please leave me alone...Or I'll hit you!", 1);
unfreeze(1);
}

Where you see the
say_stop("`3Oh I'm sorry.", &current_sprite);

The &current_sprite is telling the script to put the text over the sprite the script is attached to.

say_stop("You scared me!", 1);

The 1 tells the script that it is Dink that is talking. That way it will put the text over Dink in the default yellow color.

Tip 10. To make an indoor screen not show up on the players map, go into DinkEdit and put the square over the red tile in which the indoor place is. Press the "s" button and it will put an "s" in the corner of that square. That makes it to where when Dink hits the "m" button in game while he is indoors it will show him where he last was outside. Use this so if you make the indoors at the top 5x5 set of squares it wont say Dink is up there when he is really on map 456.

Tip 11. To set a midi on a screen, just do the same as tip 10, only on the desired map press the "m" key over the red square. Then type the name of the midi. If you haven't already, you need to rename all of your midis with a numerical number. So if you have a midi called, the_rest_of_our_lives.midi then rename it 1.midi. That way the editor can read it. Make sure to remember what number each Midi is so you wont forget which one you want and you have to listen to them all again.

Tip 12. Anything you submit on here can be used by other authors. If you create new tiles and you put them in a dmod and upload it, they can be used by others. Don't be upset if someone uses your things. They do however need to give credit to the original authors.
April 9th 2005, 02:00 AM
spike.gif
Tip 13: Use the sp(##); command only after you've put all the sprites on the screen.

Tip 14: Remember to turn screenmatch off once you're done adding trees, or your monsters will be copied to the next screen as well.
April 11th 2005, 02:40 PM
custom_fish.png
SabreTrout
Noble He/Him United Kingdom
Tigertigertiger. 
- Sabre's Tips #2 -

Multiple screens of sparse terrain (like, 1 tree and a maybe a rock) grow very boring, very fast. Try and keep every screen varied in what's there, but with a common theme. A flowery meadow, or a mushroom filled set of caves is much more enjoyable to look at then just tiles on their own. In fact, simply sticking a few clumps of grass against the side of a hill can make a important aesthetic difference.

- Sabre's Tips #3 -

When making NPC's, using a title start command, after a choice start command ([b]See SimonK's excellent DinkCReference for more information) will allow you to give a small description of the character - Fleshing out your d-mod's world and making the EXTREMELY similar looking characters that bit more individual.