Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
0
Members

Calculation of player coordinate in tileMap

A topic by cocadev created Nov 06, 2016 Views: 444
Viewing posts 1 to 1

Hi I've a tileMap and a playeret in a Scene I wan't to calculate position of player in the map

The pixels per unit of the map is 50

The pixels per unit of th player is 100

I've try to multiply coordinate by 1.5 but the result is not good.




Default value of coordinates (After 1.5 multiplication x= 14.49)