Game Builder

Game Builder

TyeFang Jun 20, 2019 @ 7:04am
Is it possible to switch control between player actors?
I want to create a single-player turn-based strategy game where I control a 4-member team.
In order to do this, I need to be able to switch player control between multiple player actors. Please let me know if this is possible. I looked at the API docs and saw nothing under the Player section. Thanks!
< >
Showing 1-7 of 7 comments
Carduus Jun 20, 2019 @ 9:09am 
Hi! Same here, is it possible to switch character by pressing a button?
Thanks !
Mawkey Jun 21, 2019 @ 4:33am 
I tried to get it working for an hour or so and it just led to the game crashing or throwing errors. Maybe I just didn't understand what to do.
Mawkey Jun 21, 2019 @ 10:51am 
Actually, I sat down with it some more time, and I managed to figure it out. I can confirm that it's possible.
LOLGuy213 Jun 21, 2019 @ 11:00am 
The developers have said on the Discord they're working on adding an official card to let this happen! Voicing here to hope it comes sooner rather than later, but the devs are active on discord so it might be best to ask them if they have any ideas when it could be completed
Carduus Jun 22, 2019 @ 11:11am 
Hi! The card is named "Transfer Player"
and it works perfectly :) thanks !
Last edited by Carduus; Jun 22, 2019 @ 11:11am
TyeFang Jun 25, 2019 @ 8:39am 
Fantastic. Thanks!!
btco  [developer] Jun 25, 2019 @ 3:22pm 
As Carduus said, yes, use the Transfer Player card.

If the player is going to use keyboard keys to switch between actors, it's best to set up a different key for each actor (like E switches to the Robot, Q switches to the Fox, etc) because if you use the same key, then the user will still be pressing that key when control changes to the other actor, which will cause you to switch again :) We're trying to figure out a smarter solution to this problem but for now using different keys is a valid workaround.
< >
Showing 1-7 of 7 comments
Per page: 1530 50