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
FLARE [ARCHIVED]

Flare 1.0 Documentation.

Paul Wortmann
Thursday, May 3, 2018 - 21:15
Paul Wortmann's picture

Firstly congratulations on the release of Flare 1.0!
I appreciate all the years of hard work and effort by the Flare development team and contributors.
I have yet to complete the V1.0 Empyrean Campaign, but I am enjoying it so far.

Now that Flare has hit the 1.0 milestone, is there any documentation on the Flare map file format?
I have browsed the flare engine wiki, and there is information on how to use tiled to make maps, but no clear information on the map file format that I could find. I wish to make a map from scratch by hand in a text editor.
Can I use multiple texture atlases (image files) in the same tilesetdefs file?
Is there a way to tag tiles in the tilesetdefs with their purposes? Like "floor", wall, "object" etc...Is there a way for a mod to call an external application on map transitions with command line arguments?Is there a way for a mod to write data to an external file on map transitions?

My apologies on the many questions, but any assistance would be appreciated.

  • Log in or register to post comments
dorkster
joined 12 years 12 months ago
Saturday, May 5, 2018 - 21:26
dorkster's picture

Thanks for the kind words. I tihnk the best docs we have now is to look at the existing flare-game data files in combination with referring to the Attribute Reference on the wiki:

  • Maps: https://github.com/clintbellanger/flare-engine/wiki/Attribute-Reference#map
  • Tileset definitions: https://github.com/clintbellanger/flare-engine/wiki/Attribute-Reference#...
  • Events (can be unsed in maps as [event]): https://github.com/clintbellanger/flare-engine/wiki/Attribute-Reference#...

As of 1.05, you can use multiple images in tileset definitions. Example:

[tileset]

img=image1.png

tile=1,...

 

[tileset]

img=image2.png

tile=2,...

 

There's no way to tag specific tiles, but you can add comment lines with '#' to help keep track of which tiles are which. flare-game definitions were like that, but the comments got scrapped after I ran them through the sprite packing program.

Flare mods do not have the ability to write data or run external programs.

  • Log in or register to post comments