scaled walking speeds when anti-glide mode off.

Started by Zeuz, Fri 18/07/2003 20:43:17

Previous topic - Next topic

Zeuz

scaling speed now works well with anti-glide off, but:
when a character enters a new room his coordinates are totally wrong!
i think it only makes
NewRoom();
but not
NewRoomEx();

thank you

Pumaman

You'll have to be more specific - when are the co-ordinates wrong? under what circumstances?

Zeuz

when my char enters a room with
NewRoomEx();
the room changes, but the coordinates of my char dont change!
i think the coordinates are the same as in the old room

(sorry for my bad english) :-[

ThunderStorm

Are you completely sure you used NewRoomEx and not NewRoom? NewRoom doesn't set any coordinates, thus the old ones are used. That's not important for rooms in which the player character is not visible, but in most cases it's sensible to use NewRoomEx.

Could you post the script line?

Zeuz

there is no bug in my script!
when i havent checked the speed scaling checkbox
everything works perfectly(and my chars coordinates change when i use NewRoomEx();(and i am completely sure))
when the  checkbox is checked the same command(NewRoomEx) makes only a room change (like NewRoom())
so it might be that the fault is in ags

Pumaman

Ah I see, it only happens if the character is moving and is scaled down when NewRoomEx is called. Yes, it's a bug - thanks for spotting it, I'll get it fixed.


SMF spam blocked by CleanTalk