Isometric Depth is not Working Properly
Isometric Depth is not Working Properly
Dear Rob,
I am confused about how to create an isometric depth in isoislands example,
hereby I include the picture of my problem,
Steven
I am confused about how to create an isometric depth in isoislands example,
hereby I include the picture of my problem,
Steven
- coolbloke1324
- Posts: 181
- Joined: Mon Jan 23, 2012 5:20 pm
Re: Isometric Depth is not Working Properly
Hey ya!dsteve wrote:Dear Rob,
I am confused about how to create an isometric depth in isoislands example,
hereby I include the picture of my problem,
Steven
So there is some info on the isometric sorting system avaiable here: http://www.isogenicengine.com/documenta ... nd-images/
The basics of it is that you have one entity that acts as a 3d-positioned cuboid and inside that entity you have your image which can be positioned as you wish to provide the correct location to line up with the iso grid
Let me know if you need more help!
Re: Isometric Depth is not Working Properly
Dear Rob,
Oh, I finally understand,
Well then, thank you very much Rob
Steven
Oh, I finally understand,
Well then, thank you very much Rob
Steven
- coolbloke1324
- Posts: 181
- Joined: Mon Jan 23, 2012 5:20 pm
Re: Isometric Depth is not Working Properly
A new video tutorial on how to create isometric entities will be online within 30 minutes, I made it just for you! Will post the link here when it has finished encoding and uploading.
Cheers,
Rob
Cheers,
Rob
Re: Isometric Depth is not Working Properly
Dear All,
I finally managed to overcome this, by using
.depthSortMode(1)
Thanks
I finally managed to overcome this, by using
.depthSortMode(1)
Thanks
- coolbloke1324
- Posts: 181
- Joined: Mon Jan 23, 2012 5:20 pm
Re: Isometric Depth is not Working Properly
The isometric tutorial is now available at: http://youtu.be/7eKZM8uevNU
Re: Isometric Depth is not Working Properly
Dear Rob,
I am really sorry,
I didn't see your last reply,
That is fantastic, thank you very much Rob
Best Regards,
Steven
I am really sorry,
I didn't see your last reply,
That is fantastic, thank you very much Rob
Best Regards,
Steven
Re: Isometric Depth is not Working Properly
Dear Rob,
Eventually I am facing this problem,
The image entity is not mergin with the red spot,
actually I expand the size3d parameters,
but it didn't achieve what I really want,
Also, here's my code :
Thanks
Eventually I am facing this problem,
The image entity is not mergin with the red spot,
actually I expand the size3d parameters,
but it didn't achieve what I really want,
Also, here's my code :
Code: Select all
Airport: ClientItem.extend({
classId: 'Airport',
init: function (parent, tileX, tileY) {
ClientItem.prototype.init.call(this, tileX, tileY, 8, 8);
console.log("std tilex "+tileX+"tiley "+tileY);
var self = this;
// Setup the 3d bounds container (this)
this.isometric(true)
.mount(parent)
.size3d(8 * parent._tileWidth, 8 * parent._tileHeight, parent._tileHeight *2.9)
.translateToTile((tileX) + 0, (tileY) + 0, 0)
.mouseOver(function () { this.drawBounds(true); this.drawBoundsData(true); })
.mouseOut(function () { this.drawBounds(false); this.drawBoundsData(false); })
.drawBounds(false)
.drawBoundsData(false)
.occupyTile(tileX, tileY, 8, 8);
// Create the "image" entity
this.imageEntity = new IgeEntity()
.texture(ige.client.gameTexture.airport)
.dimensionsFromCell()
.drawBounds(true)
.drawBoundsData(false)
.mount(this);
}
}),
Re: Isometric Depth is not Working Properly
Dear Rob,
Apparently, the problem is in the cursor position,
where it located directly at the center of the "ghost item"
Hopefully you are willingly to help me
Steven
Apparently, the problem is in the cursor position,
where it located directly at the center of the "ghost item"
Hopefully you are willingly to help me
Steven
- coolbloke1324
- Posts: 181
- Joined: Mon Jan 23, 2012 5:20 pm
Re: Isometric Depth is not Working Properly
Can you zip up your whole project and attach to a reply here so I can test your code? Thanks!