Hello all,
This is my first time creating a game using Gdevelop. How do I draw a random card from a deck when a player moves to a particular tile on the board. I am creating a top down board game that will be multiplayer, and there will be a lot of card drawing and usage. I can get the pawn moving around okay, but for the life of me can’t figure out drawing a random card from the deck.
What is happening is that no card is revealed at all, and sometimes, when some adjustments are made, the game freezes. See below for my events and screen:
I’ve it from multiple different angles, this seems to be the one I get closest with. so far I am just testing it with the “serene” zone (top left)
I also have the 24 cards in that deck that I’ve put into a scene group and given a variable number.
Plus I have scene variables of :CardDrawn Boolean = False
DrawnCardIndex Number = 0
Any help is appreciate - thank you!