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]

Controls

Anonymous
Thursday, March 3, 2011 - 01:46

I had rewrote Flare controls to Diablo-like style (via mouse). If Mouse1 button was clicked on enemy, character will attack them, if not - just will follow for mouse. 

I and a lot of people think, that this style controls is most effective to Diablo-like games. If your team or you agreed with this opinion, i'll send a patch with code.

Besides I want to try write Menu (new character, load character, settings) and In-Game menu (by ESC button(exit, switch etc.)). and general warehouse.

Best regards, Pavel.

  • Log in or register to post comments
p0ss
joined 14 years 5 months ago
Thursday, March 3, 2011 - 02:07
p0ss's picture

I think this is great, I hope it gets added as an optional control scheme :)

  • Log in or register to post comments
Clint Bellanger
joined 15 years 9 months ago
Thursday, March 3, 2011 - 05:33
Clint Bellanger's picture

Yes, please submit a patch.  I do want this as an optional control style.

I'm not sure how targeted spells would work (e.g. Burn, Teleport) though.

  • Log in or register to post comments
Anonymous (not verified)
joined 0 sec ago
127.0.0.1
Thursday, March 3, 2011 - 11:17

It is harder to strafe using em, imho it is bad idea

  • Log in or register to post comments
Cheshire
joined 14 years 3 months ago
Thursday, March 3, 2011 - 13:21

http://code.google.com/p/flare-engine/issues/detail?id=2

  • Log in or register to post comments
Clint Bellanger
joined 15 years 9 months ago
Thursday, March 3, 2011 - 13:58
Clint Bellanger's picture

Cheshire, excellent work.  I'm going to make a couple minor tweaks and check this feature in.

  • Log in or register to post comments
Cheshire
joined 14 years 3 months ago
Thursday, March 3, 2011 - 14:32

Thanks!

Now I want to do a tooltip, when mouse is covering enemy and after that, will try to implement a menu.

  • Log in or register to post comments
Clint Bellanger
joined 15 years 9 months ago
Thursday, March 3, 2011 - 14:40
Clint Bellanger's picture

Cheshire, how would you like to be credited?  e.g. just Cheshire, or your full name?

Also, I made a couple tweaks to the patch (committed in revision 236)

  • Holding shift will prevent movement and enable power use
  • To enable, edit the save file and set mouse_move=true
  • Made some mouse_lock tweaks so you can continually swing at a target
  • Changed some logic checks to fix WASD movement

 

  • Log in or register to post comments
Clint Bellanger
joined 15 years 9 months ago
Thursday, March 3, 2011 - 15:04
Clint Bellanger's picture

Cheshire,

I added a couple more tweaks with revision 237.  Mainly you'll see that EnemyFocus is now using the creature's animation frame size.

  • Log in or register to post comments
Clint Bellanger
joined 15 years 9 months ago
Thursday, March 3, 2011 - 15:36
Clint Bellanger's picture

Cheshire,

Some tips when thinking about tooltips on monsters:

  • The enemies array isn't sorted in screen-y order.  So enemyFocus() is returning the first match, not the first match which is closest to the "camera".
  • I'd like to see the enemy name and health bar at the top-middle of the screen like Diablo and Diablo 2.  Maybe this is best handled by a new MenuEnemyTooltip class?  A good place to start is looking at the MenuHealthMana class.
  • If you want specific art for it, let me know. 
  • Log in or register to post comments
Cheshire
joined 14 years 3 months ago
Thursday, March 3, 2011 - 15:46

I already implemented a patch, that render enemy tooltip. But now I have 1 trouble. Bar render besides of map.

  • Log in or register to post comments
Cheshire
joined 14 years 3 months ago
Thursday, March 3, 2011 - 15:48

Soon will send a patch for you. Few minuts.

  • Log in or register to post comments
Cheshire
joined 14 years 3 months ago
Thursday, March 3, 2011 - 15:53

http://code.google.com/p/flare-engine/issues/detail?id=3

  • Log in or register to post comments
Clint Bellanger
joined 15 years 9 months ago
Thursday, March 3, 2011 - 16:50
Clint Bellanger's picture

Cheshire,

Once again, excellent work!

I made a few changes and checked it in (revisions 238 and 239).

  • Changed the Enemy Menu position so it is always top center, regardless of Screen Size settings
  • Changed it so it still shows even when no longer mouse-over

Please svn update to the latest revision.

As for adding a main menu, the way I want to handle that will require a slight restructure of the GameEngine class.  So you might want to wait on that for a bit, until I have that class prepared.

  • Log in or register to post comments
Cheshire
joined 14 years 3 months ago
Thursday, March 3, 2011 - 17:07

Ok... I will wait restructure. Few words about tooltip. I wanted to made tooltip visible, when mouseover to monster corpse. Just monster name, level and "Dead" or "Corpse" status.

  • Log in or register to post comments
Clint Bellanger
joined 15 years 9 months ago
Thursday, March 3, 2011 - 17:44
Clint Bellanger's picture

Cheshire,

I made the tooltip visible when mouse-over on a corpse.  This does not affect the mouse-over check when attacking on mouse-movement mode.  See latest revision (240 or later)

  • Log in or register to post comments