Follow the finger with big scene(resolved)
I'm stuck with this odd problem or I don't understand why doesn't work.
Actor follow my finger wherever I put until Screen y>1024 or Screen x>768 . An invisible wall blocking it.
I am writing important rules and behaviours.
Screen Size- 1536x2048 Camera Size- 768x1024 Tracking Area x 0 y 0
Actor has camera control behaviour
and
Constrain self target x To game mouse position x
Constrain self target y To game mouse position y
when mouse button down
move to target x and target y speed 400 relative to scene.
I spent 3 hours, I'm trying to catch up to the 2014 final jam, if I can't find the answer in 1-2 hours, I have to change all gameplay.
edit: by the way,I tried to change camera.origin.x and y but It didn't help me.
Check out my games on the App Store!
Comments
Constrain self target x To game mouse position x + camera.origin.x
Constrain self target y To game mouse position y + camera.origin.y
It works but I changed the gameplay:( I thought I couldn't find the answer.
Check out my games on the App Store!
Wordgraphy / Polycolor / 20 Seconds / Minimal Maze
Oh well !
@Socks nice one but let's add some Christmas spirit also..
@JSproject How about a background too
Fortuna Infortuna Forti Una
@Lovejoy nice, now who is gonna add a winter coat for that poor fellow? :P
@Socks lol
@unbeatenpixel @Socks @JSproject @Lovejoy
I just want you guys to know I have this thread bookmarked and come back every now and then because it makes me laugh so hard
Wow 2014
Check out my games on the App Store!
Wordgraphy / Polycolor / 20 Seconds / Minimal Maze