Run player with double click!!!

Started by Mehrdad, Thu 28/10/2010 17:34:40

Previous topic - Next topic

Mehrdad

Hi

Is it possible?Run player in scene(change view) with DOUBLE CLICK.!!!
My official site: http://www.pershaland.com/

Mehrdad

Hello again

isn't really any answer???
please see Wretcher  game (AGS game).you can run with double click.

http://www.adventuregamestudio.co.uk/yabb/index.php?topic=40687.0

how do i do that?

My official site: http://www.pershaland.com/

Matti

I could think of a few ways, but honestly I'm too hangoverish to elaborate on that right now. Why don't you PM Alan v.Drake and ask him how he did it?

Khris

With DOUBLE CLICK.!!! :D (sorry, just messing with you)

Did you try doing this yourself? Detecting a double click is not hard, and there are threads already dealing with this.
Making the character run is much easier, just use something like
Code: ags
  player.ChangeView(RUNVIEW);
  player.SetWalkSpeed(10, 7);


Seriously, you've been using AGS for years now, do we need to give you the complete, working code? And why are you asking if it is possible if somebody else already did it in an AGS game?

Dualnames

Keep in mind that the player has to be stationary(not moving) when you change his walk speed. Otherwise you'll get a nice crush.  ;)
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SMF spam blocked by CleanTalk