How do I have 2 touch controls?

Get help using Construct 2

Post » Fri May 16, 2014 4:02 am

Hi all,

I am trying to make game with controls for desktops and touch screens. I have desktop controls for what I have in place, but touch is giving me trouble. I want to have controls for thumbs in the bottom corners of the game. The right one is for aiming and firing, and the left is for movement. So far the movement controls work as expected. However, the aiming/firing controls seem to move when the player moves. I tried to anchor the controls but it didn't seem to help. I will attach the game file and hopefully you can see what I mean.
game-002.capx
You do not have the required permissions to view the files attached to this post.
B
6
Posts: 11
Reputation: 272

Post » Fri May 16, 2014 9:44 am

Your .capx seems to use rather complex events for doing rather simple things.
I suggest you open examples you can find in Construct 2 templates and give a look at how the virtual controls work.
B
17
S
3
G
3
Posts: 89
Reputation: 2,825

Post » Fri May 16, 2014 6:06 pm

I found a good tutorial before and decided to take a look again. I was able to get what I was looking for by changing the .capx I found by @jayderyu in their tutorial Touch Stick Controllers (sorry can't post links yet :lol: ). Here is a .capx of my desired controls and the original .capx with 4 different controls that are similar. The main difference I was trying to get was movement with one control and aiming with another.

My butchering of the original by @jayderyu:
2 thumb control.capx


And the original by @jayderyu:
touchsticktut.capx



Hope this helps others that might want similar controls :D
You do not have the required permissions to view the files attached to this post.
B
6
Posts: 11
Reputation: 272


Return to How do I....?

Who is online

Users browsing this forum: banquetburger, kainrazial and 18 guests