Prowler Productions
  Dink Smallwood Forum
  Programin' Quesion

Post New Topic  
profile | register | faq

Author Topic:   Programin' Quesion
Surfrandall posted 02-02- 08:11 PM CT (US)   Click Here to See the Profile for Surfrandall   Click Here to Email Surfrandall  
Can someone clarify something for me about creating npc sprites.
In the Dink game, Dink's mom is actually placed onto the map screen of Dink's house, whereas other npc's on other screens (i.e. barkeeps, old farts, barmaids, etc.) have create-sprite commands coded into the screen script.

Is there a rule or theory as to when you are supposed to use each method?

~Surfrandall

George posted 02-04- 11:58 PM CT (US)     Click Here to See the Profile for George  Click Here to Email George     
Create-sprite is normally for stuff like when you have to create a sprite inside a script... like if someone appears. It can also be used if you only want to create a sprite sometimes, or if you don't want to bother with sp() which is what you need to get a sprite number by using their editor number. Normally I just place stuff on the screen though, makes more sense when looking at the maps ;)
BSitko posted 02-05- 11:24 AM CT (US)     Click Here to See the Profile for BSitko  Click Here to Email BSitko     
Create_sprite is also helpful when you want to control more then one sprite's movement on the screen. If you have a few goblins for instance and you want then to move around and talk; create_sprite is the easiest way to differentiate between them. You can have individual movement and talk sequences. A very helpful command.

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.