Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (492)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (556)
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 826 times)
0 Members and 1 Guest are viewing this topic.
Offline roseslayer

Junior Member


Medals: 1



« 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!

-Roseslayer

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

Junior Member


Medals: 1



« 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

-RoseSlayer

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: 246
Projects: 11
Exp: 2 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 Member





« 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.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Nickropheliac (16 views)
2014-08-31 22:59:12

TehJavaDev (23 views)
2014-08-28 18:26:30

CopyableCougar4 (33 views)
2014-08-22 19:31:30

atombrot (42 views)
2014-08-19 09:29:53

Tekkerue (41 views)
2014-08-16 06:45:27

Tekkerue (35 views)
2014-08-16 06:22:17

Tekkerue (26 views)
2014-08-16 06:20:21

Tekkerue (37 views)
2014-08-16 06:12:11

Rayexar (72 views)
2014-08-11 02:49:23

BurntPizza (49 views)
2014-08-09 21:09:32
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org 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‑gaming.org
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!