Comments (3)
Hi,
Yes, my XPS 13 has a touch screen. The link with dev=1 works as expected, mouse controls! And the regular play. link allows touch controls.
Thanks, Jay
from armoralley.
Whoops! π Thanks for the report - I think I know what's going on, here.
AA V2.0 is a huge upgrade from V1.x under the hood, including revamped mouse and touch input handling. The game was previously not very playable on mobile or tablets; it's much better these days, but I had to refactor a lot of input handlers between mouse and touch events.
I'm going to guess there are no JS errors in your console, and this is about the fact your Dell XPS 13 has a touch-capable screen as well as a regular keyboard and mouse input.
I used a rather naΓ―ve approach to "detect" touch support, which I suspect is the root cause. Someone pointed this out a while back, who may have also had a laptop with a touch-capable screen. I made a note, and then I forgot about it. Whoops. π
When you have a few, can you try loading up https://play.armor-alley.net/?dev=1 on that Dell XPS 13 and let me know if things work as expected? You should get the desktop UI version of the game (no visible touch controls like on mobile,) and keyboard and mouse input should work as expected.
Next test: if your touchscreen is enabled, ideally you should be able to touch and move the helicopter around the screen as well.
On mobile devices which I presume (currently) are "touch-first", the game shows touch controls on either side of the screen.
from armoralley.
Excellent, thank you for confirming - and, thank you for playing my AA remake! I'll push a set of changes for this shortly.
from armoralley.
Related Issues (16)
- Unit don't build after a certain point HOT 6
- Clicking does not change the direction of the helicopter HOT 8
- Launch missiles requires pressing keys several times HOT 6
- Shooting goes through parachute HOT 2
- Notes on Network play HOT 4
- game is slow on Win10 and game not working on Win11 HOT 10
- Request for two command options for mobile HOT 7
- Next battle buttons don't work on mobile HOT 1
- Typos in Options panel HOT 7
- Saving campaign state HOT 2
- Suggestion for radar icons HOT 25
- Controls not working on ipad HOT 2
- Game isn't starting on Chrome HOT 6
- Opening and closing Options dialog sometimes causes page reload HOT 4
- Z key in Firefox opens Quickfind bar HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from armoralley.