Problem with Jump & Run & Draw Game
DGApp
Member Posts: 25
I'm currently working on a Jump & Run & Draw Game. The Problem is I use mouse position x/y to draw lines, but when the camera is moved (scene: 320 height 1920 weight) the lines were still drawn in the 320x480 area, because mouse position gives the position on the screen not on the scene.
hope you understand my problem.
hope you understand my problem.
Comments
Like Constrain Attribute game.offset.x to game.camera.origin.x
Then in all of your rules for drawing your lines add the offset to the mouseposition
___________________________________________________________________________________
Project Help from Tenrdrmer Click Here
GS BubbleBall Template HERE!!
Stacks Level Selection Template HERE!!
Expanding Option Menu Template HERE!!
Tenrdrmer's Menu # 3 HERE!!
AppSolute Entertainment on Facebook
AppSolute Entertainment on iTunes
___________________________________________________________________________________
Project Help from Tenrdrmer Click Here
GS BubbleBall Template HERE!!
Stacks Level Selection Template HERE!!
Expanding Option Menu Template HERE!!
Tenrdrmer's Menu # 3 HERE!!
AppSolute Entertainment on Facebook
AppSolute Entertainment on iTunes
Sorry for that.