How do I Make touch control?

Get help using Construct 2

Post » Fri Jul 11, 2014 11:34 am

How to make the big circle circle and smaller circle, that when the small circle moves up, the player moves forward, moves left, player moves left. Just like games in GTA in phones & tablets??
(sorry for this bad description, because I don't know what they call it) :cry:
ImageImageImageImageImage
B
56
S
15
G
5
Posts: 852
Reputation: 11,446

Post » Fri Jul 11, 2014 11:47 am

I think you are thinking of a virtual joystick, to do this, you will need two sprites, and to get the distance and angle between the two (using the distance and angle expressions) so you can use that to control the player
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Fri Jul 11, 2014 11:51 am

it called controlled cursor maybe?
~Everyone can make GAMEs~
B
57
S
12
G
1
Posts: 414
Reputation: 5,936

Post » Fri Jul 11, 2014 12:08 pm

@Aphrodite yes!! it is used in Mobile games, and I dunno how to do it, do you know any good tutorial or something that would help??
ImageImageImageImageImage
B
56
S
15
G
5
Posts: 852
Reputation: 11,446

Post » Fri Jul 11, 2014 12:29 pm

Extract from the "How do I FAQ"

ThumbStick example (mouse and touch) - LINK
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
293
S
117
G
96
Posts: 7,310
Reputation: 71,069

Post » Sat Jul 19, 2014 9:49 pm

I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Jul 20, 2014 12:45 pm

@littleStain thanks for the help! but the capx didn't work since I didn't updated my construct 2 release for a long time
ImageImageImageImageImage
B
56
S
15
G
5
Posts: 852
Reputation: 11,446

Post » Sun Jul 20, 2014 12:59 pm

Naji wrote:@littleStain thanks for the help! but the capx didn't work since I didn't updated my construct 2 release for a long time

Capx examples are a tremendous help , why would you continue to use r146 of construct.
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499

Post » Mon Jul 21, 2014 1:58 am

You should use @jayderyu tutorial. It comes with a capx and is what I used to make my joystick :)
B
37
S
14
G
3
Posts: 263
Reputation: 4,280


Return to How do I....?

Who is online

Users browsing this forum: moebios and 4 guests