Prowler Productions
  Dink Smallwood Forum
  dink ini help needed - loading sprites

Post New Topic  
profile | register | faq

Author Topic:   dink ini help needed - loading sprites
Tamtur posted 08-16- 09:41 PM CT (US)   Click Here to See the Profile for Tamtur   Click Here to Email Tamtur  
hey guys

I know there's a way to set the sprite info for all of a sequence at once when you load it. Can anyone explain it to me? I tried how it is described in the dink ini tutorial and it doesn't seem to work... there's an extra number in the others in the dink.ini that I can't figure out what it is. I've tried every combination of numbers I can think of but it won't look right in the sprite edit window. I hate to use up all my set_sprite_info's on silly things.

Here's what I have right now in dink.ini:

load_sequence_now graphics\alpha\alpha- 100
SET_SPRITE_INFO 100 1 0 0 0 0 27 20
SET_SPRITE_INFO 100 2 0 0 0 0 27 20
SET_SPRITE_INFO 100 3 0 0 0 0 27 20
SET_SPRITE_INFO 100 4 0 0 0 0 27 20
//and so on

Thanks

ManaUser posted 08-18- 01:13 AM CT (US)     Click Here to See the Profile for ManaUser  Click Here to Email ManaUser     
Yeah, it goes like this:
load_sequence_now graphics\alpha\alpha- 100 75 0 0 0 0 27 20

In my example 75 is the frame delay. (but choose whatever speed looks good of course)

Tamtur posted 08-18- 01:24 AM CT (US)     Click Here to See the Profile for Tamtur  Click Here to Email Tamtur     
oh, ok, well I understand the extra number now - but I still am having troubles.
If I write:
load_sequence_now graphics\alpha\alpha- 100 75 0 0 0 0 27 20
Then the hardbox is the correct size but the X and Y coordinates are offset by about 10 each compared to using set_sprite_info. And if I change the first two zeros to -10 then the hardbox becomes wierd. Suggestions?
Chrispy1000000 posted 08-18- 12:26 PM CT (US)     Click Here to See the Profile for Chrispy1000000  Click Here to Email Chrispy1000000     
Do the last 2 zeros, or the numbers at the end.

Post New Topic  Post Reply
Hop to:


Contact Us | Prowler Productions

Powered by: Ultimate Bulletin Board, Freeware Version 5.10a
Purchase our Licensed Version- which adds many more features!
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.