x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to change default touch controls

Hey, I'm very new, but I'm learning a lot. I've been working on a "stack" game clone. There have been a few bumps along the way, but I'm approaching a stable product. Now the question comes to me, what do I do about the two joysticks for touchscreen controls (I picked mobile when I started the project)? I want to get rid of them, but I can't seem to find documentation on it. Also, I want to modify the touch control because it acts like two clicks when I touch and release. It's like there's action on release that I'd like to disable.

Anyone that could point me in the right direction, thanks so much :)

Product Version: UE 4.19
Tags:
more ▼

asked Mar 26 '18 at 01:31 AM in Blueprint Scripting

avatar image

geekTechnique
83 2 7 12

(comments are locked)
10|2000 characters needed characters left

3 answers: sort voted first

alt text

Here's my BP. That's the only thing for which I wrote any "on touch" event. I also attached an image of the game after it's been played a little bit to give you an example. Also, I know there are other widgets in that screenshot, but I haven't done anything with them yet.

more ▼

answered Mar 26 '18 at 06:30 AM

avatar image

geekTechnique
83 2 7 12

(comments are locked)
10|2000 characters needed characters left

Project settings > Input, scroll to bottom, you will see default joy sticks, clear that tab. As for the other issue, do you have something hooked up to the "on released" event?

more ▼

answered Mar 26 '18 at 01:49 AM

avatar image

Nebula Games Inc
4.5k 26 9 14

avatar image geekTechnique Mar 26 '18 at 02:41 AM

Thanks so much. I really appreciate your help. It worked.

The way I set up my interaction was using a widget button. I made it take up the entire screen and made the button transparent. I then made a custom event in reference to the button I made "on pressed". I can't find anything "on released".

avatar image Nebula Games Inc Mar 26 '18 at 03:01 AM

Your button is transparent and takes up the whole screen? What kind of action are you getting? Is it the same action as the initial click event?

avatar image geekTechnique Mar 26 '18 at 03:53 AM

alt text The action is used to place the tile and spawn the next one. Here's a picture of gameplay. Is there a better way to take input from the entire screen? You've perhaps seen the game I'm attempting to remake; it's very popular. When I click with a mouse, it works great. It doesn't do an action on release like the touchscreen does.

Thanks again for taking the time to assist me.

avatar image Nebula Games Inc Mar 26 '18 at 04:11 AM

I would need to see screen shots of the "on touch" events. Post pics of how you are spawning tiles.

(comments are locked)
10|2000 characters needed characters left

My issue was related to my laptop touchscreen.

more ▼

answered Apr 13 '18 at 03:29 PM

avatar image

geekTechnique
83 2 7 12

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question