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

Author Topic: Question on how to implement movement in SFML  (Read 1296 times)

0 Members and 1 Guest are viewing this topic.

GameSscript

  • Newbie
  • *
  • Posts: 1
    • View Profile
Question on how to implement movement in SFML
« on: March 27, 2016, 08:43:27 am »
So I'm trying to make a frogger game. finding trouble getting the right method to move him. i want the player to move like , i would like it to jump to the position every time you press one those buttons like in the classic game. but im really lost.

can anybody know a tutorial or has a way to implement this?
« Last Edit: March 27, 2016, 08:45:17 am by GameSscript »

DarkRoku12

  • Full Member
  • ***
  • Posts: 203
  • Lua coder.
    • View Profile
    • Email
Re: Question on how to implement movement in SFML
« Reply #1 on: March 27, 2016, 06:33:53 pm »
You can use move method to move across the time using a delta value.
Or you can use camera and then move the camera.

Is very easy to implement movement. See as reference these useful posts:
link1
link2
I would like a spanish/latin community...
Problems building for Android? Look here

 

anything