Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (7th_zorro), 793 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Random Dungeon Creator #358577
02/12/11 05:13
02/12/11 05:13
Joined: Jul 2005
Posts: 187
L
lostzac Offline OP
Member
lostzac  Offline OP
Member
L

Joined: Jul 2005
Posts: 187
Back when I was working on my game, A good friend of mine named Gavin, and I created this to make random dungeons for a rouge type game.

So I thought I would throw it up here for all of you to enjoy as I am currently reworking the source code for my rouge game...

A Couple of notes, I did not spend a whole lot of time making resources to be used in this....when you run the script it can take anywhere from 10-30 seconds for the dungeon to be completed so if you just see a brick wall give it a few seconds, (Hit f11 and you can see how many entities are being created so you know its working) If this was being used in a game I would of used a loading screen or something pretty but as I just wanted to put this up, you all get the boredom of waiting for the spawn point to be loaded in so you can walk around...and yes I know the texturing on the blocks are ugly...I am not an artist nor do I claim to be one, I just made some blocks and threw a texture on it....

How this works....
The function generate_floor is the call to the dll, this will run a maze generation and print it out in a text file...

The text file is then loaded in and the proper tiles are placed in the corresponding spot...

There is 5 different chars...
the # is for walls
the . is for floors
the S is the spawn in start
the E is the exit for the level (in my game it would of been stairs to the next level)
and the + is for doors....

You will also want all your tiles to be the same width and height...

In my original script, I had it so only the spawn spot loaded up and the surrounding tiles, to cut down on the load time, and i also had the ability to call random tiles, and diffrent tile-sets....but for some reason since I updated to the last a7 code it is running a Sys error, once I figure out why, I will put that code up to share as well.

anyways for anyone who need the ability to generate random maps I hope you enjoy.....

http://rapidshare.com/files/447478596/Rouge.rar

If questions go ahead and message me, and I will do my best to help out...

Cheers


John C Leutz II

Re: Random Dungeon Creator [Re: lostzac] #358578
02/12/11 05:14
02/12/11 05:14
Joined: Jan 2011
Posts: 122
GUILIN , CHINA
tzw Offline
Member
tzw  Offline
Member

Joined: Jan 2011
Posts: 122
GUILIN , CHINA
brilliant!


Full of my eyes are class struggles.....
Re: Random Dungeon Creator [Re: tzw] #358581
02/12/11 07:52
02/12/11 07:52
Joined: Jan 2009
Posts: 78
always overseas
S
SeaCancer Offline
Junior Member
SeaCancer  Offline
Junior Member
S

Joined: Jan 2009
Posts: 78
always overseas
Excellent Work!

Re: Random Dungeon Creator [Re: SeaCancer] #359158
02/15/11 22:43
02/15/11 22:43
Joined: Feb 2007
Posts: 146
UK
robertbruce Offline
Member
robertbruce  Offline
Member

Joined: Feb 2007
Posts: 146
UK
Thanks for e-mailing.

The file can now be downloaded here

Re: Random Dungeon Creator [Re: robertbruce] #359163
02/15/11 22:55
02/15/11 22:55
Joined: Jul 2005
Posts: 187
L
lostzac Offline OP
Member
lostzac  Offline OP
Member
L

Joined: Jul 2005
Posts: 187
Thanks for the hosting...I will have more on this in about two weeks if all goes well..including a second generation script for pre constructed models of different sizes a character generation script with dynamic item swamping (basically I do the model in parts, and trade out for the item...example would be if I was to equip bracers, the arms model would be swaped for the bracer mdl file)


John C Leutz II

Re: Random Dungeon Creator [Re: lostzac] #359173
02/15/11 23:47
02/15/11 23:47
Joined: Apr 2005
Posts: 653
Germany
D
Det Offline
User
Det  Offline
User
D

Joined: Apr 2005
Posts: 653
Germany
Cant dowwnload it if ten donloads are full you cant download again.


Wissen ist macht.
Nichts wissen macht auch nichts.

A7.86
Re: Random Dungeon Creator [Re: Det] #359236
02/16/11 11:55
02/16/11 11:55
Joined: Jul 2005
Posts: 187
L
lostzac Offline OP
Member
lostzac  Offline OP
Member
L

Joined: Jul 2005
Posts: 187
There is a link posted above by Robertbruce is hosting it ...


John C Leutz II

Re: Random Dungeon Creator [Re: lostzac] #359246
02/16/11 13:30
02/16/11 13:30
Joined: Jul 2005
Posts: 187
L
lostzac Offline OP
Member
lostzac  Offline OP
Member
L

Joined: Jul 2005
Posts: 187
Update....Got the Character Spawn working and all its parts....adding in animation then to touch up on the second part of the Dungeon Generation


John C Leutz II

Re: Random Dungeon Creator [Re: lostzac] #359355
02/16/11 22:19
02/16/11 22:19
Joined: Apr 2008
Posts: 2,488
ratchet Offline
Expert
ratchet  Offline
Expert

Joined: Apr 2008
Posts: 2,488
Very good laugh

But i already exprimented that, and it really shows a big problem in A8 :
you see that lightening is not uniform at all, you see the seems
even if you "Glue" perfectly all pieces !
SO it's impossible in A8 to sue some "TorchLigh" systeme or
3D tile system (used in Dungones of Oblivion also).

Evene when you move the character: incredible the lightening is flickering in some pieces frown

Well i've seen some demos of 3D tiles running perfectly in Unity 3D even with shaders or not.

That's a shame A8 is so weak on that point , that you can't make a 3D tile system with good lightening , no flickering problems , and without visible lightening seems bewteen 3D pieces : (

Well ...

Re: Random Dungeon Creator [Re: ratchet] #359356
02/16/11 22:21
02/16/11 22:21
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Quote:
That's a shame A8 is so weak on that point , that you can't make a 3D tile system with good lightening , no flickering problems , and without visible lightening seems bewteen 3D pieces

That's not true, it is possible.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Page 1 of 3 1 2 3

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1