Reply to Re: Help!!!! My king turns into meat!!!!!!!!!!
If you don't have an account, just leave the password field blank.
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.
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.