Results 1 to 4 of 4
  1. #1
    trosso is offline Member
    Join Date
    May 2013
    Posts
    2
    Rep Power
    0

    Default How to make streets and avenues ?

    Hello, I have to do a project where I need to make a very simple, as shown in the picture, but looked everywhere and can not find how to do it, all I know is that I have to do it with an array. Please if you can help with this problem. Thank you.

    How to make streets and avenues ?-city.jpg

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,691
    Rep Power
    8

    Default Re: How to make streets and avenues ?

    You're going to have to be way more specific than that.

    Is this a gui? A command line project? Are you painting directly, or using components?

    What have you tried so far? Where are you stuck? If you're confused, check out the link in my signature on asking questions the smart way.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    trosso is offline Member
    Join Date
    May 2013
    Posts
    2
    Rep Power
    0

    Default Re: How to make streets and avenues ?

    What I have to do is an application as a gui. Is to simulate the movement of vehicles using thread. The problem I have is that not how you start, ie I can not make the interface where the vehicles are to be driven. The only thing I understand is that what I have to do using a matrix, the problem is I do not understand how to fill that array and to fill it. That is basically the problem is to do what I show in the image using a matrix, JFrame and JPanel. I only need the idea of ​​how to make the streets and walls. And you should be using an array as my level is very little java so unaware of the existence of libraries or api for this kind of work.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,189
    Rep Power
    19

Similar Threads

  1. Replies: 2
    Last Post: 10-31-2012, 04:31 PM
  2. Replies: 4
    Last Post: 07-23-2011, 08:08 PM

Tags for this Thread

Posting Permissions

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