Forum

> > CS2D > Scripts > Fixel X,Y
Forums overviewCS2D overview Scripts overviewLog in to reply

English Fixel X,Y

6 replies
To the start Previous 1 Next To the start

old Fixel X,Y

deadlox995
User Off Offline

Quote
hello,all USGN user i'm have a Question that how i'm get a Fixel X,Y.
It some khow this plz show me,i'm will be thx full.

old Re: Fixel X,Y

Rainoth
Moderator Off Offline

Quote
Tile (X|Y)*32+16 = Pixel

0-480/0-640 = pixels on screen

old Re: Fixel X,Y

deadlox995
User Off Offline

Quote
like this :
=> 1512*32+16 -->15=X 12=Y
or like this :
=> 15*32+16 / 12*32+16

old Re: Fixel X,Y

Yates
Reviewer Off Offline

Quote
(tilex)*32+16 = Pixel location of tile x
(tiley)*32+16 = Pixel location of tile y

You can find the tile x & y by hovering over the tile in the map editor.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview