Jump to content




Game camera help!

help

  • You cannot reply to this topic
8 replies to this topic

#1 Lewisk3

  • Members
  • 150 posts

Posted 20 February 2016 - 06:28 AM

Im working on a game, and i cant get the camera to fallow the player correctly on the way back
when i move to the left or up it doesnt fallow the player until the player is on the coordinate

Spoiler


API: http://pastebin.com/QEXpahe1

Edited by Lewisk3, 20 February 2016 - 10:14 PM.


#2 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 20 February 2016 - 10:14 AM

What exactly is it doing wrong?

Also, I uploaded it to pastebin for anyone who wants to look at the code.

#3 Lupus590

  • Members
  • 2,028 posts
  • LocationUK

Posted 20 February 2016 - 11:37 AM

indent your code so that it's easier to read

#4 Lewisk3

  • Members
  • 150 posts

Posted 20 February 2016 - 12:38 PM

View PostLupus590, on 20 February 2016 - 11:37 AM, said:

indent your code so that it's easier to read
thats the computer-craft forums fault, my code is usually extremely neat and organized.

Edited by Lewisk3, 28 September 2016 - 03:42 AM.


#5 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 20 February 2016 - 12:49 PM

Then pastebin it, please.

#6 Luca_S

  • Members
  • 407 posts
  • LocationGermany

Posted 20 February 2016 - 03:09 PM

Could you post the used APIs so we can try out what's wrong?

#7 Lewisk3

  • Members
  • 150 posts

Posted 20 February 2016 - 10:14 PM

View PostLuca_S, on 20 February 2016 - 03:09 PM, said:

Could you post the used APIs so we can try out what's wrong?

posted.

#8 Luca_S

  • Members
  • 407 posts
  • LocationGermany

Posted 20 February 2016 - 11:23 PM

Ok what exactly do you want to do if you wait until a certain x/y and then start scrolling the camera the player will think he isn't moving anymore.

#9 Lewisk3

  • Members
  • 150 posts

Posted 21 February 2016 - 12:11 AM

View PostLuca_S, on 20 February 2016 - 11:23 PM, said:

Ok what exactly do you want to do if you wait until a certain x/y and then start scrolling the camera the player will think he isn't moving anymore.
i am just looking to get this same camera effect that minicraft has.

View PostCreator, on 20 February 2016 - 10:14 AM, said:

What exactly is it doing wrong?

Also, I uploaded it to pastebin for anyone who wants to look at the code.
just for the clarity, MultMine and i fixed the game of life i was making and also i made it so you can pan the screen arround xD
prob will be posting it later today.

Edited by Lewisk3, 21 February 2016 - 12:13 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users