BASIC

Author Topic: Has anyone some Random City Generation Code?  (Read 622 times)

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10715
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
I remember yeeeers ago, someone had a bit of code, that created a random city. Houses and stuff.
Can anyone remember this?
It would be cool to make a "deliver a pizza" game in 3D, with a city like: C64's Miami Vice, but in 3D:
https://www.c64-wiki.de/wiki/Datei:mvmap.png


Offline MrPlow

  • Prof. Inline
  • *****
  • Posts: 1533
    • View Profile
Re: Has anyone some Random City Generation Code?
« Reply #1 on: 2019-Aug-09 »
I was thinking about code for that for top layer of my roguelike I am trying to make.
The dungeon part is working well (but still needs work).
I am planning to add a city part above ground - but my city code is not written yet so I am interested in this too :)

Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

Offline matchy

  • Prof. Inline
  • *****
  • Posts: 1543
    • View Profile
Re: Has anyone some Random City Generation Code?
« Reply #2 on: 2019-Aug-30 »
I had a go at something like this years ago.


Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10715
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Has anyone some Random City Generation Code?
« Reply #3 on: 2019-Sep-20 »
Do you have code fragments or something? Pictures, maybe?

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1779
    • View Profile
    • Homepage
Re: Has anyone some Random City Generation Code?
« Reply #4 on: 2019-Oct-27 »
Seems city/dungeon generators is in right now, saw this on hackernews today. There are some links to other generators in the comments. It's most likey javascript but maybe some ideas can be sparked from the images? :-)

https://news.ycombinator.com/item?id=21362382