fyyyyy / tabloro

Play any board game online with friends in the browser. Runs on any device. Using webRTC for peer2peer video chat. Using phaser for rendering.
58 stars 28 forks source link

Rotate Piece not available for items from spritesheet #1

Open ryandriskel opened 8 years ago

ryandriskel commented 8 years ago

Single items seem to work fine. I can rotate those. But once I use a spritesheet, the option is not available. I checked, and other tools still seem to work (take to hand, lock)

screen shot 2015-11-05 at 10 22 24 am

Middle piece selected ( hard to get screen grab and show cursor at the same time )

screen shot 2015-11-05 at 10 23 47 am
ryandriskel commented 8 years ago

Looks like games/main.js line 197 is missing the asset.rotateBy added in the last commit to the other piece styles.

fyyyyy commented 8 years ago

I believe the rotation doesnt work in test mode, but it works once you start a game session.

ryandriskel commented 8 years ago

No, it doesn't work in game mode either.

I have specified above exactly where the bug lies within the code.

fyyyyy commented 8 years ago

Ok i will take a look. Can you get it running on your local machine ?

cdavisnet commented 8 years ago

Hello. Is there a solution arround? I also cannot turn objects when using a spritesheet

Thx

Dave