Background grid numbered on x,y???

0 favourites
  • 3 posts
From the Asset Store
Snap to visible grid - perfect solution for any game genre
  • I'm wondering how to create a standard background grid that displays numbers on both the x,y coordinates. I'd like to have a user enter the grid size and then generate a grid automatically. Can this be done in Construct2? If so, are there any examples or places too look? I've gone through this area and found nothing to help.

    So a user enters two numbers: 20,20. A gird is generated with the included numbers. Grid below isn't the best representation, but I hope it will help you visualize what I'm trying to do.

          0      5       10   15   20

           ...............................   

           :      :        :       :     :

    5     :......:........:.......:.....:

           :      :        :       :     :

    10   :......:........:.......:.....:

           :      :        :       :     :

    15   :......:........:.......:.....:

           :      :        :       :     :

    20   :......:........:.......:.....:

    Any help is appreciated and valued.

    TIA :-)

  • Generating grid could be done with a single tiled background with cross texture.

    Then you just set the grid height/width based on user input and generate necessary numbers.

    EDIT: Quick demo

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • WOW! Thank you. That is EXACTLY what I was after. I appreciate the help and the time you took to do the demo.

    Off to study it now...

    <img src="smileys/smiley1.gif" border="0" align="middle" />

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