im attempting to make an rts (very begining) and i cant figure out how to set a player to use a certain camera, if theres a way to do that thanks.
Hello @noobyk !
Can you explain a bit more what you want to do. You want to have 2 players play on the same screen, in split screen ? (each with his part of the screen)
Maybe that’s what you need ? Split screen - a game example from the GDevelop game making app | GDevelop
From checking the example, what it does is rendering the scene on a sprite.
EDIT : Hmm. However, apparently this behaviour stops the animations from working. (@arthuro555 )
Just like what @vfabien21 said,
You can use the sprite snapshot extension to copy the view of the camera to a sprite of your choice.
Add 2 different sprites.
Use the action provided by sprite snapshot extension to copy a camera view to a sprite.
If you wanted just to move the camera to a different player, simply center the camera using the event provided in the camera actions