X,Y Co-ordinate [SOLVED]

Started by Arjunaz78, Sun 09/10/2011 19:14:31

Previous topic - Next topic

Arjunaz78

I've got confuse when setting up the character X,Y positing on room,i don't know which one i must set up whether the character properties option,room option,scripting option or both or multiple of them,because i got confuse when changing the character properties on X,Y position because it will ignore the X,Y coordinate that i've been already set in room using Changeroom(int room,x,y) function..besides i already confusing with X,Y co-ordinate when setting up the bottom left to bottom right position & top left to top right position or otherwise..

Anyone can give me the trails or illustration of X,Y graph by graphical?

p.s - Sorry..I'm weak on maths,plus in scripting coding too..pal..
..In the making of Silent Hill: The Hospital..

https://www.facebook.com/ArjunazGamesStudio

Khris

Not entirely sure what you're asking here.

(0; 0)                             (319;0)





(0; 239)                          (319; 239)


These are the coordinates of the corner pixels in a 320x240 room.

Bogdan

#2
when you are in the AGS room editor, above the background you will notice "Mouse Position:".
Mouse Position represents x and y coordinates of your mouse cursor on that background. So if you want to set your character on X coordinate put you mouse cursor on the desired X coordinate and it will show up in Mouse Position.

So...

Mouse Position: X,Y

X are horizontal lines
Y are vertical lines
X gets decreases to the left
Y gets decreases to the up


SMF spam blocked by CleanTalk