Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
camera
#5
But the variables cameraX = playerX - width(primary)/2
and cameraY = playerY - height(primary)/2 where I place it, in the main file and then in the player file I subtract cameraX and cameraY.
I don't understand where to put that, I'll give you the code I have made and you tell me where I put it.
Reply


Messages In This Thread
camera - by aliensoldier - 02-14-2024, 04:29 PM
RE: camera - by aliensoldier - 02-15-2024, 04:43 PM
RE: camera - by Marcus - 02-15-2024, 07:27 PM
RE: camera - by 1micha.elok - 02-16-2024, 10:21 AM
RE: camera - by aliensoldier - 02-16-2024, 03:28 PM
RE: camera - by 1micha.elok - 02-16-2024, 10:23 PM
RE: camera - by johnno56 - 02-15-2024, 06:04 PM
RE: camera - by aliensoldier - 02-15-2024, 07:37 PM
RE: camera - by johnno56 - 02-15-2024, 08:18 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)