Fandom

Scratchpad

Strategic Game Package

215,833pages on
this wiki
Add New Page
Discuss this page0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

HOME

The Game Package Definition is a description of what the structure of this packages should look like, aiming to develop a standard definition for the packs, with folder structures, configuration files, description of optional and mandatory components, ad so on.

It should contain

  • Rules
  • Entities definitions
  • Standard configuration files
  • Graphics
  • Computer Controlled Players
  • Some signature to ensure version compatibility

Ideally, it should not contain any piece of java code, but only XML definitions (eventually with pieces of script) and rules, with some configuration files to glue everything together.

Let's try to define a folder tree structure:

-root
|-rules
|-img
|-obj
|-ai
|-cfg
|-data

Just like JEE WAR, this package can be deployed as an archive, or as a flat folder. Ad run-time, the engine will decompress the archive into a working directory, and precompile/generate resources as needed. It should also provide some kind of caching.

Also on Fandom

Random wikia