Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (533)
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  
  Cold Contract - Procedural generation algorithm for isometric environment  (Read 1138 times)
0 Members and 1 Guest are viewing this topic.
Offline KerFerius

Senior Newbie


Medals: 1
Projects: 1



« Posted 2014-05-08 11:31:05 »

I would like to share the result of our procedural generation algorithm for isometric maps of Cold Contract.
We use JOGL as OpenGL library.
The context brings you in a hostile country where you need to neutralize an opposing force.

We have built several  functions, which determine the positions of houses, exterior walls, trees and objects and interior objects.

Each isometric map is defined with two layers : the 2d surface is linked to the result of a Perlin's noise and the 3D part is linked to a more complex function which couples a sharing area algorithm and a four-room house generator.

Here's some examples :



It helps a lot to obtain a great variety of environments with a large library of 2D and 3D tiles.
We have several objectives :
- industrial targets:
- military targets;
- cities;
- villages;
and much more.

Each time the player starts a new game, a new environment is generated. This point increases the replayability of the game for the turn-based part.

We have also a procedural generation function to create the world map.
But this is an other part.
If you want more informations, I let you go to our website : www.coldcontract.com
Offline sonnyg007
« Reply #1 - Posted 2014-05-08 19:48:34 »

Looks awesome! I love seeing what people can create using procedural generation.
Offline Gibbo3771
« Reply #2 - Posted 2014-05-08 20:24:31 »

I need to get into procedural generation, it is honestly a deal breaker having randomly generated levels.

This looks awesome, if you don't mind do you have a rough idea what each part of your result is going to load? Such as the black patches or the white patches?

"This code works flawlessly first time and exactly how I wanted it"
Said no programmer ever
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline KerFerius

Senior Newbie


Medals: 1
Projects: 1



« Reply #3 - Posted 2014-05-13 18:56:57 »

I'm not sure to understand your question.

Everything on these results are used to model an isometric map.
Each pixel is a tile and we only load the tiles which are visible on the screen.

We could do 5000x5000 tiles per map without any problem. But as we are with a turn based mecanism, it would be a bit boring to cross the map !   Grin
Pages: [1]
  ignore  |  Print  
 
 

 

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

The first screenshot will be displayed as a thumbnail.

pw (26 views)
2014-07-24 01:59:36

Riven (25 views)
2014-07-23 21:16:32

Riven (19 views)
2014-07-23 21:07:15

Riven (22 views)
2014-07-23 20:56:16

ctomni231 (51 views)
2014-07-18 06:55:21

Zero Volt (46 views)
2014-07-17 23:47:54

danieldean (37 views)
2014-07-17 23:41:23

MustardPeter (40 views)
2014-07-16 23:30:00

Cero (56 views)
2014-07-16 00:42:17

Riven (55 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!