Help! How to make a character appear next to another character

Started by BowsetteGamer, Mon 12/02/2024 18:45:54

Previous topic - Next topic

BowsetteGamer

Hello guys, how are you? I have a question, is it possible for a character to appear next to another character? without the attributes. Cambanero or. Walk.
The intention is not so that the movement of the character can be seen, but so that it appears in different areas of the screen, in the same scenario.
I'm a little confused  ???  ???

RootBound

You can set character.x and character.y to make the character change location instantly.

If the character is arriving from a different room, you can use character.ChangeRoom(room, x, y) to have them appear where you want.

Check out all the character functions here  :)  :
https://adventuregamestudio.github.io/ags-manual/Character.html#character-functions-and-properties
They/them. Here are some of my games:

BowsetteGamer

Quote from: RootBound on Mon 12/02/2024 19:59:04You can set character.x and character.y to make the character change location instantly.

If the character is arriving from a different room, you can use character.ChangeRoom(room, x, y) to have them appear where you want.

Check out all the character functions here  :)  :
https://adventuregamestudio.github.io/ags-manual/Character.html#character-functions-and-properties


and To set Character.x Character.y you would use walk or move?
I'm looking at the manual and apparently Walking and Moving are the same but with the exception that one shows the animation loop and the other doesn't.

RootBound

You don't need to use either one.

Simply write:

Character.x = 120;
Character.y = 40;

With whatever numbers you want (120 and 40 are just examples).
They/them. Here are some of my games:

BowsetteGamer

Hey this has worked, sorry for not responding in time, thanks Brother.

SMF spam blocked by CleanTalk