The Dink Network

Reply to Re: Help!!!! My king turns into meat!!!!!!!!!!

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:
 
 
August 17th 2008, 08:44 AM
custom_marpro.png
Marpro
Peasant He/Him bloop
 
Hello

The king aren't animated, it's just one BMP. Do you create the king by a script or place him with the editor? If you're creating him by script it's possible that you've selected the wrong frame that will show up in the game. Let me give you an example.
//creating the king
int &king = create_sprite(322, 136, 0, 421, 31);

You see that last number, 31? That's the king’s frame. Your king is probably meat because you have set the frame to 1, instead of 31.

By the way, remember that he's not animated so you shouldn't use sp_base_walk(); for example.

Hope this helps.