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