Results 1 to 4 of 4
  1. #1
    imstudent is offline Member
    Join Date
    May 2015
    Posts
    4
    Rep Power
    0

    Default How to make grid for battlefield game?

    I wanted to know which RAD TOOL should I use to make the grid. I used the label but it's not interesting like the game *. I m starting to make the game and can't think how to make the grid.
    Thought of using the buttons but can't add image to it.
    Plz tell what should I use to make the grid.


    * what I did earlier Is place 9 label in grid form (just to test) and nine buttons one for each. When u click a button, image is shown in respective label... But it doesn't feel like u r playing game..

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: How to make grid for battlefield game?

    RAD TOOL? What a Rapid Application Development tool? They're not meant for game development really.

    Thought of using the buttons but can't add image to it.
    Well you don't take the time to actually explaining what you're using so can't be specific, so "yes you can". Any GUI toolkit will allow you to add an image to a button. Lets me make a guess that you are using Java Swing and not JavaFX, AWT or SWT, a Google for "java swing button image" returns this as the first hit:

    swing - Java: using an image as a button - Stack Overflow
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    12,059
    Rep Power
    25

    Default Re: How to make grid for battlefield game?

    imstudent, please don't edit your posts to remove all content. I've restored the post in your earlier thread.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  4. #4
    imstudent is offline Member
    Join Date
    May 2015
    Posts
    4
    Rep Power
    0

    Default Re: How to make grid for battlefield game?

    #DarrylBurke
    Duly noted sir

Similar Threads

  1. Trying to make a grid
    By Maarten in forum New To Java
    Replies: 7
    Last Post: 07-28-2012, 08:51 PM
  2. how to make grid number ?
    By nikiiz in forum New To Java
    Replies: 6
    Last Post: 05-28-2012, 05:02 PM
  3. Replies: 3
    Last Post: 03-23-2012, 07:43 PM
  4. Game "Grid" idea need suggestions...
    By Alkor in forum Java Gaming
    Replies: 3
    Last Post: 03-01-2012, 09:32 AM
  5. creating a make grid method
    By Matt198525 in forum New To Java
    Replies: 13
    Last Post: 10-29-2010, 02:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •