Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualL. Spiro

Posted 14 February 2013 - 04:48 PM

So I could just make a Vector2i offset(50, 50) right?

Yes.

endPos = player.pos + offset?

Yes.

This bit confused me. All I'm doing at the minute is:

if(keypress == down) player.y += move
if(keypress == left) player.x -= move 
.. kinda thing. I'm not really sure what values for direction you're thinking of here, sorry.


Isn’t that contradictory with your original statement that during these little animations the player has no control?
This is supposed to be an automatic movement by the character, yes?


L. Spiro

#2L. Spiro

Posted 14 February 2013 - 04:48 PM

So I could just make a Vector2i offset(50, 50) right?
[/quote]
Yes.

endPos = player.pos + offset?
[/quote]Yes.

This bit confused me. All I'm doing at the minute is:

if(keypress == down) player.y += move
if(keypress == left) player.x -= move 
.. kinda thing. I'm not really sure what values for direction you're thinking of here, sorry.[/quote]
Isn’t that contradictory with your original statement that during these little animations the player has no control?
This is supposed to be an automatic movement by the character, yes?


L. Spiro
 
[/quote]
 
[/quote]
 
[/quote]





#1L. Spiro

Posted 14 February 2013 - 04:47 PM

So I could just make a Vector2i offset(50, 50) right?
[/quote]
Yes.

endPos = player.pos + offset?

Yes.

This bit confused me. All I'm doing at the minute is:

if(keypress == down) player.y += move
if(keypress == left) player.x -= move 
.. kinda thing. I'm not really sure what values for direction you're thinking of here, sorry.

Isn’t that contradictory with your original statement that during these little animations the player has no control?
This is supposed to be an automatic movement by the character, yes?


L. Spiro





PARTNERS