I am aware this is a novice question but I would like an assistance on this. I would like to make like a "player select screen" before the game starts and let's say when I select my player I start the game with that player.
in select menu:
on touch 1_player_icon -> set Array_x to 1
on touch 2_player_icon -> set Array_x to 2
on start of layout
if Array_x=1 -> create player1_sprite
if Array_x=2 -> create player2_sprite
Develop games in your browser. Powerful, performant & highly capable.
There's a tutorial on this item. I think it's called 'choosing a character in a game' or something similar.
Just take a look in the tutorial section.
Cool! Thank You for the quick reply! That will help a lot!
Rjan Thank You I will have a look at the tutorial also!