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

Calculation of player coordinate in tileMap

A topic by cocadev created Nov 06, 2016 Views: 421
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)