Page 1 of 1

I fail placing correctly a progressBar

Posted: Sat Nov 16, 2013 1:12 pm
by theDoubter
Hi,

i'm new, just starting with this engine and trying to understand everything.
The problem that i have is with the given example 15.1 - isoimages.

Code: Select all

	progressBarTest = new IgeUiProgressBar()
	.id('progressBarTest')
	.width(32)
	.height(5)
	.mount(ige.client.tileMap1);
	.translateToTile(x,y);
What i'm trying is to put the progress bar when a building is begin placed over

Code: Select all

/**
	 * Handles when the mouse up event occurs on our map (tileMap1).
	 * @param x
	 * @param y
	 * @private
	 */
	_mapOnMouseUp: function (x, y) {
Image

I don't understand whats going wrong