Virtual Joysticks and Comfortably Poor Solutions
Programming in the 21st Century - James Hague - January 23, 2012Considering that every video game system ever made shipped with a physical joystick or joypad, the smooth, featureless glass of mobile touchscreens was unnerving. How to design a control scheme when there is no controller?
One option was to completely dodge the issue, and that led to an interesting crop of games. Tip the entire device left and right and read the accelerometer. Base the design around single-finger touches or drawing lines or dragging objects. But the fallback solution for games that need more traditional four or eight way input is to display a faux controller for the player to manipulate.
The virtual joystick option is obvious and easy, but it needs pixels, filling the bottom of the screen with a bitmap representation of an input device. Sometimes it isn’t too obtrusive. Other times it’s impressively ugly. Aesthetics aside, there’s a fundamental flaw: you can’t feel the image. There’s no feedback indicating that your hand is in the right place or if it slides out of the control area.
There may have been earlier attempts, but Jeff Minter‘s Minotaur Rescue, released just over a year ago, was the first good alternative to a virtual joystick that I ran across. Minter’s insight was that directional movement anywhere on the screen contains useful information. Touch, then slide to the right: that’s the same as moving a virtual controller to the right. Without lifting your finger, slide up: that’s upward motion. There’s no need to restrict input to a particular part of the screen; anywhere is fine.
He even extended this to work for twin-stick shooter controls. The first touch is for movement, the second for shooting, then track each independently. Again, it’s not where you touch the screen, it’s when and how.
It’s all clean and obvious in retrospect, but it took getting past the insistence that putting pictures of joysticks and buttons on the screen was the only approach.
Categories: Blogs Programming in the 21st Century
Comments
It’s all clean and obvious in retrospect,autism acetaminophen but it took getting past the insistence that putting pictures of joysticks and buttons on the screen was the only approach.
Posted by autism acetaminophen on 08 Feb 2012 at 09:40One option was to completely dodge the issue, Budd Chiari and that led to an interesting crop of games
Posted by Budd Chiari on 20 Feb 2012 at 11:17it took getting past the insistence that putting pictures free grants for single mothers of joysticks and buttons on the screen was the only approach.
Posted by free grants for single mothers on 21 Feb 2012 at 10:45
Add comment
Erlang on Twitter
» diogobaeder (diogobaeder): @fmorgenstern Sugestões de experimentos: Go (language), Python, Erlang, Lisp, JavaScript+NodeJS
» rerongs (laehyoung, kim): RT @iamkimtree: 트위터가 제공하는 라이브러리들: ActionScript/Flash, C++, Clojure, ColdFusion, Erlang, Java, JavaScript, .Net, Obj-c/Cocoa, Perl, PHP, Python, Ruby, Scala
» voluntas (V): 自分の知る限り XMPP 関連やってる会社はほぼ ejabberd で、確実に求人に ejabberd ガチで使える Erlang 使いを募集している。ということは ...
» petrohi (Peter Hizalev): RT @jedisct1: #erlang in production: “I wish I’d known that when I started” http://t.co/WwC8GAoW
» Ghezhaa (Reigheza_Tappei_48): Nih ajak @BennyMahayana ama @HaqGhif ..lagi krumah erlang tuh RT @veemaw13: @Ghezhaa @wisnuwardana__ bwakakakakakakak,, mau ya zaa??
» iamkimtree (Namwoo Kim): 트위터가 제공하는 라이브러리들: ActionScript/Flash, C++, Clojure, ColdFusion, Erlang, Java, JavaScript, .Net, Obj-c/Cocoa, Perl, PHP, Python, Ruby, Scala
» jedisct1 (Frank Denis): #erlang in production: “I wish I’d known that when I started” http://t.co/WwC8GAoW
» juanjhs (Juan Herrera): ¿Cómo puedo imprimir un número en erlang? Osea, el caracter de escape en io:fwrite(”“, Num),
» xnotn (メメント・ぞんもリ): xnotnにおすすめの関数型プログラミング言語は『Erlang』です。ゆっくりコーディングしていってね! #functionallang http://t.co/tzoQXben
» hama_du (hama_du): hama_duにおすすめの関数型プログラミング言語は『Erlang』です。ゆっくりコーディングしていってね! #functionallang http://t.co/CcwLQlcd
Statistics
Number of aggregated posts: 10462
Number of comments: 1502
Most recent article: February 20, 2012
Latest comments
» Jisan on OpaDo: Personal ToDo Lists: I actually don’t like to use to do list. I am not as much busy to forget my regular schedule.…
» Torres on OpaDo: Personal ToDo Lists: I use Opa Do to keep my to do list updated. Very helpful. I even write about What To Do When You’re Bored in it.
» Mike on Erlang Queue and Merle.: Still couldn’t figure out how this is functioning and had to read the whole manual to get at least some idea vocabulary answers