Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (636)
Games in Android Showcase (178)
games submitted by our members
Games in WIP (686)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Tips for making underground caves, buildings?  (Read 1239 times)
0 Members and 1 Guest are viewing this topic.
Offline roseslayer

Senior Devvie

Medals: 3

« Posted 2013-02-02 18:34:29 »

Hello all!

I'm currently developing a voxel-based 2D game. I'm using int random for generating the world but for generating smooth caves I think that random amount of blocks -> air isn't the best option so I'm not asking any source code or whatever (because I am trying to learn) but what might be the best option for generating smooth caves or random buildings. I hope it will be quickle responded because tonight I have alot of time making the generating code. I'm currently making the world by Tiles/Blocks that are 13pixels in height as in width. The best and smoothest option is always the best!


Fundamentum W.I.P.
Offline Danny02
« Reply #1 - Posted 2013-02-02 18:38:14 »

at first^^ you can't have Voxels in only two dimensions, you can have Arxels if you want.  Cool

coming back to your question, you are probably looking for noise functions. Google is ofcourse your friend, but there are many threads already on this forum on this topic.
search for: noise, perlin
Offline roseslayer

Senior Devvie

Medals: 3

« Reply #2 - Posted 2013-02-02 18:42:12 »

Oke I will search for them, thanks alot mate!
I just love Voxels as a word I guess. but whatever


Fundamentum W.I.P.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline sproingie

JGO Kernel

Medals: 202

« Reply #3 - Posted 2013-02-02 19:29:43 »

"Voxel" is an abbreviation for "volumetric pixel".  What's an "arxel"?
Offline Danny02
« Reply #4 - Posted 2013-02-02 20:37:57 »

VOlume X ELement
ARea X ELement Wink

ps: just made it up, but if it becomes famous you heard it from me first Cheesy
Offline HeroesGraveDev

JGO Kernel

Medals: 360
Projects: 11
Exp: 3 years

┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻

« Reply #5 - Posted 2013-02-02 20:41:35 »

A 2D voxel is a pixel.

Offline sproingie

JGO Kernel

Medals: 202

« Reply #6 - Posted 2013-02-02 22:19:47 »

If your "pixels" are themselves textured, we usually call those "tiles".
Offline Best Username Ever

Junior Devvie

« Reply #7 - Posted 2013-02-02 22:23:51 »

Search the following:

"Random cave generation"
"Procedurally generated cave"
"Random room generation"
"Procedurally generated rooms"
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Dwinin (61 views)
2015-11-07 13:29:08

Rems19 (75 views)
2015-10-31 01:36:56

Rems19 (68 views)
2015-10-31 01:32:37

williamwoles (103 views)
2015-10-23 10:42:59

williamwoles (90 views)
2015-10-23 10:42:45

Jervac_ (103 views)
2015-10-18 23:29:12

DarkCart (131 views)
2015-10-16 00:58:11

KaiHH (113 views)
2015-10-11 14:10:14

KaiHH (153 views)
2015-10-11 13:26:18

BurntPizza (166 views)
2015-10-08 03:11:46
Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48

Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!