Jump to content

Panning a tilemap, and other newbie questions.


Timotheus
 Share

Recommended Posts

Hello,

 

I am familiar with JS, and new to Phaser.

 

I am seeing if Phaser will be the framework for me, and something I am having issue with is getting a tilemap to pan when a pointer is dragged across it.

 

All of the docs I am seeing on the drag input is connecting those events to a sprite, which isn't what I want.

 

Am I missing something, is there an example showing this off?

 

Also, in general with developing in Phaser.. Is it generally one "correct way" to create and style UI elements? Can you create standard HTML buttons outside of a game window and still connect events to those buttons to trigger things in game?

 

Thanks in advance!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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