BASIC

Author Topic: Corax's World Generator  (Read 4751 times)

MrTAToad

  • Guest
Corax's World Generator
« on: 2010-Apr-01 »
I've been updating Corax's world/map building system to make more use of the latest features of GLBasic (and to allow my loading system to deal with the graphics).

Its coming along very nicely - the next thing I need to do is add the mini-map, and then I can tidy it up and release the code.

When (if) you run the executable, you'll get a white screen for a short while and then two messages stating that the program can't change to a given directory - ignore those and click on the OKAY button to continue.  You will then get the world - use the cursor keys to scroll around.

The world is randomly generated, so each run of the program produces something different.

The original Showroom entry is here : http://www.glbasic.com/showroom.php?site=games&game=gse&lang=en

As a side note, I hope to be posting the updated (and latest version) of my loading system later on in the week...



[attachment deleted by admin]
« Last Edit: 2010-Apr-01 by MrTAToad »

Offline Kuron

  • Mr. Polyvector
  • ***
  • Posts: 238
    • View Profile
Re: Corax's World Generator
« Reply #1 on: 2010-Apr-02 »
Very, very interesting.

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5014
  • O Rly?
    • View Profile
Re: Corax's World Generator
« Reply #2 on: 2010-Apr-02 »
looking good!
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2666Mhz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2613
    • View Profile
Re: Corax's World Generator
« Reply #3 on: 2010-Apr-02 »
Looks cool, I missed the original!  :good:
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

MrTAToad

  • Guest
Re: Corax's World Generator
« Reply #4 on: 2010-Apr-03 »
Here is the updated program, with the mini map and the ability to use any resolution now.

The only slight downside to the program is that, due to how the layering works, the program has to continually grab the contents of the screen, which could slow things down with higher resolutions - its very usable, but somewhat noticeable.

I haven't added the code for adding cities - it wouldn't be needed for what I hope to use this routine for...





[attachment deleted by admin]

MrTAToad

  • Guest
Re: Corax's World Generator
« Reply #5 on: 2010-Apr-03 »
Here is the current source code

[attachment deleted by admin]

Offline Hatonastick

  • Dr. Type
  • ****
  • Posts: 474
  • Amstrad CPC 6128
    • View Profile
Re: Corax's World Generator
« Reply #6 on: 2010-Jul-11 »
That looks really cool.  Could do a remake of Empire with that. :)
Mat. 5: 14 - 16

Android: Toshiba Thrive Tablet (3.2), Samsung Galaxy Tab 2 (4.1.2).
Netbook: Samsung N150+ Netbook (Win 7 32-bit + Ubuntu 11.10).
Desktop: Intel i5 Desktop with NVIDIA GeForce GTX 460 (Win 8.1 64-bit).

MrTAToad

  • Guest
Re: Corax's World Generator
« Reply #7 on: 2010-Jul-12 »
Indeed!