How do I...?

0 favourites
  • 9 posts
  • 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.

  • 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.

    There are no upload facilities on here, unfortunately.

    Use one of the free storage offerings supplied by dropbox, microsoft, google, etc, then you can provide a link here.

  • 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.

    Hi sunfirexl

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

    https://www.dropbox.com/s/12nn8ylurb2dcvk/CreateBlocksIn_aGrid.capx?dl=0

    The Link you provide to the Google drive is not working for me by the way

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [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

  • 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:1m8awvjk]Hi sunfirexl

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

    https://www.dropbox.com/s/12nn8ylurb2dc ... .capx?dl=0

    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

    Yes you can do anything you like you can use Frames like on this example https://www.dropbox.com/s/bgnf3sgx33ty5ed/CreateBlocksIn_aGrid2.capx?dl=0

    Or you can add Instance Variables and do anything you imagen

    Update: I just saw that you found out already the same thing so you are good to go then congrats

  • You also shifted layers around, which got in the way.

    http://www.blackhornettechnologies.com/Construct3Stuff/Samples/WordGame_BHT.c3p.zip

    (Just remove the .zip)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)