Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: I have problem with character  (Read 1493 times)

0 Members and 1 Guest are viewing this topic.

fatih

  • Newbie
  • *
  • Posts: 6
    • View Profile
I have problem with character
« on: December 31, 2012, 03:18:54 pm »
I was coding my game for about four days. Everything is working except moving right/left when character jumps. When character is going up he can not move right/left, but when he reaches maximum height, he starts falling and then he can move right/left.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: I have problem with character
« Reply #1 on: December 31, 2012, 03:24:31 pm »
The problem is at line 42.

Additionnally, you could read this:
http://en.sfml-dev.org/forums/index.php?topic=5559.0
Laurent Gomila - SFML developer

Sui

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • http://www.suisoft.co.uk/
Re: I have problem with character
« Reply #2 on: December 31, 2012, 03:51:17 pm »
I think what Laurent is trying to say is:

"Post some code dude!"

As per posting guidelines, a minimal example is best.

I will be very impressed if the problem is on line 42... :-)
Gary Marples, Developer of games and other stuff.
www.suisoft.co.uk/games/BlogTwitter