Jump to content

Static background in Phaser 3


AJJ
 Share

Recommended Posts

Hi, I'm thinking how can I set static background in Phaser 3. In web I only found solution for older Phaser 2, unfortunately class Phaser.GameObjects.Image doesn't contain property fixedToCamera. Maybe I'm doing something wrong. This is how I load the image. Please forgive any mistakes, becouse I didn't write in english for many years.

this.load.image('background', '/assets/game/main/background.png');
 
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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