Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

To add another character to the game (same player but another sprite):
Game scene → Character → player object → right click → duplicate → duple click on the new duplicated object → change the sprite animations to the new one (Idle and Move animations) → Game scene events → you need to create new events for the new added character in the client codes and in the server codes.

I programmed the template for 1 character, to add more, you need to adjust the events to control other characters.

Can you tell me server code events for two players. I tried already but when I'm controlling that that controls only controlling 2nd connected player.

Am not sure what you mean, make sure to read the comments in the template, to understand how the controls work in THNK.

Tell me what I'm doing wrong here if I don't create another player it works so well,

I can't tell, it could be anything, maybe you didn't add the new events for the new player, maybe you didn't add sync behavior to the new player, maybe.

It could be anything, so like I mentioned before, read all the comments i wrote in the events, and learn how everything works, then add the new player and its events.