The Daily Click ::. Forums ::. Klik Coding Help ::. Mouse control HELP!
 

Post Reply  Post Oekaki 
 

Posted By Message

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
6th March, 2006 at 02:40:59 -

Im making a game and im thinking of changing the control system from keyboard to mouse. Ive so far got the character to move toward and invisible marker that drops where the mouse is clicked. Im having a nightmare with collision.

Please can anyone give me a quick example/code/sudo of how i should go about making a mouse control system like Diablo/Sacred! thx (im not bothered about path finding too much)

Thx alot.

 
n/a

Zi-Xiao



Registered
  29/07/2002
Points
  537

VIP Member
6th March, 2006 at 10:06:52 -

On the contrary, path finding is exactly what you need to be bothered with. There's an algorith called A* or something like that... It works well and supposedly works with MMF if you can get fast loops to cooperate.

So far, I've yet to see a pathfinding system in klik even close to the shabby one in Diablo. Good luck.

 
n/a

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
6th March, 2006 at 13:12:49 -

damn!

 
n/a

Johan Hargne (Wartagon)

Lover Of Circys

Registered
  15/06/2003
Points
  1289

Game of the Week WinnerCROBASOFTVIP MemberPS3 OwnerWii OwnerMushroom
6th March, 2006 at 13:15:11 -

Diablo's movement system isn't shabby

 
Music Composer.
http://johan.hargne.se

Crobasoft
www.crobasoft.com

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
6th March, 2006 at 15:58:59 -

Hm, the pathfinding in Andurean was pretty good... You might want to contact Tiles/Reiner about that.

 
Old member (~2004-2007).

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
6th March, 2006 at 17:00:57 -

Arunderan?

Uh... What? I SAID ANDUREAN ALL THE TIME AND THEN I FIND OUT IT'S ARUNDERAN?!

 
Old member (~2004-2007).

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
6th March, 2006 at 19:18:01 -

thx

 
n/a
   

Post Reply



 



Advertisement

Worth A Click