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]

Possible Performance Improvement

Clint Bellanger
Monday, February 7, 2011 - 01:01
Clint Bellanger's picture

I made a code change that drastically improves Flare performance, at least on my Macbook.  If you've tried the game before on a low-end machine (e.g. netbook) I'm hoping this change will make a difference for you as well.

If you are comfortable compiling Flare from the latest svn and are feeling adventurous, would you try the latest update?  Especially if you've tried before and noticed slowness on your machine.

https://code.google.com/p/flare-engine/source/checkout

If you don't have a low-end machine, perhaps you can test performance on higher res.  In Settings.h change these options:

const int VIEW_W = 640;
const int VIEW_H = 480;

Change these numbers to your display's native resolution and compile (yes, these will be in a config file when I get around to it).

Also, remember that you can run the game fullscreen by adding -f or --fullscreen to the command line execution (again, this will be in a config file.  Hopefully soon!)

Thanks!

  • Log in or register to post comments
farrer
joined 14 years 4 months ago
Monday, February 7, 2011 - 04:26
farrer's picture

I've got a segfault on trying to run the game on my notebook (with Linux Gentoo 64bits). To fix I had to add

music = NULL

at the MapIso constructor, otherwise it'll crash when loading music.

 

For the performance, it already run at a good pace here last time I check (some months ago, at Osare times) and so it is now.

  • Log in or register to post comments
Clint Bellanger
joined 15 years 9 months ago
Monday, February 7, 2011 - 05:05
Clint Bellanger's picture

farrer, thanks!  That fix is now added (revision 218)

  • Log in or register to post comments
Clint Bellanger
joined 15 years 9 months ago
Monday, February 7, 2011 - 06:50
Clint Bellanger's picture

If a Windows user wants to test it: http://clintbellanger.net/rpg/download/flare_demo_win.zip

  • Log in or register to post comments
Charlie
joined 15 years 10 months ago
Monday, February 7, 2011 - 07:28

Performance was good although I haven't really tried it before (not that I remember anyway) so can't compare.  Couldn't find any weapons and eventually died after my 20th kill or so.  The goblin guarding the barracks was tough!

http://forum.freegamedev.net/

  • Log in or register to post comments
Clint Bellanger
joined 15 years 9 months ago
Monday, February 7, 2011 - 07:31
Clint Bellanger's picture

clrg, yes he's a tough little dude!  He's sort of the "boss" of the goblin warren.  He's a bit easier with a weapon.  I want to work on merchant/vendors soon.

  • Log in or register to post comments
Anonymous (not verified)
joined 0 sec ago
127.0.0.1
Monday, February 7, 2011 - 11:05

hi, riidom here

windows version works, on a 512mb ram system with some other applications open with great performance. I ran the older version on a similar system with 1024mb ram, so I cant really compare that.

Some random impressions, suggestions (not checked if its stated already somewhere, so maybe old/duplicated remarks):

- for level up, highlight the character menu button (its all white, could be yellow then, for example, or add a plus symbol in middle)

- same for new log entries, maybe put the number of unread ones in middle of icon

- make a close button on corner of each window

- make a contest for "unintelligble goblin writings and drawings" :D - in case there are some other possibilites where it makes sense to add graphics to the log book. In general the logbook could need some polishment I think. Not that it looks bad, but the rest of game looks very polished already, so it sticks out negatively. Low priority comment, though

- as I died, the goblin didnt stop attacking me. Probably a bug, but keep it! its super funny xD maybe add some  additional graphics here, so the corpse looks a bit more destroyed after the first five "after-death"-hits, even more beyond the 10th hit etx

 

  • Log in or register to post comments