santur's Forum Posts

  • 3 posts
  • dop2000 They are 24 different objects. I will try the System --> Pick random ObjectsFamily once I get the paid version. Thank you for your help.

  • Hello,

    My game will have a total of 24 sprites spawned when launched. I want to select a random one of these and move it to a different position and layer. What is the best way to go about choosing this random sprite? I want to be able to reference this selected sprite for other lines of code as well.

    Thank you for your help.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hello, I am new to construct and I could use some help.

    I have a list of sprites that I want to create in game, and each needs to be created only once. The catch is that I would like for them to be spawned randomly, and I need one of the sprites (randomly chosen) to be spawned at a different spot. What would be the best way to implement this?

    My plan was to add the sprites to an array and select a random index to be spawned, creating the other 23 afterwards. However, it does not seem that I can add sprites to an array, as it only allows me to enter info about the sprites.

    Thanks for the help.

  • 3 posts