PlayMaker Help & Tips > Android Help

How can i make camera like Calsh of Clans?[SOLVED]

(1/1)

ho young ryoo:
Hello. I'm preparing a new project.
And I have new issue.
I tried to make a camera that moves by touch.
I tried it for a week to create a camera with the ability to move to the drag, zoom in, and move only in the area using a touch of the screen like a Clash of Clans. //www.youtube.com/watch?v=PcUZyZU2PvM
//www.youtube.com/watch?v=rzmJf3rD0_II studied "touch event" but I still can not find a way.

And I tried, "Drag Camera" but it's not work what I want.
http://hutonggames.com/playmakerforum/index.php?topic=10163.msg48027#msg48027
It was very hard to move camera.

And I found something in Unity Asset but it does not work.(something error)
https://www.assetstore.unity3d.com/kr/#!/content/14489

If you have any good idea, please share it.

ho young ryoo:
Hi,

I decided to use something in the store without solving it inside the playmaker.

https://www.assetstore.unity3d.com/kr/#!/content/30111

Please let me know if there's a better way.

Broken Stylus:
It's a camera that requires both a pinch-zoom function and a scroll-drag one.
You certainly need to properly set up your touch systems. This can be "hard coded" into Playmaker by looking at direction and speed of a touch's movement, and you could then compare the distance in real time between two touches.
There are assets that do this though and they come with Playmaker support.

Navigation

[0] Message Index

Go to full version