OZONE Asylum
Forums
Server-Side Scripting - Oh my!
PHP/GD terrian generator
This page's ID:
29703
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I made this primarily for a MMORPG flash game that I'm developing. There's no edge of the map, so I needed the map to grow as the players explore. This is the best I could come up with for a terrain generator, powered purely by PHP and the GD library. It's a basic fractal terrain, consisting of 4 separate fractals, since I needed them to seed off each other if the map is to grow without seams. I made and used [url=http://zavaboy.com/phpbox/altg01.png]this gradient[/url] for it. [url=http://zavaboy.com/phpbox/map_gen2.php][img]http://zavaboy.com/phpbox/map_gen2.php[/img] http://zavaboy.com/phpbox/map_gen2.php[/url] Additional things? Yes, maybe. I'm going to see if I can make rivers, flowing based on the slopes, along with erosion if possible. It would be cool if I can get the rivers to develop deltas from the eroded land. [url=http://www.zavaboy.com][img]http://asylum.zavaboy.com/zavaboy.gif[/img][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail