Question on TSB's Drawing Line's tutorial

DrGlickertDrGlickert Member Posts: 1,135
edited November -1 in Working with GS (Mac)
I've got everything in. Everything works. However, My game is a 1024 x 1024 game.

The action takes place right in the middle of the X axis (512) and about 60 high on the Y-axis.

When I draw the line it's not centered from where I touch and drag. It's off to the left a bit.

Any idea how to get it centered? Or, just right where I want it?

Comments

  • DrGlickertDrGlickert Member Posts: 1,135
    I've already done that.

    I put in an actor with 2 constrain attributes that have CameraX and CameraY constrained to scene.camera.origin.X and Y

    I'm still off by about 30 or 40 pixels in both the X and Y direction...
  • DrGlickertDrGlickert Member Posts: 1,135
    No, I got it. I didn't add in the +Camera.X and +Camera.Y to the giant line of code for the Spawn Actor's X and Y.

    Kept trying to put it on the actual line actor.

    Thanks TSB.
Sign In or Register to comment.