if (MyEquipment[13] > -1) //13 is pet slot.
{ Â Â Â Â Â
      Sprite.Y += 10;        Â
     Paperdoll[0 to 11].diectY +=10; //sprite adding a mount will make the player taller               Â
}
else
{
      Sprite.Y -= 10;        Â
     Paperdoll[0 to 11].diectY -=10; //remove mount
Question
nvh
MOUNT
if (MyEquipment[13] > -1) //13 is pet slot.
{ Â Â Â Â Â
      Sprite.Y += 10;        Â
     Paperdoll[0 to 11].diectY +=10; //sprite adding a mount will make the player taller               Â
}
else
{
      Sprite.Y -= 10;        Â
     Paperdoll[0 to 11].diectY -=10; //remove mount
}Â Â Â Â Â Â Â Â
----------------------------------------------------------------------------------------
PET
I came up with an idea that was to create a paperdoll (pet sprite), edit the client source and make it move randomly and follow the character.
if (player.y -- )
{ pet.y --}
Â
if (player.x-- )
{ pet.x --}
Â
update ()
{
if (random == 1) {pet.x++}
if (random == 2) {pet.y++}
if (random == 3) {pet.x--}
if (random == 3) {pet.y--}
if (player.x + pet.x > 10m)Â {pet.y--}
}
Â
if (player.x + pet.x > 10m)
{ spawnpet(player.x - 2)
Â
it doesn't seem easy but i want a challenge
I think code in here https://github.com/AscensionGameDev/Intersect-Engine/blob/main/Intersect.Client/Entities/Entity.cs
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now