Forum

> > CS2D > Scripts > Fixel X,Y
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Fixel X,Y

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Fixel X,Y

deadlox995
User Off Offline

Zitieren
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.

alt Re: Fixel X,Y

Rainoth
Moderator Off Offline

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

0-480/0-640 = pixels on screen

alt Re: Fixel X,Y

deadlox995
User Off Offline

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

alt Re: Fixel X,Y

Yates
Reviewer Off Offline

Zitieren
(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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht