Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (843)
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 4103 times)
0 Members and 1 Guest are viewing this topic.
Offline KerFerius
« Posted 2014-05-08 09: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 :
Offline sonnyg007
« Reply #1 - Posted 2014-05-08 17:48:34 »

Looks awesome! I love seeing what people can create using procedural generation.
Offline Gibbo3771

JGO Kernel

Medals: 128
Projects: 5
Exp: 1 year

Currently inactive on forums :(

« Reply #2 - Posted 2014-05-08 18: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
« Reply #3 - Posted 2014-05-13 16: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  

EgonOlsen (42 views)
2018-06-10 19:43:48

EgonOlsen (22 views)
2018-06-10 19:43:44

EgonOlsen (43 views)
2018-06-10 19:43:20

DesertCoockie (197 views)
2018-05-13 18:23:11

nelsongames (124 views)
2018-04-24 18:15:36

nelsongames (123 views)
2018-04-24 18:14:32

ivj94 (863 views)
2018-03-24 14:47:39

ivj94 (124 views)
2018-03-24 14:46:31

ivj94 (768 views)
2018-03-24 14:43:53

Solater (140 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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!