How to make a thumbstick(Mobile)

Get help using Construct 2

Post » Sat Dec 10, 2011 7:09 pm

I have been trying to make a thumbstick for a mobile game, But the attemps i have have failed unfortunately sad face! :(

Here is what i have so far -- Fiel
B
7
S
1
G
1
Posts: 32
Reputation: 881

Post » Sat Dec 10, 2011 10:06 pm

Commented capx

Not tested with touch object, but it works with mouse, and touch is about the same logic.Kyatric2011-12-10 22:07:58

[edit 03-05-2017]
Commented Capx
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,332
Reputation: 71,306

Post » Thu Dec 15, 2011 9:27 pm

I made my version of the thumbstick.
I really rushed through this, so I didn't put any comments or even rename some of the sprites, sorry.
Hope it easy enough for you to understand. (Start with setting the "MovementTest" layer and the white "Sprite" sprite to 100 opacity)

I only put mouse controls, but you can easily add touch controls.
Hopefully I'll have touch added and tested by the end of the week.

TouchNub.capx


EDIT: I am aware that I could have used only one sprite instead of the 9 used on the MovementTest layer, but I guess this makes it easier to understand.... or something.KFC2011-12-15 22:52:14
B
33
S
12
G
7
Posts: 227
Reputation: 7,582

Post » Thu Apr 26, 2012 9:22 am

Revision with 8dir and using only the touch object with "Use mouse input" set to yes.

Still does the job

[edit 03-05-2017]
Commented Capx
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,332
Reputation: 71,306

Post » Sun May 19, 2013 8:39 pm

https://sites.google.com/site/tekkitystuffy/ThumbStick_Example.capx?attredirects=0&d=1

Here's the link to a little Joystick demo I made, WITH NACHOS!!! .
Sorry about the username, old account XD
B
14
S
4
Posts: 69
Reputation: 1,404

Post » Sun May 19, 2013 9:33 pm

@Digiloque Games

Please don't bump old threads ...
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,481

Post » Sun Oct 20, 2013 5:24 am

@Whiteclaws or anyone,

Why is it wrong to bump old threads by asking questions or sharing examples? I see people complaining about asking questions that have already been asked in old threads, but then there are people who complain if you comment on those old threads. What am I missing, because it seem like a catch 22.
B
14
S
7
G
3
Posts: 145
Reputation: 3,035

Post » Sun Oct 20, 2013 7:11 pm

@Sebastian

Because it doesn't reflect the current state of things , as of now , if posts are revived , they can contain old depreciated stuff or problems that have been already solved , and that can create wrong thinking ...

It's better to just create a new topic
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,481

Post » Mon Oct 21, 2013 4:06 am

That makes sense. It was a bit confusing because so many threads point to this one, but it's discouraged to comment on it.
B
14
S
7
G
3
Posts: 145
Reputation: 3,035

Post » Mon Oct 21, 2013 7:20 pm

@KFC
pleez can u add touch controlls on ur project
TouchNub.capx
B
6
S
1
Posts: 49
Reputation: 573

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 27 guests