Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (290)
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  
  Interesting theory for game structure  (Read 2321 times)
0 Members and 1 Guest are viewing this topic.
Offline bert

Junior Member




Miles of road and miles of code


« Posted 2007-10-08 20:21:11 »

Most games' level geometry is stored in a file and loaded when it is needed. This creates a need for loading screens and requires more storage memory where the level is located. However, if a level was to be built using predefined "blocks" similar to Legos, and the blocks were put together to create the level, then the blocks in the view of the user could be loaded into the scenegraph while the others could be freed up. This would be constantly happening so that loading screens would not be needed. This way you could make a large continuous level with no breaks. Also, it could lead to a fully interactive world. Because each block is stored individually, if for instace there was an explosion, all the blocks nearest to the blast could be removed and the next nearest set to a "charred" state, maybe with flames coming out or something. I think this approach could go a long way, but let me know what you think of this. I know the approach is not perfect and I am kind of new at 3D programming but if anyone sees any obvious benefits or drawbacks let me know.

w00t, i'm winning
Offline broumbroum

Junior Member





« Reply #1 - Posted 2007-10-08 22:01:57 »

I don't think so, your theory is kinda uncomplete in terms of data structure modelling. Say you want a simple Half-Life (you should know about this game, don't you ?) 3-Dimensional geometrical level to load as fast as possible, it doesn't matter how or when you want to display your level. As a first step, the main problematic is that one standard level involves more than geometric datas, that is, you have mainly the Texture's to load from file as well as Sound FX's and even Scenario's. That has much more to do with the compression you use than the amount of data you store. Then those Half-Life levels couldn't share more memory than the machine can, that means data is whether or not compressed, either loaded from files and put in cache/buffer but never let stored in their original files where the game Engine cannot manage each type of data to load on real-time if their type and compressed data don't get "normalized" or loaded previously to the real-time rendering begins. Cool
As a matter of fact, a game-level is something you cannot "split out" if it ain't previously "swallowed", where the hazard is to get struggled with the amount of data your engine is using.

::::... :..... :::::: ;;;:::™ b23:production 2006 GNU/GPL @ http://b23prodtm.webhop.info
on sf.net: /projects/sf3jswing
Java (1.6u10 plz) Web Start pool
dev' VODcast[/ur
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #2 - Posted 2007-10-18 01:58:38 »

Already been done...Trackmania is a perfect example of that.

DP Smiley

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #3 - Posted 2007-10-19 17:01:15 »

This is also commonly used for the data parts of the level - google entity systems and/or property systems (although you'll get many false hits)

malloc will be first against the wall when the revolution comes...
Offline CaptainJester

JGO Knight


Medals: 10
Projects: 2


Make it work; make it better.


« Reply #4 - Posted 2007-10-19 19:46:22 »

Dungeon Siege also did it.  Scott Bilas wrote an article about the design. http://www.drizzle.com/~scottb/gdc/continuous-world.htm

Offline JAW

Junior Member





« Reply #5 - Posted 2007-10-25 15:23:35 »

Your block information needs loading as well. And you can use the same method of allocating and freeing on any other geometry structure as well. No need to load lego blocks. Just load an area of geometry data.

Generally, there are already some games that got rid of loading screens and created a seamless world. Chrome did so, it has huge levels and no loading. I wonder, doesn't Halflife 2 have as well no more loading screens?

-JAW
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (65 views)
2013-05-17 21:29:12

alaslipknot (74 views)
2013-05-16 21:24:48

gouessej (105 views)
2013-05-16 00:53:38

gouessej (102 views)
2013-05-16 00:17:58

theagentd (112 views)
2013-05-15 15:01:13

theagentd (102 views)
2013-05-15 15:00:54

StreetDoggy (147 views)
2013-05-14 15:56:26

kutucuk (169 views)
2013-05-12 17:10:36

kutucuk (168 views)
2013-05-12 15:36:09

UnluckyDevil (177 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.102 seconds with 21 queries.