Jump to content

Why button display false (image)


Recommended Posts

Hello i try making fappy bird demo in tutorial ..

i fisnished and i want fix interface game..but i have problem ..

size game is : 400x 490

i create button play 


var sprite = game.add.button(game.world.centerX, game.world.centerY +20, 'play', menu_state.start,this);

 but it display  not in center (button play.png size 70x70)ScreenShot2014-04-27at232727.png


and when i try in in emulator :




-> all of object display not true, so i want code to more device.. please help me .. i don't have  more experience ..


and finally question : have phaser is good framwork for desktop, not for mobile .. i don't see more game android or ios write by phaser..(and i see some topic , have bug it not run or have bug for android..) 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...