Problem Description
Designed a touch control system for the ship, but it glitches always at boundaries (top and bottom).
Ship has invisible drag controls (L R in pylon area, and F [forward] B [back] located a bit behind the ship.
To see bug, drag ship down with finger (grabbing invisible area behind the ship) all the way past taskbar to hit bottom boundary. Ship will still be at original 270 degree angle (can test this w/ textbox). R control (dragging right pylon w/ touch or mouse click) won't work at this position (the mas lower boundary), even though it should, as the condition includes the 270 degree angle for R (right) control to work and between angles includes the indicated angles per manual.
A similar thing happens when ship hits upper screen boundary. (I have custom boundaries).
In this slimmed down (no sprites, mostly no unnecessary variables) version, ship will also glitch and go past upper boundary, which does not happen in the full version. Not sure what happened.
Attach a Capx
http://www.darksunpictures.com/public/V ... EANING.zip
Description of Capx
touch/mouse click control system for ship object from Dark Sun game
Steps to Reproduce Bug
- Step 1 - drag ship down w invisible control behind ship past task bar to hit lower max boundary
- Step 2 - drag right pylon to right - WON'T let you even though ship is at 270 degrees; thats the bug
- Step 3 etc. - similar thing happens at upper right boundary
Observed Result
____ What happens? ____ its above
Expected Result
____ What do you expect to happen? ____ its above
Affected Browsers
- Chrome: (YES)
- Edge: Yes
don't think anybody uses anything else
Operating System and Service Pack
____ Your operating system and service pack ____
Windows 10 all packs uptodate, but Windows 7 and others should have the same bug
Construct 2 Version ID
____ Exact version ID of Construct 2 you're using ____
Construct 2 R 245