Space Shooter Touch Problem

Get help using Construct 2

Post » Mon Dec 02, 2013 7:35 pm

Hello Everyone,

I am having touch control problem, mean to say I cannot make the touch control to work how I want it to be.

Please check my file so that you can get the idea what I am doing and what I want to do.

I have 2 touch sticks in my game , Left to move the ship and Right to shoot. But when I move the ship my shoot stick don't work and same with the other one.
I want to move the Cross-hair with the Right stick so that we can shoot where the cross-hair is going. something like we can do with mouse on Computer.

I want to know one more thing, that I want to make my Aiming system more nice and good, like for now the pointer is going outside the area and it is hard to Aim now. I want it that I can move it quick and nice.

My Capx File

Please let me know if you need any other information.

Thanks Everyone.
Have a nice day.thehorseman0072013-12-02 19:41:39
B
94
S
19
G
15
Posts: 198
Reputation: 14,421

Post » Mon Dec 02, 2013 9:59 pm

You should check the tutorials. There are a plethora of helpful docs.

https://www.scirra.com/tutorials/398/touch-stick-controllers/page-1

B
90
S
18
G
9
Posts: 2,455
Reputation: 15,018

Post » Tue Dec 03, 2013 7:43 am

@jayderyu

Thanks for the help , I have checked your tutorial before, But there is one more problem I cannot solve if you see my Capx file, like I want to move the Cross-hair with left stick and it is not going how it should to be.

Say I can solve the stick problem with your tutorial , but what about the Cross-hair problem. .

Thanks for the help.
Have a nice day.
B
94
S
19
G
15
Posts: 198
Reputation: 14,421

Post » Tue Dec 03, 2013 8:38 am

sorry spoke too soon..

LittleStain2013-12-03 08:39:09
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 » Tue Dec 03, 2013 4:08 pm

The tutorial capx is built for active multi touch interface(it in fact runs 4 multi touch analogs in the sample capx with no conflict). Maybe your thinking of a different tutorial as the one I linked uses the required ForId parts of Touch. Since not using ForId will make multi touch brain bashing harder for dual analog on the various devices.

If you want nicer aiming your going to have to take the extra step and use effective use of angle(thumpsitckshoot.xy, thumbareamove.xy)

Your touch only starts when the touch is ON the stick which means fingers have to be precisise. This makes dual analog harder. Most Dual analog usually let's the player touch the area to start then the stick moves to the touch.

Another thing to know is that your system only works while the sticks are InTouch. However the problem with that is that there is always some delay and fingers will always leave the "Is In Touch" state. Making that method unreliable.jayderyu2013-12-03 16:37:58
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,018

Post » Tue Dec 03, 2013 5:45 pm

@jayderyu

Thanks for the help , it's a nice and very good information about touch controls.

One more thing I want to know , is there any tutorial you know for aiming system that I can see for some idea, because for me it is quite hard to work from starting as I am a noob and don't know much.

Thanks for the help. I really Love it.
B
94
S
19
G
15
Posts: 198
Reputation: 14,421

Post » Thu Dec 05, 2013 12:28 pm

@jayderyu

Sorry for once again, I want to know how to connect the player with the Touch Stick, the same way I have done in my file , or there is more nice and good way to do this.

Help me please @jayderyu and everyone who is reading and can help me.

Thanks for the help Guys.

B
94
S
19
G
15
Posts: 198
Reputation: 14,421

Post » Tue Dec 10, 2013 11:44 am

[QUOTE=jayderyu]

If you want nicer aiming your going to have to take the extra step and use effective use of angle(thumpsitckshoot.xy, thumbareamove.xy)

[/QUOTE]

@jayderyu , Sorry to ask this again, but you have told me in very short, I am still a noob and I cannot figure it out what to do with those two lines you have told me. How to make them and implement them in the file

@LittleStain , what about you mate, don't you have to help me, don't you have to say anything, please if you can help me, I will be really very much happy.

Please can you be more clear.

Thanks everyone,
Bye bye take care.
have a nice day.
B
94
S
19
G
15
Posts: 198
Reputation: 14,421

Post » Tue Dec 10, 2013 1:35 pm

[QUOTE]
@LittleStain , what about you mate, don't you have to help me, don't you have to say anything, please if you can help me, I will be really very much happy.
[/QUOTE]

I don't have to help you..

Like I said, I spoke too soon. While looking at your capx I thought I found an issue, but it seems I overlooked something so my answer was wrong.

I didn't (and don't) have the time to take a closer look, so I removed my answer.

I hope you do find someone with the time and knowhow to help you.
Wish you all the best,

Little Stain.
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


Return to How do I....?

Who is online

Users browsing this forum: nahima and 7 guests