Jump to content


Photo

How Can I fix this?


  • Please log in to reply
3 replies to this topic

#1 Obsidialord

Obsidialord

    GMC Member

  • New Member
  • 19 posts
  • Version:None

Posted 09 June 2012 - 01:05 PM

I'm using drag and drop! I have a character that can walk.clicking left/right makes you go htat direct.releasing makes you stay still.Now, if I want to jump and go a direct at once Like this:

____
/.......\
/..........\
|...........|
... i would need to hold a left/right key while mid air jumping.now that all works, but my problem is when you release a left/right key, ill stop jumping and fall down to the ground.to fix this, I made it so it will only make you stay stil if theres the ground bneath you,buuutttt...
if i release a left or right key in mid air, i dont stop going that direction until i release it agian ON the ground.all i need is a way to make it so i can release left/right mid air, without stoping the jump.

Edited by Obsidialord, 09 June 2012 - 01:07 PM.

  • 0

#2 jo-thijs

jo-thijs

    GMC Member

  • GMC Member
  • 1464 posts
  • Version:GM8.1

Posted 09 June 2012 - 01:45 PM

in the release event you should set his horizontal speed to 0
  • 0

#3 Obsidialord

Obsidialord

    GMC Member

  • New Member
  • 19 posts
  • Version:None

Posted 09 June 2012 - 01:54 PM

in the release event you should set his horizontal speed to 0

ill try it....
edit: doesnt work
  • 0

#4 jo-thijs

jo-thijs

    GMC Member

  • GMC Member
  • 1464 posts
  • Version:GM8.1

Posted 09 June 2012 - 01:59 PM

you should only set his horizontal speed to 0 and delete all the other D&D.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users