Image

Class: Phaser.Image

Constructor

new Image(game, x, y, key, frame)

An Image is a light-weight object you can use to display anything that doesn't need physics or animation.
It can still rotate, scale, crop and receive input events. This makes it perfect for logos, backgrounds, simple buttons and other non-Sprite graphics.

Parameters
Name Type Argument Default Description
game Phaser.Game 登录查看完整内容