grapefruitjs / grapefruit

Outdated, I recommend you use photonstorm/phaser instead!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sprite isometric position

englercj opened this issue · comments

setPosition should do isometric transformations for you if it is in a TiledMap that is isometric.

I have initial implementation working here grapefruit basics of setPosition though not ready for pull request. Click on orb and leaf and move with arrow keys.

I can't seem to test physics though for setVelocity. If I assign mass property in Tiled, there are errors loading. Do you have a physics example anywhere? I don't mean to bother you but I really want to help with isometric stuff as that's what I am most interested in :)

What errors do you get? All lttp sprites have physics enabled (though the ones from tiled are using the static property since they don't move.

Oh, you updated that project yesterday. I'll look there. Probably user error.