0 Favourites

Space Shooter Touch Problem

  • Hello Everyone, <img src="smileys/smiley1.gif" border="0" align="middle">

    I am having touch control problem, mean to say I cannot make the touch control to work how I want it to be. <img src="smileys/smiley6.gif" border="0" align="middle">

    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.

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

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

  • 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. <img src="smileys/smiley6.gif" border="0" align="middle" />.

    Thanks for the help.

    Have a nice day.

  • sorry spoke too soon..

  • 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.

  • 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.<img src="smileys/smiley6.gif" border="0" align="middle" />

    Thanks for the help. I really Love it. <img src="smileys/smiley4.gif" border="0" align="middle" />

  • 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.<img src="smileys/smiley1.gif" border="0" align="middle" />

    Thanks for the help Guys. <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • If you want nicer aiming your going to have to take the extra step and use effective use of angle(thumpsitckshoot.xy, thumbareamove.xy)

    @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 <img src="smileys/smiley6.gif" border="0" align="middle" />

    @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. <img src="smileys/smiley1.gif" border="0" align="middle" />

    Thanks everyone,

    Bye bye take care.

    have a nice day.

  • 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.

    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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
95 14,384
LaurenceBedford's avatar
LaurenceBedford
Unread hot topic
0 Favourites
Space Zombies by RED BABOON
77 9,768
imothep85's avatar
imothep85
Unread hot topic
98 7,593
norum82's avatar
norum82