JairoGames Posted June 11, 2018 Share Posted June 11, 2018 var player = entry.getPlayer(); var photoUrl = player.getPhoto(); var photo = new game.PlayerPhoto(photoUrl, 100, true); photo.x = game.width / 2 - 50; photo.y = 100; photo.addTo(this.startContainer); Hello guys, This is my code , how to add the name of the leader to appear Thank you! Quote Link to comment Share on other sites More sharing options...
enpu Posted June 11, 2018 Share Posted June 11, 2018 @JairoGames Try this: var name = player.getName(); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.