The Dink Network

Reply to Re: Arghhhh.....!!!

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
November 20th 2005, 10:43 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
All the graphics in the game have a sequence and a frame. Every sequences has frames. It's a way of giving all the graphics a number. A sequence can have all kinds of bitmap but they usually have similar graphics grouped together (like all grass, all flowers, all chairs, etc). A sequence is also a way of creating an animation: all the graphics in the sequence are then part of an animation, like a walking Dink, a fireball, a fire or whatever.

So for example, to create a sprite, you'll need to specify what it looks like. You do this by telling what bitmap it is. So you need its sequence and its frame. For example, trees can be found in sequence 32. The first frame is the burnable tree. To create this as a sprite, you do:

create_sprite(100, 100, 0, 32, 1);

or you use Easy DinkC where you give 32 as sequence and 1 as frame. (the other numbers are x-coordinate, y-coordinate and brain)