Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
General Discussion

Tool for assembling modular assets?

surt
Saturday, June 22, 2013 - 19:37
surt's picture

Does anyone know of a tool for the purpose of assembling modular assets such as Buch's and Skorpio's modular spaceship parts?

  • Log in or register to post comments
bart
joined 14 years 2 weeks ago
Saturday, June 22, 2013 - 20:41
bart's picture

I'm not specifically aware of one, but I'd imagine it would be fairly easy to make something like that in Javascript.

I'd have a canvas and a selection of modules, which you can drag onto the canvas, then flip and rotate them (probably in 90 degree increments).  For building space ships, a mirror image feature would also be really handy.

Thoughts?

  • Log in or register to post comments
surt
joined 16 years 1 month ago
Sunday, June 23, 2013 - 01:42
surt's picture

I imagine something like the following:

Component description format
Model description format
Model generation rules description format

Simple human/machine readable/editable formats based on JSON, YAML or somesuch.

Component description format file accompanies an image file of component sprites: describing geometry, connection and classification data for each component.
Model description format specifies a model assembled from components, describing the component heirarchy.
Model generation rules description format specifies further restrictions beyond the full set of permutations.

GUIs like you describe to help create component descriptions and model description would certainly be cool too.
 EDIT: Grr! How do you post code without the whitespace getting stripped? Component description example
[
{
"id": "wing1",
"bounds": [[0, 0,], [64, 64]],
"classification": {
"type": "wing",
"handedness": "left"
"mirrorable": "true",
"faction": "pirate"
}
"connectors": [
{
"id": "base",
"position": [64, 32],
"normal": [1, 0]
"required": "true"
"classification": {
"type": "wingSmall",
"handedness": "left"
"gender": "male",
}
},
{
"id": "weapon1",
"position": [0, 32],
"normal": [0, -1]
"required": "full"
"classification": {
"type": "weaponSmall",
"gender": "female",
}
}
]
}
]

Model description example
{
"id": "Billy's cool pirate ship",
"mirror": "true"
"root": {
"id": "chassis3",
"connections": [
"cockpit": {
"id": "cockpit76",
"connections": [
"weaponLeft": {
"id": "laserSmall",
}
]
}
"engine": {
"id": "engine4",
}
"wingLeft": {
"id": "wing1",
"connections": [
"weapon0": {
"id": "missilesCluster",
},
"weapon1": {
"id": "laserMedium",
}
]
}
]
}
}

Red warrior needs caffeine badly.

  • Log in or register to post comments
Julius
joined 15 years 9 months ago
Sunday, June 23, 2013 - 01:49
Julius's picture

Hmm, wouldn't that be something Tiled could be easily modified to do?

--

http://freegamedev.net

  • Log in or register to post comments
Acorn
joined 13 years 7 months ago
Sunday, June 23, 2013 - 09:04

yea Tiled sounds like a good idea. most of the grunt work is already done

  • Log in or register to post comments
bart
joined 14 years 2 weeks ago
Saturday, July 6, 2013 - 11:35
bart's picture

Wouldn't that restrict the modules to all being on a grid layout?

  • Log in or register to post comments