Hello (assuming there is still anybody on here).
Looks pretty barren.
Crickets chirp.
...
...
!!!
Anyway this may be my last post considering how things are going with Construct or maybe I'll still use it for prototyping as things go by who knows.
As some of you know I'm far from new.
I pretty much finished a 2D game from scratch, but I have no money for advertising or spiking, so I'm pretty much dead in the water.
Anyway, as part of finishing a new version of Dark Sun, I was redoing the touch controls and as usual I'm having a devil of a time with something that's supposed to be simple.
Basically, I need some multi-touch (for the aimer/the red square to work at a minimum as a second touch and not show up on the touch controls).
Problem is all the touch coding objects and lack of coding examples. You have no idea what overlaps or what is actually needed in what coding schema, so you end up wasting days with "exploratory programming" with someone else's software that was touted as "no programming experience required" in the first place.
Anyway, I'm enclosing a capx.
It's pretty messy given all the things I tried, but all the elements should be in there for a fix, if you've figured it out, assuming you're on here o rare Construct 3 user (this is a Construct 2 file btw). I'm not paying for Construct 3 as I still haven't made back the money from the Construct 2 license and I got no help in marketing from the founder other than flames.
Anyway, at one point, the multi-touch tracking code for the aimer worked, if touched your fingers nicely in sequence, and then took them off in sequence. The TouchID tracking would glitch though if you took away all fingers too fast and suddenly the cursor would wind up in the upper left corner for no apparent reason. That was a fancy version I was trying. I made jury rigged fix which worked for the most part with all fingers released, but it would still glitch occasionally if they were released too fast. How is that for a testimonial.
Anyway, I realized I did not need all that for the game, so I was trying to switch to a simpler, 2 touch tracking version, to make sure ****the touch controls worked, and the aimer/red cross sprite would not appear on them as 1st or 2nd touch, if another touch was already in place,**** but after wasting 2 days on this algorithm torture, I'm throwing up my hands.
I did read the only multi-touch tutorial out there by some panda (not the founder), but it's not helpful here as I'm using more controls.
Anyway, if anybody has trouble following, I'll clean up the capx tomorrow.
Basically, I had to add a whole bunch of sprites outside the 2 small touch controls (green and blue squares) as the idea was to be able to turn the ship by aiming with one finger on them, WHILE using touch control to move it with another, as opposed to some jerky movement where you have to stop one control to engage another.
Anyway here's the capx:
darksunpictures.com/public/touch_tests.zip
The problem is all the different touch objects, touch start, touch end, in touch, has touch and no clear methodology on how to use them and where there is overlap, too much coding or glitches. It's basically just thrown out there. "Here! You do something with it."
That's great. That's where I lose my hair with hours of needless "exploratory programming".
Anyway, there's some crazy unsafe warning here, but believe me the file is completely safe, so you have to save that address and paste separately in a new window.