isometricToScreen() Function Reference

isometricToScreen(decimal x, decimal y)

Converts an isometric co-ordinate into a screen co-ordinate.


	local qiso = require "plugin.qisoengine"
	qiso.setAssetsFolder("assets")
	qiso.loadTiledMap("sample-tilemap")

	-- Get the isometric of a tile
	local isoPlot = tileToIsometric(2, 1)

	-- Convert it back again
	print("Screen co-ordinate: " .. qiso.isometricToScreen(isoPlot.x, isoPlot.y))