sunfirexl's Forum Posts

  • 5 posts
  • Update-

    With the animation frame method as posted above, I was able to give each block a value by adding a new global variable (BlockValue) to the game. Then, on each creation of a block, I set the BlockValue to Block.AnimationFrame + 1.

    Still unsure if it will do everything I need, but it is a start and I will keep messing around.

    Eli

  • [quote:348pbtz7]Hi sunfirexl

    is it something like this what you are trying to archive?

    dropbox.com/s/12nn8ylurb2dcvk/CreateBlocksIn_aGrid.capx

    Yes, that is the basics of what I need. However, would I be able to add a value to each of those animation frames? For example, If I want the player to select 4 tiles that add up to 24, would I be able to do that with this method of filling a grid?

    Elijah

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Let me try again. I think it is because I have less than 500 rep it turned my link into text and the link was not complete after that.

    https:// drive.google.com/open?id=1V4r8Zpn0eqdk-wzRnz0UkEHxTlEyGhxE

    I had to put a space after https:// to make it not try and auto link.

    I am checking out the link you sent now.

  • Zenox,

    Thanks,

    drive.google.com/open ... HxTlEyGhxE

  • Okay, so I am trying to build a 13 x 13 grid of (32px X 32px) blocks. Each block will be a random number between 1-10.At the start of the layout, I am trying to spawn in blocks to fill the entire grid and I cannot even get one to spawn in. I have tried using all these examples from the tutorials and no matter what I put, nothing happens. I would add a pic but I do not see any upload options for images, nor any file upload area so I can upload the game.

  • 5 posts