The GameObjectFactory is a quick way to create many common game objects. game.add is the default instance, you can use it like: game.add.image();


Method Description
clone Clones the object original and returns the clone.
button Create a Button.
dropdown Create a Dropdown.
image Create a UIImage.
inputField Create a InputField.
node Create a Node.
progressBar Create a ProgressBar.
scrollBar Create a ScrollBar.
scrollView Create a ScrollView.
slider Create a Slider.
sound Create a Sound.
sprite Create a Sprite.
text Create a UIText.
toggle Create a Toggle.
dom Create a Dom.
tilemap Create a Tilemap.
tileLayer Create a TileLayer.
objectLayer Create a ObjectLayer.