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]

How about organizing the source a bit better?

Anonymous
Friday, June 29, 2012 - 02:21

I'm new to game programming and I'm having a hard time reading the 100 pages of source code, do you think theres a possibility to organize them a bit better so its easier for new people like myself to read? 

 

Such as this:

Flare organized source

  • Log in or register to post comments
Clint Bellanger
joined 15 years 10 months ago
Saturday, June 30, 2012 - 07:36
Clint Bellanger's picture

It's a thought.

The file name prefixes help there somewhat. All the Menus, Widgets, and GameStates are grouped together, and most of the remaining files are harder to categorize.

  • Log in or register to post comments
kyleclements
joined 12 years 6 months ago
Sunday, January 6, 2013 - 02:31

On the topic of organizing the game's content, I'm having some trouble digging into the guts of this game.

I installed this game through the ubuntu repo, and I can't find where they put this game.  

There is no .flare folder hidden in my home directory, all I've been able to find so far are my settings and keybindings in /home/.config/flare and my savegame details in /home/.local/share, and the executable in /usr/games/  

Is there a reason the ubuntu software centre didn't just install everything into a nice and easy /.flare in my home directory? where is the game data?

  • Log in or register to post comments
shirish
joined 15 years 1 week ago
Sunday, January 6, 2013 - 11:54

@kyleclements I am on Debian and I'm sure Ubuntu also does it similarly as they take most of the stuff from Debian.Lemme see if I understand your question correctly. You are looking for the content i.e. the art.

From what I see in Debian, there are two packages in Debian.

One is flare and the other is flare-data.

$ aptitude search flare
p   flare                                             - single-player 2D action role-playing game, binary          
p   flare-data                                        - single-player 2D action role-playing game, data files

I haven't installed it as I use and have the flare repo. (one for the game and one for the game engine).

So if you want to see the game-data then would sugget you do the following :-

$ dpkg -L flare-data | less

You should get a list of all the data files which are there.

I am using apt-file here and it gives me the same info.

http://pastebin.com/B9vJbmh2

  • Log in or register to post comments
Clint Bellanger
joined 15 years 10 months ago
Sunday, January 6, 2013 - 12:01
Clint Bellanger's picture

On most *nix style operating systems we use the full XDG standard on where to put data:

http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

The main exception is OSX, where we put the game data inside the .app folder.

For now we release Windows all in one folder. There are preferred places in Windows to put the user's save games and config data but we're not using those (yet).

  • Log in or register to post comments
kyleclements
joined 12 years 6 months ago
Sunday, January 6, 2013 - 12:22

Thank you, both of you.

 

:)

  • Log in or register to post comments