How do I create a thumbstick control?

Get help using Construct 2

Post » Sun Jun 21, 2015 1:13 pm

My first reaction is that why isn't a thumbstick object included in a game creation application from the beginning by Scirra, together with the other form controls? Since controlling a player character is absolutely vital to games. On the other hand, maybe there's a good reason why it doesn't exist, although I can't think of any...

Anyway, I've looked at a project that I found somewhere but it seems too complex and overwhelming to understand without explanation. I'm curious if there's other, maybe simpler solutions out there.

How do I create this myself in an easy and understandable way for a newbie? Is there a tutorial or a simple project showing how it's done?

Thanks.
Last edited by Mr X on Sun Jun 21, 2015 1:48 pm, edited 2 times in total.
B
7
S
1
Posts: 37
Reputation: 509

Post » Sun Jun 21, 2015 1:22 pm

Was this the one you saw?

thumbstick-template-with-capx_t93310?&hilit=thumbstick+littlestain

I believe there are examples in the FAQ-thread and tutorials in the tutorial section, also..
It's been asked many times and answered, so finding the solution that suits you should be your biggest problem..
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 Jun 21, 2015 1:33 pm

Yep, that's the one i saw. Your solution is great, but I don't understand it to be able to adapt and integrate it into my project.
B
7
S
1
Posts: 37
Reputation: 509

Post » Sun Jun 21, 2015 1:50 pm

It looks harder than it actually is..

Which part don't you understand?
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 Jun 21, 2015 1:52 pm

Right now I'm checking these out.

tutorials/1075/making-an-easy-touchpad
tutorials/398/touch-stick-controllers

Can I get back to you and answer your question later, if I need to fall back to your solution?
B
7
S
1
Posts: 37
Reputation: 509

Post » Sun Jun 21, 2015 2:38 pm

Bah, giving up. I solved it my way instead.

My solution is that it doesn't matter where on the screen the user touches. The player character moves to that destination. Not optimal and not what I initially wanted. But it's working, it's effective, with a very very small amount of code needed.

Thanks anyway.
B
7
S
1
Posts: 37
Reputation: 509


Return to How do I....?

Who is online

Users browsing this forum: Iquerno and 34 guests