Sign in to follow this  

Text Groups?

Recommended Posts

Is it possible to create a group of "text" objects?

I've managed to create a group of multiple arcade objects like so: 

this.players =;
    key: 'player_handgun',
    active: false,
    visible: false,
    repeat: 49,
    max: 50,

But I can't find an example or solution to have a group of text which I can recycle through.  Any suggestions?


I've tried this but it doesn't seem to work when I call getFirstDead() on the group, nor does that group have 50 text objects like the approach above generates:

this.nicknames =;
    classType: Phaser.GameObjects.Text,
    active: false,
    visible: false,
    repeat: 49,
    max: 50,

Share this post

Link to post
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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.